< Home

LLDP Implementation

LLDP collects and sends local device information to remote devices. The local device saves information received from remote devices to MIBs. Figure 1 shows how LLDP is implemented.

Figure 1 LLDP block diagram

LLDP is implemented as follows:

  1. The LLDP module uses an LLDP agent to interact with the Physical Topology MIB, Entity MIB, Interfaces MIB, and other MIBs to update the LLDP local system MIB and LLDP local organizationally defined extended MIB.
  2. The LLDP agent encapsulates local device information into LLDP frames and sends the LLDP frames to remote devices.
  3. After receiving LLDP frames from remote devices, the LLDP agent updates the LLDP remote system MIB and LLDP remote organizationally defined extended MIB.
  4. By exchanging LLDP frames with remote devices, the local device can obtain information about remote devices, including remote interfaces connected to the local device and MAC addresses of remote devices.

The LLDP local system MIB stores local device information, including the device ID, port ID, system name, system description, port description, and management address.

The LLDP remote system MIB stores neighbor information, including the device ID, port ID, system name, system description, port description, and management address of each neighbor.

An LLDP agent performs the following tasks:

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >