beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 417

background image

Operation Manual – Mirroring

H3C S3100-52P Ethernet Switch

Chapter 1 Mirroring Configuration

1-8

Operation

Command

Description

Configure a source port

for remote mirroring

mirroring-group group-id
mirroring-port
mirroring-port-list

{ both |

inbound

| outbound }

Required

Configure a remote

reflector port

mirroring-group group-id
reflector-port
reflector-port

Required
The remote reflector port

must be of the Access

type. LACP and STP must

be disabled on this port.
After a port is configured

as a reflector port, the

switch does not allow you

to perform any of the

following configurations:

z

Changing the port type

or its default VLAN ID

z

Add the port to another

VLAN

Configure the

remote-probe VLAN for

the remote source

mirroring group

mirroring-group group-id
remote-probe vlan
remote

-probe-vlan-id

Required

Display the configuration

of the remote source

mirroring group

display mirroring-group
remote-source

Optional
This command can be

executed in any view.

Note:

z

To mirror tagged packets, you need to configure VLAN VPN on the reflector port.

z

The reflector port cannot forward traffics as a normal port. In this scenario, it is
recommended that you use an idle and down port as the reflector port, and do not
perform other configuration on this port.

z

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.

z

Do not configure a port connecting the intermediate switch or destination switch as
the mirroring source port. Otherwise, traffic disorder may occur in the network.