beautypg.com

H3C Technologies H3C S6300 Series Switches User Manual

Page 180

background image

167

The source device is not directly connected to the data monitoring device.

The source device copies mirrored packets to the destination device, which forwards them to the
data monitoring device.

The mirroring source and the mirroring destination reside on different devices and are in different

mirroring groups.

A remote source group is a mirroring group that contains the mirroring sources. A remote destination

group is a mirroring group that contains the mirroring destination. Intermediate devices are the devices

between the source device and the destination device.
In Layer 2 remote port mirroring, the mirroring source and the mirroring destination are located on
different devices on a same Layer 2 network.
Layer 2 remote port mirroring operates as follows:

1.

The source device copies packets received on the source port to the egress port.

2.

The egress port forwards the packets to the intermediate devices.

3.

The intermediate devices flood the packets in the remote probe VLAN to transmit the packets to the
destination device.

4.

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

destination device forwards the mirrored packets to the data monitoring device through the

monitor port.

Figure 57 Layer 2 remote port mirroring implementation

To ensure Layer 2 forwarding of the mirrored packets, assign the ports that connect intermediate devices

to the source and destination devices to the remote probe VLAN.
To monitor both the received and sent packets of a port in a mirroring group, you must 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.

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