Usage Scenario
To view LAD neighbor information on interfaces, run the display link neighbor command. The command output contains information about neighbors of a local device, the interfaces that the neighbors use to connect to the local device, and Layer 2 information about these neighbors. The command output helps check whether Layer 2 configurations of the neighbors are correct.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display link neighbor all GigabitEthernet0/1/8 has neighbors: TxNeId TxInterface TxVlanOrVc12 TxVc4Id --- RxNeId RxInterface RxVlanOrVc12 RxVc4Id 0x6 ETH0/1/8 0 0 --- 0x10001 ETH0/1/8 0 0 GigabitEthernet0/1/9 has neighbors: TxNeId TxInterface TxVlanOrVc12 TxVc4Id --- RxNeId RxInterface RxVlanOrVc12 RxVc4Id 0x6 ETH0/1/9 0 0 --- 0x9000a ETH0/1/9 0 0 GigabitEthernet0/1/10 has neighbors: TxNeId TxInterface TxVlanOrVc12 TxVc4Id --- RxNeId RxInterface RxVlanOrVc12 RxVc4Id 0x6 ETH0/1/10 0 0 --- 0x9000a ETH0/1/10 0 0 Total records of slot 1: 3
| Item | Description |
|---|---|
| TxNeId | Local network element ID. |
| TxInterface | Local interface name. |
| TxVlanOrVc12 | Local VLAN ID or VC12 ID. |
| TxVc4Id | Local VC4 ID. |
| RxNeId | Remote network element ID. |
| RxInterface | Remote interface name. |
| RxVlanOrVc12 | Remote VLAN ID or VC12 ID. |
| RxVc4Id | Remote VC4 ID. |
| Total records of slot 1 | Total number of records about slot 1. |