Syntax
•
lldp enable [rx | tx | both]
•
no lldp enable
•
rx — Receive only LLDP packets.
•
tx — Transmit only LLDP packets.
•
both — Receive and transmit LLDP packets (default)
Default Configuration
Enabled in both modes.
Command Modes
Interface Configuration (Ethernet)mode.
User Guidelines
•
LLDP manages LAG ports individually. LLDP sends separate advertisements on each port in a LAG.
LLDP data received through LAG ports is stored individually per port.
•
LLDP operation on a port is not dependent on STP state of a port. I.e. LLDP frames are sent and
received on blocked ports. If a port is controlled by 802.1X, LLDP operates only if the port is
authorized.
Examples
The following example enables Link Layer Discovery Protocol (LLDP) on an interface.
Console(config)# interface ethernet 1/e5
Console(config-if)# lldp enable
dp timer
ll
The lldp timer command Global Configuration mode command specifies how often the software sends
Link Layer Discovery Protocol (LLDP) updates. Use the no form of this command to revert to the
default setting.
Syntax
•
lldp timer seconds
•
no lldp timer
•
seconds — Specifies in seconds how often the software sends LLDP update.
(Range: 5 - 32768 seconds) .
252
LLDP Commands