
86
Figure 33
Layer 2 remote port mirroring implementation
Source
device
Intermediate
device
Destination
device
Eth1/0/1
Remote probe
VLAN
Data monitoring
device
Host
Remote probe
VLAN
Eth1/0/2
Eth1/0/1
Eth1/0/2
Eth1/0/1
Eth1/0/2
Eth1/0/1
Mirroring process in the device
Eth1/0/2
Source port
Monitor port
Original packets
Common port
Mirrored packets
Egress port
On the network shown in
,
The source device does the following:
1.
Copies the packets received on the source port Ethernet 1/0/1 to the egress port Ethernet 1/0/2.
2.
Forwards the packets to the intermediate device, which then broadcasts the packets in the remote
probe VLAN.
3.
Transmits the packets to the destination device via the intermediate device.
Then, the destination device does the following:
4.
Receives the mirrored packets.
5.
Compares their VLAN IDs to the ID of the remote probe VLAN configured in the remote destination
group.
6.
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 Ethernet 1/0/2.
NOTE:
•
Allow remote probe VLAN to pass through the intermediate devices to make sure the source device and
the destination device can communicate at Layer 2 in the remote probe VLAN.
•
For a mirrored packet to successfully arrive at the remote destination device, make sure the VLAN ID of
the mirrored packet is not removed or changed. Otherwise, the Layer 2 remote port mirroring
configuration will fail.
•
To monitor both the received and sent packets of a port in a mirroring group, you must use the
mac-address mac-learning disable
command on the source, intermediate, and destination devices to
disable MAC address learning of the remote probe VLAN. For more information about the
mac-address mac-learning disable
command, see
Layer 2—LAN Switch Command Reference.
2.
Layer 3 remote port mirroring
Layer 3 remote port mirroring is implemented through creating a local mirroring group on both the source
device and the destination device, as shown in
.