display link neighbor

Function

The display link neighbor command displays LAD neighbor information on interfaces.

Format

display link neighbor { { interface { interface-name | { interface-type interface-number } } } | { slot slot-id } | all }

Parameters

Parameter Description Value
interface interface-type interface-number

Displays LAD neighbor information of a specified interface.

-

slot slot-id

Displays LAD neighbor information of a board in a specified slot.

-

all

Displays LAD neighbor information of all interfaces.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
lad read

Usage Guidelines

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.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display LAD neighbor information on all interfaces.
<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
Table 1 Description of the display link neighbor command output
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.

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