Configuring LLDP, LLDP-MED, and Wired Location Service
Command or Action
Step 6
interface interface-id
Example:
Switch (config)# interface
gigabitethernet2/0/1
Step 7
lldp med-tlv-select
Example:
Switch (config-if)# lldp
med-tlv-select inventory management
Step 8
end
Example:
Switch (config-if)# end
Step 9
show lldp
Example:
Switch# show lldp
Step 10
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.
Table 9: LLDP-MED TLVs
LLDP-MED TLV
inventory-management
OL-29420-01
Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1
Purpose
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.
Description
LLDP-MED inventory management TLV
Configuring LLDP-MED TLVs
61