Link Layer Discovery Protocol (LLDP) is an IEEE 802.1AB-2009 that defines messages, encapsulated in Ethernet frames for the purpose of giving devices a means of announcing basic device information to other devices on the LAN (Local Area Network) through periodic retransmissions out each port every 30 seconds by default.
This implementation of LLDP is compatible with the IEEE 802.1AB-2005 standard. LLDP uses Layer 2 (the data link layer), and allows network management applications to extend their awareness of the network by discovering devices that are direct neighbors of already known devices.
With LLDP, the switch can advertise the presence of its ports, their major capabilities, and their current status to adjacent LLDP neighbours. LLDP transmissions occur on ports at regular intervals or whenever there is a relevant change to their status. The switch can also receive LLDP information advertised from adjacent LLDP-capable network devices.
The following topics provide more information on configuring LLDP:
You can enable or disable LLDP using the below command:
Command
lldp { disabled | rx-and-tx | rx-only | tx-only }
Description
Enable/Disable LLDP receive and transmit
Parameters
disabled Disable LLDP
rx-and-tx Enable Rx and Tx
rx-only Enable Rx-Only
tx-only Enable Tx-Only
Mode
INTERFACE
CLI Example
You can verify the configuration by using the command(s) below:
You can use the below commands to verify LLDP information:
Command
show lldp neighbors
Description
Display LLDP neighbors
Parameters
None
Mode
EXEC
To display the LLDP neighbor's information in detail, use the following command:
Command
show lldp neighbors detail
Description
Display LLDP neighbors in detail
Parameters
None
Mode
EXEC