The display port-observing interface command displays the configuration of an observing port on an interface board.
Parameter | Description | Value |
---|---|---|
slot slot-id |
Specifies the slot number of an installed interface board. If slot slot-id is specified, the configuration of the observing port on a specified interface board is displayed; otherwise, configurations of the observing ports on all interface boards are displayed. |
The value is a string of 1 to 15 case-sensitive characters, spaces not supported. |
interface-type |
Specifies an interface type. |
- |
interface-number |
Specifies an interface number. |
- |
interface-name |
Specifies an interface name. |
- |
Usage Scenario
After configuring port mirroring and observing ports on interface boards, you can run the display port-observing command to view the configuration of the observing port on a specified interface board.
Prerequisites
You must configure an observing port before running the display port-observing command to view the configuration of the observing port; otherwise, no command output is displayed.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display port-observing interface L-Header: WithLinkHeader Obs-index: Observe-index -------------------------------------------------------------------------------- Interface L-Header Obs-index Status Description Dest-MAC -------------------------------------------------------------------------------- GigabitEthernet0/1/13 - 1 down - - GigabitEthernet0/1/0 - 10 up - - --------------------------------------------------------------------------------
Item | Description |
---|---|
Interface | Indicates the observing port. |
L-Header | Indicates whether the packet is mirrored from the link layer header. |
Obs-index | Indicates the index number of the observing port. |
Status | Whether the interface can function as a valid observing port.
|
Description | Indicates the description of the observing port. |
Dest-MAC | Indicates the destination MAC address specified on the observing port. |