1-4
z
A local port mirroring group takes effect only after its mirroring and monitor ports are configured.
z
To ensure operation of your device, do not enable STP, MSTP, or RSTP on the monitor port.
z
A port mirroring group can have multiple mirroring ports, but only one monitor port.
z
A mirroring or monitor port to be configured cannot belong to an existing port mirroring group.
z
You are recommended to use a monitor port only for port mirroring. This is to ensure that the data
monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored
traffic and normally forwarded traffic.
Configuring Remote Port Mirroring
Configuring remote port mirroring is to configure remote mirroring groups. When doing that, configure
the remote source mirroring group on the source device and the cooperating remote destination
mirroring group on the destination device.
If GVRP is enabled, GVRP may register the remote probe VLAN to unexpected ports, resulting in
undesired duplicates. For information on GVRP, refer to
GVRP Configuration
in the
Access Volume
.
Configuration Prerequisites
Create a static VLAN for the probe VLAN on the source and destination device. To ensure correct
packet handling, ensure that the VLANs you created on the two devices use the same ID and function
only for remote port mirroring.
Configuring a Remote Source Mirroring Group (on the Source Device)
A remote source mirroring group comprises the following:
z
One or multiple mirroring ports.
z
A remote probe VLAN.
z
An egress port.
After you assign a port to a mirroring group either as a mirroring port or as a monitor port, you cannot
assign it to any other mirroring group. The same is true of probe VLANs.
Configuring a remote source mirroring group with an egress port
Follow these steps to configure a remote port mirroring group with an egress port:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a remote source
mirroring group
mirroring-group groupid
remote-source
Required