beautypg.com

Configuring local port mirroring – H3C Technologies H3C SR8800 User Manual

Page 134

background image

122

NOTE:

Layer 2 remote port mirroring can be implemented when a fixed reflector port, configurable reflector
port, or configurable egress port is available on the source device. The configuration method when
either of the first two ports is available on the source device is called reflector port method. You must

configure a reflector port on the source device that has a configurable reflector port. The router only

supports configurable reflector ports.

Layer 2 remote port mirroring cannot be implemented on an SPE card when a configurable reflector
port is available on the source device.

Figure 46 Layer 2 remote port mirroring implementation (with a reflector port)

On the network shown in

Figure 46

, the source device copies the packets received on the source port

GigabitEthernet 3/1/1 to the reflector port GigabitEthernet 3/1/3. GigabitEthernet 3/1/3 broadcasts
the packets in the remote probe VLAN and the intermediate device in the VLAN transmits the packets to

the destination device. When receiving these mirrored packets, the destination device compares their

VLAN IDs to the ID of the remote probe VLAN configured in the remote destination group. 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.

Configuring local port mirroring

Configuring local mirroring is to configure local mirroring groups.
A local mirroring group comprises one or multiple mirroring ports and one monitor port that are located
on the same router.
To configure local port mirroring:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a local mirroring group.

mirroring-group group-id local

N/A

Source
device

Intermediate

device

Destinati

on device

GE3/1/1

Remote

prone VLAN

Data monitoring

device

Host

Remote

probe VLAN

Mirroring process in the device

Source port

Monitor port

Original packets

Reflector port

GE3/1/3

GE3/1/2

GE3/1/1

GE3/1/2

GE3/1/1

GE3/1/2

GE3/1/1

GE3/1/3

GE3/1/2

Common port

Mirroring packets