30-7
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 30 Configuring LLDP, LLDP-MED, and Wired Location Service Configuring LLDP, LLDP-MED, and Wired Location Service
Use the no form of each of the LLDP commands to return to the default setting.
This example shows how to configure LLDP characteristics.
Switch# configure terminal
Switch(config)# lldp holdtime 120
Switch(config)# lldp reinit 2
Switch(config)# lldp timer 30
Switch(config)# end
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 Table 30-2.
Beginning in privileged EXEC mode, follow these steps to enable a TLV on an interface:
Step 3 lldp reinit delay (Optional) Specify the delay time in seconds for LLDP to initialize on an
interface.
The range is 2 to 5 seconds; the default is 2 seconds.
Step 4 lldp timer rate (Optional) Set the sending frequency of LLDP updates in seconds.
The range is 5 to 65534 seconds; the default is 30 seconds.
Step 5 lldp tlv-select (Optional) Specify the LLDP TLVs to send or receive.
Step 6 lldp med-tlv-select (Optional) Specify the LLDP-MED TLVs to send or receive.
Step 7 end Return to privileged EXEC mode.
Step 8 show lldp Verify the configuration.
Step 9 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Tab le 30-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 configure terminal Enter global configuration mode.
Step 2 interface interface-id Specify the interface on which you are configuring an LLDP-MED
TLV, and enter interface configuration mode.