display port-mirroring

Function

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

Format

display port-mirroring interface [ interface-type interface-number | interface-name ]

display port-mirroring interface slot slot-id

Parameters

Parameter Description Value
interface interface-type interface-number

Specifies the type and number of an interface.

-

slot slot-id

Specifies the slot number of the interface board where the configuration of port mirroring needs to be displayed. The specified interface board must be installed. If slot slot-id is not specified, the configurations of port mirroring on all installed interface boards are displayed.

-

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
mirror read

Usage Guidelines

Usage Scenario

Run the display port-mirroring interface command to view the configuration of a specified mirrored port.

Run the display port-mirroring interface slot command to view the configuration of all the mirrored ports on a specified interface board.

Example

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

# Display the configuration of all the mirroring port on Router.
<HUAWEI> display port-mirroring interface
---------------------------------------------------------------------------------------------------------------------------------------------
Interface                 Vlan CAR         Type   In/Out       WithLinkHeader Instance                         QinqMirNum           SliceSize
---------------------------------------------------------------------------------------------------------------------------------------------
GE0/1/10.1                 no   2500000     Port   In           -              -                                10                   -
GE0/1/1                   no   2500000     Port   In           -              -                                -                    -
Eth-Trunk3                no   2500000     Port   In           -              -                                -                    64
Eth-Trunk1                no   2500000     Port   In           -              -                                -                    128
---------------------------------------------------------------------------------------------------------------------------------------------
Table 1 Description of the display port-mirroring command output
Item Description
Interface

Indicates the interface type and interface number of the mirroring port.

Vlan

Indicates whether the mirroring port is VLAN-based.

CAR

Indicates the CAR of the mirrored traffic, in kbit/s.

Type

Indicates the type of the mirroring on the interface:

  • Policy: indicates the traffic mirroring.
  • Port: indicates the port mirroring.
In/Out

Indicates the type of the mirrored traffic.

WithLinkHeader

Indicates whether the packet is mirrored from the link layer header.

Instance

Indicates the name of a mirroring instance.

SliceSize

The length of mirrored packets, in bytes.

QinqMirNum

Number of Q pairs configured for a user VLAN.

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