The display interface neighbor command displays information about the neighboring devices and interfaces of physical interfaces on a device.
Parameter | Description | Value |
---|---|---|
interface-type |
Displays information about the neighboring devices and interfaces of an interface with a specified interface type. If no interface type is specified, the description of all interfaces is displayed. |
- |
interface-number |
Displays information about the neighboring devices and interfaces of an interface with a specified interface number. If an interface type is specified but no interface number is specified, the description of all the interfaces of this type is displayed. |
- |
slot slot-id |
Displays information about the neighboring devices and interfaces of all the interfaces in a specified slot. If no slot ID is specified, the description of the interfaces in all slots is displayed. In VS mode, this parameter is supported only by the admin VS. |
The value is a string of 1 to 23 case-sensitive characters, spaces not supported. |
card card-number |
Displays information about the neighboring devices and interfaces of all the interfaces on a specified subcard. If a slot ID is specified but no interface number is specified, the description of the interfaces on all the subcards in the specified slot is displayed. In VS mode, this parameter is supported only by the admin VS. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display interface neighbor GigabitEthernet 0/1/0 PHY: Physical *down: administratively down ^down: standby (l): loopback (s): spoofing (E): E-Trunk down (b): BFD down (B): Bit-error-detection down (e): ETHOAM down (d): Dampening Suppressed (p): port alarm down (ld): loop-detect trigger down (c): CFM down Interface PHY Protocol Neighbor Device Neighbor Interface Description Gigabitethernet0/1/0 up down HUAWEI Gigabitethernet0/1/0
<HUAWEI> display interface neighbor PHY: Physical *down: administratively down ^down: standby (l): loopback (s): spoofing (E): E-Trunk down (b): BFD down (B): Bit-error-detection down (e): ETHOAM down (d): Dampening Suppressed (p): port alarm down (ld): loop-detect trigger down (c): CFM down Interface PHY Protocol Neighbor Device Neighbor Interface Description Eth-Trunk1 down down Gigabitethernet0/1/0 up down HUAWEI Gigabitethernet0/1/0 Gigabitethernet0/1/1 up down HUAWEI Gigabitethernet0/1/1 Gigabitethernet0/1/7 up down HUAWEI Gigabitethernet0/1/7 Gigabitethernet0/1/8 up down HUAWEI Gigabitethernet0/1/9 Gigabitethernet0/1/8 up down HUAWEI Gigabitethernet0/1/10 Gigabitethernet0/1/8 up down HUAWEI Gigabitethernet0/1/11
Item | Description |
---|---|
Interface | Type and number of an interface. |
PHY | Physical status of an interface. Available options are as follows:
|
Protocol | Link-layer protocol status of an interface. Available options are as follows:
|
Neighbor Device | Name of a neighboring device. |
Neighbor Interface | Neighboring interface. |
Description | Interface description. If no description is configured for the interface using the description command, no information is displayed by default. |