display port-observing

Function

The display port-observing observe-index command displays the configuration of the observing port with a specified observe index.

The display port-observing slot command displays an observing port on an interface board in a specified slot.

Format

display port-observing observe-index [ observe-index ]

display port-observing slot [ slotid ]

Parameters

Parameter Description Value
observe-index observe-index

Index of an observing port.

The value is an integer ranging from 1 to 255.

slot slotid

Specifies the slot number of the interface board in position.

-

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
mirror debug

Usage Guidelines

Usage Scenario

After you configure an observing port, run display port-observing observe-index command to view the configuration of this observing port.

To view the observing port on the interface board in a specified slot, run the display port-observing slot command. If slot-id is not specified, observing ports and their reference slot numbers of all interface board slots will be displayed.

Example

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

# Display the observing port on the interface board in slot 1.
<HUAWEI> display port-observing slot 1
slot 1
    observe-port  : GigabitEthernet0/1/0
    reference slot: 1
# Display the configuration of the observing port with a specified observe index.
<HUAWEI> display port-observing observe-index 2
L-Header: WithLinkHeader        Obs-index: Observe-index
----------------------------------------------------------------------
Interface                  L-Header Obs-index Status Description  Dest-MAC
----------------------------------------------------------------------
GigabitEthernet0/1/0      -        2          up     -            00e0-fc12-3456
----------------------------------------------------------------------
Table 1 Description of the display port-observing command output
Item Description
observe-port

Observing port with a specified observe index.

reference slot

Number of the slot where the interface board with the mirroring port configured resides.

Interface

Observing port.

L-Header

Whether the packet is mirrored from the link layer header.

Obs-index

Index of the observing port.

Status

Whether the interface can function as a valid observing port.

  • Up: The interface can function as a valid observing port.
  • Down: The interface cannot function as a valid observing port.
Description

Description of the observing port.

Dest-MAC

Indicates the destination MAC address specified on the observing port.

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