27-8
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 27 Configuring LLDP, LLDP-MED, and Location Service
Configuring LLDP and LLDP-MED, and Location Service
Configuring LLDP-MED TLVs
By default, the switch only sends LLDP packets until it receives LLDP-MED packets from the end
device. The switch continues to send LLDP-MED packets until it only receives LLDP packets.
By using the lldp interface configuration command, you can configure the interface not to send the TLVs
listed in Table 27-2 .
To disable a TLV on an interface, perform this task:
To enable a TLV on an interface, perform this task:
This example shows how to enable a TLV on an interface when it has been disabled:
Switch# configure terminal
Switch(config)# interface GigabitEthernet0/1
Switch(config-if)# lldp med-tlv-select inventory management
Switch(config-if)# end
Table 27-2 LLDP-MED TLVs
LLDP-MED TLV Description
inventory-management LLDP-MED inventory management TLV
location LLDP-MED location TLV
network-policy LLDP-MED network policy TLV
power-management LLDP-MED power management TLV
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# interface interface-id Specifies the interface on which you are configuring a LLDP-MED
TLV, and enter interface configuration mode.
Step 3 Switch(config-if)# no lldp
med-tlv-select tlv
Specifies the TLV to disable.
Step 4 Switch(config-if)# end Returns to privileged EXEC mode.
Step 5 Switch# copy running-config
startup-config (Optional) Saves your entries in the configuration file.
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# interface interface-id Specifies the interface on which you are configuring an LLDP-MED
TLV, and enter interface configuration mode.
Step 3 Switch(config-if)# lldp med-tlv-select
tlv
Specifies the TLV to enable.
Step 4 Switch(config-if)# end Returns to privileged EXEC mode.
Step 5 Switch# copy running-config
startup-config (Optional) Saves your entries in the configuration file.