28-6
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-02
Chapter28 Configuring LLDP and LLDP-MED
Configuring LLDP and LLDP-MED
Configuring LLDP-MED TLVs
By default, the switch only sends LLDP packets until it receives LLDP-MED packets from the end
device. The device continues to send LLDP-MED packets until it receives LLDP pac kets only.
Using the lldp interface command, you can configure the interface not to send the fol lowing TLVs:
Beginning in privileged EXEC mode, follow these steps to disable a TLV on an interface:
Beginning in privileged EXEC mode, follow these steps to enable a TLV on an interface:
This example shows how to enable a TLV on an interface when it has been disabled.
Switch# configure terminal
Switch(config)# interface GigabitEthernet1/0/1
Switch(config-if)# lldp med-tlv-select inventory management
Switch(config-if)# end
Table28-2 LLDP-MED TLVs
LLDP-MED TLV Description
inventory-management LLDP-MED inventory management TLV
network-policy LLDP-MED network policy TLV
power-management LLDP-MED power management TLV
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Specify the interface on which you are configuring a LLDP-MED
TLV, and enter interface configuration mode.
Step3 no lldp med-tlv-select tlv Specify the TLV to disable.
Step4 end Return to privileged EXEC mode.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Specify the interface on which you are configuring an LLDP-MED
TLV, and enter interface configuration mode.
Step3 lldp med-tlv-select tlv Specify the TLV to enable.
Step4 end Return to privileged EXEC mode.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.