
166
In Layer 2 remote port mirroring, the mirroring source and the mirroring destination are located on
different devices on a same Layer 2 network.
The source device copies packets received on the source port to the egress port. The egress port
forwards the packets to the intermediate devices. The intermediate devices then flood the packets in
the remote probe VLAN and transmit the mirrored packets to the destination device. Upon receiving
the mirrored packets, the destination device determines whether the ID of the mirrored packets is the
same as the remote probe VLAN ID. If the two VLAN IDs match, the device forwards the mirrored
packets to the data monitoring device through the monitor port.
Figure 59 Layer 2 remote port mirroring implementation
To ensure Layer 2 forwarding of the mirrored packets, assign the intermediate devices' ports facing
the source and destination devices to the remote probe VLAN.
To monitor the bidirectional traffic of a port in a mirroring group, disable MAC address learning for the
remote probe VLAN on the source, intermediate, and destination devices. For more information
about MAC address learning, see
Layer 2—LAN Switching Configuration Guide
.
Configuring local port mirroring
A local mirroring group takes effect only when you configure the source ports and the monitor port for
the local mirroring group.
Local port mirroring configuration task list
Tasks at a glance
1.
(Required.)
Creating a local mirroring group
2.
(Required.)
Configuring source ports for the local mirroring group
3.
(Required.)
Configuring the monitor port for the local mirroring group
Destination
device
Source
device
Intermediate
device
XGE1/0/1
Remote
probe VLAN
Data monitoring
device
Host
Remote
probe VLAN
XGE1/0/2
XGE1/0/1
XGE1/0/2
XGE1/0/1
XGE1/0/2
XGE1/0/1
Mirroring process in the device
XGE1/0/2
Source port
Monitor port
Original packets
Common port
Mirrored packets
Egress port