Chapter 32
Configuring LLDP, 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 32-2
LLDP-MED TLV
inventory-management
location
network-policy
power-management
To disable a TLV on an interface, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface interface-id
Step 3
Switch(config-if)# no lldp
med-tlv-select tlv
Step 4
Switch(config-if)# end
Step 5
Switch# copy running-config
startup-config
To enable a TLV on an interface, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface interface-id
Step 3
Switch(config-if)# lldp med-tlv-select
tlv
Step 4
Switch(config-if)# end
Step 5
Switch# copy running-config
startup-config
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
32-2.
LLDP-MED TLVs
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Configuring LLDP and LLDP-MED, and Location Service
Description
LLDP-MED inventory management TLV
LLDP-MED location TLV
LLDP-MED network policy TLV
LLDP-MED power management TLV
Purpose
Enters global configuration mode.
Specifies the interface on which you are configuring a LLDP-MED
TLV, and enter interface configuration mode.
Specifies the TLV to disable.
Returns to privileged EXEC mode.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Specifies the interface on which you are configuring an LLDP-MED
TLV, and enter interface configuration mode.
Specifies the TLV to enable.
Returns to privileged EXEC mode.
(Optional) Saves your entries in the configuration file.
32-9