Configuring remote port mirroring – H3C Technologies H3C S3600 Series Switches User Manual
Page 781
1-6
z
With port mirroring – STP collaboration enabled, if you configure a port in Discarding state as a
mirroring port, the port mirroring configuration does not take effect until the port transits to
Forwarding state.
z
Suppose port mirroring – STP collaboration is enabled on a device in an MSTP network. To make
the port mirroring configuration take effect on a port, make sure that the port is in Forwarding state
in all instances.
z
To enable port mirroring on an IRF stack, you are recommended to enable port mirroring – STP
collaboration.
Configuring Remote Port Mirroring
z
S3600-SI series Ethernet switches do not support remote port mirroring.
z
An S3600-EI series Ethernet switch can serve as a source switch, an intermediate switch, or a
destination switch in a remote port mirroring networking environment.
Configuration on a switch acting as a source switch
1) Configuration
prerequisites
z
The source port, the reflector port, and the remote-probe VLAN are determined.
z
Layer 2 connectivity is ensured between the source and destination switches over the
remote-probe VLAN.
z
The direction of the packets to be monitored is determined.
2) Configuration
procedure
Follow these steps to perform configurations on the source switch:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a VLAN and enter the
VLAN view
vlan vlan-id
vlan-id is the ID of the
remote-probe VLAN.
Configure the current VLAN as
the remote-probe VLAN
remote-probe vlan enable
Required
Return to system view
quit
—
Enable port mirroring – STP
collaboration
mirroring stp-collaboration
Required
This configuration applies to all
ports of the current device.
By default, port mirroring – STP
collaboration is not enabled.