Command or Action
Step 6
lldp tlv-select
Example:
Switch(config)# tlv-select
Step 7
interface interface-id
Example:
Switch (config)# interface
gigabitethernet2/0/1
Step 8
lldp med-tlv-select
Example:
Switch (config-if)# lldp
med-tlv-select inventory management
Step 9
end
Example:
Switch (config-if)# end
Step 10
show lldp
Example:
Switch# show lldp
Step 11
copy running-config startup-config
Example:
Switch# copy running-config startup-config
Configuring LLDP-MED TLVs
By default, the switch only sends LLDP packets until it receives LLDP-MED packets from the end device.
It then sends LLDP packets with MED TLVs, as well. When the LLDP-MED entry has been aged out, it again
only sends LLDP packets.
By using the lldp interface configuration command, you can configure the interface not to send the TLVs
listed in the following table.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
How to Configure LLDP, LLDP-MED, and Wired Location Service
Purpose
(Optional) Specifies the LLDP TLVs to send or receive.
Specifies the interface on which you are enabling LLDP, and
enter interface configuration mode.
(Optional) Specifies the LLDP-MED TLVs to send or receive.
Returns to privileged EXEC mode.
Verifies the configuration.
(Optional) Saves your entries in the configuration file.
65