Configuration Guide Configuring LLDP
5 Configuring LLDP
5.1 Overview
The Link Layer Discovery Protocol (LLDP), defined in the IEEE 802.1AB standard, is used to discover the topology and
identify topological changes. LLDP encapsulates local information of a device into LLDP data units (LLDPDUs) in the
type/length/value (TLV) format and then sends the LLDPDUs to neighbors. It also stores LLDPDUs from neighbors in the
management information base (MIB) to be accessed by the network management system (NMS).
With LLDP, the NMS can learn about topology, for example, which ports of a device are connected to other devices and
whether the rates and duplex modes at both ends of a link are consistent. Administrators can quickly locate and rectify a fault
based on the information.
A Ruijie LLDP-compliant device is capable of discovering neighbors when the peer is either of the following:
Ruijie LLDP-compliant device
Endpoint device that complies with the Link Layer Discovery Protocol-Media Endpoint Discovery (LLDP-MED)
Protocols and Standards
IEEE 802.1AB 2005: Station and Media Access Control Connectivity Discovery
ANSI/TIA-1057: Link Layer Discovery Protocol for Media Endpoint Devices
5.2 Applications
Multiple switches, a MED device, and an NMS are deployed in the network topology.
Conducting Error Detection
Two switches are directly connected and incorrect configuration will be displayed.
5.2.1 Displaying Topology
Scenario
Multiple switches, a MED device, and an NMS are deployed in the network topology.
As shown in the following figure, the LLDP function is enabled by default and no additional configuration is required.
Switch A and Switch B discover that they are neighbors.
Switch A discovers its neighbor MED device, that is, IP-Phone, through port GigabitEthernet 0/1.
The NMS accesses MIB of switch A.