28-3
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 28 Configuring Link Layer Discovery Protocol
How to Configure LLDP
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
lldp run
Example:
Router(config)# lldp run
or
lldp holdtime seconds
Example:
Router(config)# lldp holdtime 100
or
lldp reinit
Example:
Router(config)# lldp reinit 2
or
lldp timer
rate
Example:
Router(config)# lldp timer 75
or
lldp tlv-select
Example:
Router(config-if)# lldp tlv-select
system-description
Enables LLDP globally on all the interfaces on the router.
Specifies the hold time. The value ranges from 0 to 65535
seconds. The default value is 120 seconds.
Specifies the delay time in seconds for LLDP to initialize on
any interface.
The value ranges from 2 to 5 seconds. The default value is
2 seconds.
Specifies the rate at which LLDP packets are sent. The
value ranges from 5 to 65534 seconds. The default value is
30 seconds.
Enables a specific LLDP TLV on a supported interface.
Cisco ASR 901 LLDP supports the following TLVs:
• Port Description—Information about the interface that
includes the name of the manufacturer, product name,
and the version of the interface.
• System Description—Textual description of the device.
• System Name—Assigned name of the device.
• System Capabilities—Capability of the device and its
primary function.
• Management Address—IP or MAC address of the
device.
Step 4
end
Example:
Router(config-if)# end
Returns the CLI to privileged EXEC mode.