Reference Guide

Link Layer Discovery Protocol | 575
Advertising TLVs
You can configure the system to advertise TLVs out of all interfaces or out of specific interfaces.
If you configure the system globally, all interfaces will send LLDPDUs with the specified TLVs.
If you configure an interface, only the interface will send LLDPDUs with the specified TLVs.
If LLDP is configured both globally and at interface level, the interface level configuration overrides the
global configuration. To advertise TLVs:
In Figure 29-7, LLDP is enabled globally. R1 and R2 are transmitting periodic LLDPDUs that contain
management, 802.1, and 802.3 TLVs.
Figure 29-7. Configuring LLDP
Step Task Command Command Mode
1 Enter LLDP mode. protocol lldp CONFIGURATION or
INTERFACE
2 Advertise one or more TLVs. Include the
keyword for each TLV you want to advertise.
For management TLVs:
system-capabilities, system-description
For 802.1 TLVs: port-protocol-vlan-id,
port-vlan-id, vlan-name
For 802.3 TLVs: max-frame-size
For TIA-1057 TLVs:
•guest-voice
guest-voice-signaling
•location-identification
•power-via-mdi
•softphone-voice
•streaming-video
•video-conferencing
•video-signaling
•voice
•voice-signaling
advertise {management-tlv |
dot1-tlv | dot3-tlv | med}
PROTOCOL LLDP
*
*
Note: vlan-name is supported on C-Series and S-Series only.
2/11
1/21
fnC0074mp
LLDPDU
R1
R2
R2(conf)#protocol lldp
R2(conf-lldp)#no disable
R2(conf-lldp)#advertise management-tlv system-capabilities system-description
R2(conf-lldp)#ad dot1-tlv vlan-name
R2(conf-lldp)#max-frame-size
R1(conf)#protocol lldp
R1(conf-lldp)#no disable
R1(conf-lldp)#advertise management-tlv system-capabilities system-descripti
on
R1(conf-lldp)#ad dot1-tlv vlan-name
R1(conf-lldp)#max-frame-size
R2(conf)#int gig 2/11
R2(conf-if-gi-2/11)# switchport
R2(conf-if-gi-2/11)#no shut
R1(conf)#int gig 1/21
R1(conf-if-gi-1/21)# switchport
R1(conf-if-gi-1/21)#no shut