lldp
To enable the Link Layer Discovery Protocol (LLDP) globally for both transmit and receive operation on the
system, use the lldp command in global configuration mode. To disable LLDP, use the no form of this
command.
lldp
no lldp
Syntax Description
This command has no keywords or arguments.
Command Default
LLDP is disabled.
Command Modes
Global configuration (config)
Command History
ModificationRelease
This command was introduced.Release 4.1.0
The lldp subinterfaces enable was introduced.Release 5.3.1
Usage Guidelines
When you enable LLDP globally using the lldp command, LLDP is not enabled on subinterfaces or bundle
subinterfaces by default. This is to prevent the LLDP process from consuming high CPU cycles. In order to
enable LLDP on subinterfaces and bundle subinterfaces as well, the lldp subinterfaces enable command is
introduced.
When you use this command, you must remember that as the scale of interfaces(with subinterfaces and
bundle subinterfaces) becomes higher, it might cause the LLDP process to hog the CPU.
Note
Task ID
OperationTask ID
read, writeethernet-services
Examples
This example shows how to enable LLDP globally on the router:
RP/0/RSP0/CPU0:router(config)# lldp
This example shows how to enable LLDP on subinterfaces:
RP/0/RSP0/CPU0:router(config)# lldp subinterfaces enable
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
87
Ethernet Interface Commands on the Cisco ASR 9000 Series Router
lldp