The display port-mirroring command displays the configuration of port mirroring on an interface board.
| 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. |
- |
The actual command output varies according to the device. The command output here is only an example.
<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 ---------------------------------------------------------------------------------------------------------------------------------------------
| 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:
|
| 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. |