display port-observing interface

Function

The display port-observing interface command displays the configuration of an observing port on an interface board.

Format

display port-observing interface [ slot slot-id | interface-type interface-number | interface-name ]

Parameters

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.

-

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
mirror read

Usage Guidelines

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.

Example

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

# Display the configurations of all the observing ports on the device.
<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     -            -                                                                            
--------------------------------------------------------------------------------
Table 1 Description of the display port-observing interface command output
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.

  • Up: The interface can function as a valid observing port.
  • Down: The interface cannot 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.

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