PurposeCommand or Action
Specifies the interface on which you are enabling LLDP, and
enter interface configuration mode.
interface interface-id
Example:
Switch (config)# interface
Step 6
gigabitethernet2/0/1
(Optional) Specifies the LLDP-MED TLVs to send or receive.lldp med-tlv-select
Example:
Switch (config-if)# lldp
Step 7
med-tlv-select inventory management
Returns to privileged EXEC mode.end
Example:
Switch (config-if)# end
Step 8
Verifies the configuration.show lldp
Example:
Switch# show lldp
Step 9
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 10
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.
Table 9: LLDP-MED TLVs
DescriptionLLDP-MED TLV
LLDP-MED inventory management TLVinventory-management
Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29420-01 61
Configuring LLDP, LLDP-MED, and Wired Location Service
Configuring LLDP-MED TLVs