Configuring LLDP and LLDP-MED
Configuring LLDP Characteristics
You can configure the frequency of LLDP updates, the amount of time to hold the information before
discarding it, and the initialization delay time. You can also select the LLDP and LLDP-MED TLVs to
be sent and received.
Beginning in privileged EXEC mode, follow these steps to configure these characteristics:
Note
Steps 2 through 5 are all optional and can be performed in any order.
Command
Step 1
configure terminal
Step 2
lldp holdtime seconds
Step 3
lldp reinit
Step 4
lldp timer seconds
Step 5ll
lldp tlv-select
Step 6
lldp med-tlv-select
Step 7
copy running-config startup-config
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
For additional LLDP show commands, see the
section on page
Disabling and Enabling LLDP Globally
LLDP is disabled by default.
Beginning in privileged EXEC mode, follow these steps to globally disable LLDP:
Command
Step 1
configure terminal
Cisco IE 3000 Switch Software Configuration Guide
23-4
Purpose
Enter global configuration mode.
(Optional) Specify the amount of time a receiving device should hold the
information sent by your device before discarding it.
The range is 0 to 65535 seconds; the default is 120 seconds.
(Optional) Specify the delay time in seconds for LLDP to initialize on any
interface.
The range is 2 to 5 seconds; the default is 2 seconds.
(Optional) Set the transmission frequency of LLDP updates in seconds.
The range is 5 to 65534 seconds; the default is 30 seconds.
(Optional) Specify the LLDP TLVs to send or receive.
(Optional) Specify the LLDP-MED TLVs to send or receive.
(Optional) Save your entries in the configuration file.
23-7.
Purpose
Enter global configuration mode.
Chapter 23
"Monitoring and Maintaining LLDP and LLDP-MED"
Configuring LLDP and LLDP-MED
OL-13018-01