protocol lldp (Interface)
Enter the LLDP protocol in INTERFACE mode.
Syntax
[no] protocol lldp
To return to the global LLDP configuration mode, use the
no protocol lldp
command from Interface mode.
Defaults
LLDP is not enabled on the interface.
Command
Modes
INTERFACE (conf-if-
interface
-lldp)
Command
History
Version 8.3.16.1
Usage
Information
Before LLDP can be configured on an interface, it must be enabled globally from
CONFIGURATION mode. This command places you in LLDP mode on the
interface; it does not enable the protocol.
When you enter the
LLDP
protocol in the Interface context, it overrides global
configurations. When you execute the
no protocol lldp
from INTERFACE
mode, interfaces begin to inherit the configuration from global LLDP
CONFIGURATION mode.
show lldp neighbors
Display LLDP neighbor information for all interfaces or a specified interface.
Syntax
show lldp neighbors [
interface
] [detail]
Parameters
interface
(OPTIONAL) Enter the following keywords and slot/port or
number information:
• For a 10-Gigabit Ethernet interface, enter the keyword
tenGigabitEthernet
then the slot/port information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
then the slot/port information.
detail
(OPTIONAL) Enter the keyword
detail
to display all the TLV
information, remote management IP addresses, timers, and
LLDP tx and rx counters.
Defaults
none
Command
Modes
EXEC Privilege
872
Link Layer Discovery Protocol (LLDP)