After observing ports and mirrored ports are configured on the switch, you can run the display port-mirroring command to check detailed mirroring configuration on the switch.
# Display the mirroring configuration.
<HUAWEI> display port-mirroring
----------------------------------------------------------------------
Observe-port 1 : GigabitEthernet0/0/1
Observe-port 2 : GigabitEthernet0/0/2
Observe-port 3 : GigabitEthernet0/0/3
Observe-port 4 : GigabitEthernet0/0/4
----------------------------------------------------------------------
Port-mirror:
----------------------------------------------------------------------
Mirror-port Direction Observe-port
----------------------------------------------------------------------
1 GigabitEthernet0/0/15 Inbound Observe-port 1
----------------------------------------------------------------------
Stream-mirror:
----------------------------------------------------------------------
Behavior Direction Observe-port
----------------------------------------------------------------------
1 b1 - Observe-port 2
----------------------------------------------------------------------
Vlan-mirror:
----------------------------------------------------------------------
Mirror-vlan Direction Observe-port
----------------------------------------------------------------------
10 Inbound Observe-port 3
----------------------------------------------------------------------
Mac-mirror:
----------------------------------------------------------------------
Mirror-mac Vlan Direction Observe-port
----------------------------------------------------------------------
0001-0001-0001 10 Inbound Observe-port 4
----------------------------------------------------------------------
Item |
Description |
---|---|
Port-mirror |
Port mirroring configuration. |
Mirror-port |
Mirrored port. This parameter is configured using the port-mirroring to observe-port command. |
Direction |
Direction of mirrored packets:
This parameter is configured using the port-mirroring to observe-port command. |
Observe-port |
Observing port to which mirrored packets are sent. This parameter is configured using the observe-port or observe-port command. |
Stream-mirror |
Traffic mirroring configuration. |
Behavior |
Traffic behavior of traffic mirroring.
|
Vlan-mirror |
VLAN mirroring configuration. |
Mirror-vlan |
VLAN ID in VLAN mirroring. This parameter is configured using the mirroring to observe-port command. |
Mac-mirror |
MAC address mirroring configuration. |
Mirror-mac |
MAC address in MAC address mirroring. This parameter is configured using the mac-mirroring command. |
Vlan |
VLAN in which MAC address mirroring is used. |