LLDP Commands 179
LLDP Commandslldp enable (global)
To
enable Link Layer Discovery Protocol (LLDP)
, use the
lldp enable
command in global
configuration mode. To disable LLDP, use the
no
form of this command.
Syntax
lldp enable
no
lldp enable
Default Configuration
The command is enabled.
Command Mode
Global configuration
User Guidlines
• There are no guidelines for this command.
Example
The following example enables Link Layer Discovery Protocol (LLDP) .
lldp enable (interface)
To enable Link Layer Discovery Protocol (LLDP) on an interface, use the
lldp enable
command in
interface configuration mode. To disable LLDP on an interface, use the
no
form of this command.
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.
console (config)# lldp enable