The destination device does the following:
1. Receives the mirrored packets.
2. Compares their VLAN IDs to the ID of the remote probe VLAN configured in the remote destination
group.
3. If the VLAN IDs of these mirrored packets match the remote probe VLAN ID, the device forwards
them to the data monitoring device through the monitor port.
NOTE:
• You must ensure that the source device and the destination device can communicate at Layer 2 in the
remote probe VLAN.
• For the mirrored packets to be forwarded to the monitor port, ensure that the same probe VLAN is
configured in the remote source and destination mirroring groups.
• To make the port mirrorin
function work properly, before confi
urin
bidirectional traffic mirrorin
on
a port in a mirroring group, you need to use the mac-address mac-learning disable command on the
source device, intermediate devices, and destination device to disable the MAC address learning
function for the remote port mirroring VLAN. For more information about the mac-address
mac-learning disable command, see the
Layer 2—LAN Switching Command Reference
.
CAUTION:
For a mirrored packet to successfully arrive at the remote destination device, you need to ensure that the
VLAN ID carried in the packet is correct (the same as the probe VLAN ID). If the VLAN is removed or the
VLAN ID is changed, the Layer 2 remote port mirroring configuration becomes invalid.
Configuring local port mirroring
Local port mirroring configuration task list
Configuring local port mirroring is to configure local mirroring groups.
A local mirroring group comprises one or more mirroring ports/CPUs and one monitor port that are
located on a same device.
Complete these tasks to configure a local mirroring group:
Task Remarks
Creating a local mirroring group Required
Configuring mirroring ports for the local mirroring
group
Configuring mirroring CPUs for the local mirroring
group
Perform at least one of these operations, or all of them.
Configuring the monitor port for the local mirroring
group
Required
Creating a local mirroring group
Follow these steps to create a local mirroring group:
128