advertise optional-tlv

Advertises the optional Type, Length, and Values (TLV) values, or for a specific LLDP profile.

Syntax

advertise optional-tlv { management-address | port-description | system-capabilities | system-description | system-name }
no advertise optional-tlv

Command Default

Advertisement is disabled.

Parameters

management-address
Advertises the management address of the system.
port-description
Advertises the user-configured port.
system-capabilities
Advertises the capabilities of the system.
system-description
Advertises the system firmware version and the current image running on the system.
system-name
Advertises the name of the system.

Modes

Protocol LLDP and profile configuration modes

Usage Guidelines

Enter no advertise optional-tlv to return to the default setting.

Examples

The following example advertises the management address of the system and the user-configured port.

device# configure terminal
device(config)# protocol lldp
device(conf-lldp)# advertise optional-tlv ?
Possible completions:
  management-address    Management Address TLV
  port-description      Port-Description TLV
  system-capabilities   System Capabilities TLV
  system-description    System Description
  system-name           System Name TLV
device(conf-lldp)# advertise optional-tlv management-address ?
Possible completions:
  port-description      Port-Description TLV
  system-capabilities   System Capabilities TLV
  system-description    System Description
  system-name           System Name TLV
device(conf-lldp)# advertise optional-tlv management-address port-description
device(conf-lldp)#

The following example advertises the management address of the system for a specific LLDP profile.

device(conf-lldp)# profile test1
device(config-profile-test1)# advertise optional-tlv ?
Possible completions:
  management-address    Management Address TLV
  port-description      Port-Description TLV
  system-capabilities   System Capabilities TLV
  system-description    System Description
  system-name           System Name TLV
device(conf-profile-test1)# advertise optional-tlv management-address
device(conf-profile-test1)#