beautypg.com

V. configuration example – H3C Technologies H3C S3100 Series Switches User Manual

Page 420

background image

Operation Manual – Mirroring

H3C S3100-52P Ethernet Switch

Chapter 1 Mirroring Configuration

1-11

Note:

If the mac-address max-mac-count 0 command is executed on a port in a VLAN, it is
recommended not to configure this VLAN as the remote-probe VLAN. Otherwise,
remote mirroring may not work properly.

V. Configuration example

Network requirements:

z

Switch A is connected to the data detect device through GigabitEthernet 1/1/2.

z

GigabitEthernet 1/1/1, the Trunk port of Switch A, is connected to GigabitEthernet
1/1/1, the Trunk port of Switch B.

z

GigabitEthernet 1/1/2, the Trunk port of Switch B, is connected to GigabitEthernet
1/1/1, the Trunk port of Switch C.

z

GigabitEthernet 1/1/2, the port of Switch C, is connected to PC1.

The purpose is to use the data detect device to monitor and analyze the packets sent
by PC1.
To meet the above purpose by using the RSPAN function, perform the following
configuration:

z

Define VLAN10 as the remote-probe VLAN.

z

Define Switch A as the destination switch; configure GigabitEthernet 1/1/2, the
port that is connected to the data detect device, as the destination port for remote
mirroring. Set GigabitEthernet1/1/2 to an Access port, with STP and LACP
functions disabled.

z

Define Switch B as the intermediate switch.

z

Define Switch C as the source switch, GigabitEthernet 1/1/2 as the source port for
remote mirroring, and GigabitEthernet 1/1/3 as the reflector port. Set
GigabitEthernet 1/1/3 to an Access port, with STP and LACP disabled.

Network diagram: