Configuring a remote destination mirroring group, Displaying and maintaining port mirroring – H3C Technologies H3C SR8800 User Manual

Page 137

Advertising
background image

125

NOTE:
•

To avoid router performance degradation, do not add mirroring ports to the remote probe VLAN.

•

Only existing static VLANs can be configured as remote probe VLANs. To remove a VLAN operating as
a remote probe VLAN, you need to restore it to a normal VLAN first. A remote port mirroring group gets
invalid if the corresponding remote probe VLAN is removed.

•

Use a remote probe VLAN for remote port mirroring only.

•

A port can belong to only one port mirroring group. A VLAN can be the remote probe VLAN of only
one port mirroring group.

•

To make sure that the mirroring function works properly, do not enable STP on the monitor port.

•

You can configure a reflector port only when the router works in SPC mode.

Configuring a remote destination mirroring group

To configure a remote destination mirroring group:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a remote destination mirroring
group.

mirroring-group group-id
remote-destination

N/A

3.

Configure the remote probe VLAN for the

mirroring group.

mirroring-group group-id
remote-probe vlan

rprobe-vlan-id

N/A

4.

Add a port to the port mirroring group as
the monitor port.

•

In system view:
mirroring-group group-id

monitor-port monitor-port-id

•

In interface view:

a.

interface interface-type
interface-number

b.

[ mirroring-group
group-id ] monitor-port

c.

quit

Use either approach,
which leads to the same

result.

5.

Enter destination interface view.

interface interface-type
interface-number

N/A

6.

Add the port to the remote probe VLAN.

•

The port is an access port:

port access vlan
rprobe-vlan-id

•

The port is a trunk port:

port trunk permit vlan
rprobe-vlan-id

•

The port is a hybrid port:

port hybrid vlan
rprobe-vlan-id { tagged |

untagged }

Use any of these three
approaches according to
the port type.

Displaying and maintaining port mirroring

Advertising