Reference Guide

Link Layer Discovery Protocol (LLDP) | 963
protocol lldp (Interface)
c e s
Enter the LLDP protocol in the INTERFACE mode.
Syntax
[no] protocol lldp
To return to the global LLDP configuration mode, use the no protocol lldp command from the
Interface mode.
Defaults
LLDP is not enabled on the interface.
Command Modes
INTERFACE (conf-if-interface-lldp)
Command
History
Usage
Information
LLDP must be enabled globally from CONFIGURATION mode, before it can be configured
on an interface. 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 the INTERFACE mode, interfaces
will begin to inherit the configuration from the global LLDP CONFIGURATION mode.
show lldp neighbors
c e s
Display LLDP neighbor information for all interfaces or a specified interface.
Syntax
show lldp neighbors
[interface] [detail]
Parameters
Defaults
No default values or behavior
Command Modes
EXEC Privilege
Version 7.7.1.0 Introduced on S-Series
Version 7.6.1.0 Introduced on C-Series
Version 7.4.1.0 Introduced on E-Series
interface
(OPTIONAL) Enter the following keywords and slot/port or number
information:
For a Fast Ethernet interface, enter the keyword FastEthernet followed by
the slot/port information.
For a 1-Gigabit Ethernet interface, enter the keyword gigabitEthernet
followed by the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword tenGigabitEthernet
followed by the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE followed
by the slot/port information.
detail
(OPTIONAL) Enter the keyword detail to display all the TLV information,
timers, and LLDP tx and rx counters.