31-5
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
OL_28731-01
Chapter 31 Configuring LLDP, LLDP-MED, and Location Service
Configuring LLDP and LLDP-MED, and Location Service
Default LLDP Configuration
Table 31-1 shows the default LLDP configuration. To change the default settings, use the LLDP global
configuration and LLDP interface configuration commands.
Configuring LLDP Characteristics
You can configure the frequency of LLDP updates, the amount of time to hold the information before
discarding it, the initialization delay time. You can also select the LLDP and LLDP-MED TLVs for
sending and receiving. The location service feature is available only when the switch is running the
cryptographic (encrypted) software image.
To configure these characteristics, perform this task:
Note Steps 2 through 5 can be performed in any order.
Table 31-1 Default LLDP Configuration
Feature Default Setting
LLDP global state Disabled
LLDP holdtime (before discarding) 120 seconds
LLDP timer (packet update frequency) 30 seconds
LLDP reinitialization delay 2 seconds
LLDP tlv-select Enabled to send and receive all TLVs
LLDP interface state Enabled
LLDP receive Enabled
LLDP transmit Enabled
LLDP med-tlv-select Enabled to send all LLDP-MED TLVs
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# lldp holdtime
seconds
(Optional) Specifies 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.
Step 3
Switch(config)# lldp reinit
(Optional) Specifies the delay time in seconds for LLDP to initialize on
any interface.
The range is 2 to 5 seconds; the default is 2 seconds.
Step 4
Switch(config)# lldp timer seconds
(Optional) Sets the transmission frequency of LLDP updates in seconds.
The range is 5 to 65534 seconds; the default is 30 seconds.
Step 5
Switch(config)# lldp tlv-select
(Optional) Specifies the LLDP TLVs to send or receive.