The display lldp neighbor brief command displays summary information about Link Layer Discovery Protocol (LLDP) neighbors.
Usage Scenario
To quickly obtain summary information about LLDP neighbors, run the display lldp neighbor brief command. The summary information about LLDP neighbors includes the local interface name, neighbor name, neighbor interface name, and neighbor information aging time.
Prerequisites
LLDP has been globally enabled using the lldp enable command in the system view, and LLDP has also been enabled on interfaces using the lldp enable command in the interface view.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display lldp neighbor brief Local Intf Neighbor Dev Neighbor Intf Exptime (sec) ------------------------------------------------------------------------------------------------------- Gigabitethernet0/1/0 HUAWEI Gigabitethernet0/1/0 101 Gigabitethernet0/1/1 HUAWEI Gigabitethernet0/1/1 101 Gigabitethernet0/1/7 HUAWEI Gigabitethernet0/1/7 101 Gigabitethernet0/1/8 HUAWEI Gigabitethernet0/1/9 118 Gigabitethernet0/1/8 HUAWEI Gigabitethernet0/1/10 118 Gigabitethernet0/1/8 HUAWEI Gigabitethernet0/1/11 118
Item | Description |
---|---|
Local Intf | Local interface name. |
Neighbor Dev | Name of an LLDP neighbor. |
Neighbor Intf | LLDP neighbor interface name. |
Exptime (sec) | Aging time (in seconds) of the information about an LLDP neighbor. |