26-6
Cisco IE 3010 Switch Software Configuration Guide
OL-23145-01
Chapter 26 Configuring LLDP, LLDP-MED, and Wired Location Service
Configuring LLDP, LLDP-MED, and Wired Location Service
This example shows how to globally enable LLDP.
Switch# configure terminal
Switch(config)# lldp run
Switch(config)# end
This example shows how to enable LLDP on an interface.
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# lldp transmit
Switch(config-if)# lldp receive
Switch(config-if)# end
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
send and receive.
Beginning in privileged EXEC mode, follow these steps to configure the LLDP characteristics.
Note Steps 2 through 5 are optional and can be performed in any order.
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
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 lldp holdtime seconds (Optional) Specify the amount of time a receiving device should hold the
information from your device before discarding it.
The range is 0 to 65535 seconds; the default is 120 seconds.
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.