beautypg.com

H3C Technologies H3C S3600 Series Switches User Manual

Page 783

background image

1-8

z

With port mirroring – STP collaboration enabled, if you configure a port in Discarding state as a

mirroring port, the port mirroring configuration does not take effect until the port transits to

Forwarding state.

z

Suppose port mirroring – STP collaboration is enabled on a device in an MSTP network. To make

the port mirroring configuration take effect on a port, make sure that the port is in Forwarding state

in all instances.

z

To enable port mirroring on an IRF stack, you are recommended to enable port mirroring – STP

collaboration.

Configuration on a switch acting as an intermediate switch

1) Configuration

prerequisites

z

The trunk ports and the remote-probe VLAN are determined.

z

Layer 2 connectivity is ensured between the source and destination switches over the

remote-probe VLAN.

2) Configuration

procedure

Follow these steps to perform configurations on the intermediate switch:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a VLAN and enter VLAN
view

vlan vlan-id

vlan-id is the ID of the
remote-probe VLAN.

Configure the current VLAN as
the remote-probe VLAN

remote-probe vlan enable

Required

Return to system view

quit

Enter the view of the Ethernet
port connecting to the source
switch, destination switch or
other intermediate switch

interface interface-type
interface-number

Configure the current port as
trunk port

port link-type trunk

Required

By default, the port type is
Access.

Configure the trunk port to
permit packets from the
remote-probe VLAN

port trunk permit vlan
remote-probe-vlan-id

Required

Note that an S3600 series Ethernet switch acting as the intermediate switch in remote port mirroring

networking does not support bidirectional packet mirroring (the both keyword).

Configuration on a switch acting as a destination switch

1) Configuration

prerequisites

z

The destination port and the remote-probe VLAN are determined.

z

Layer 2 connectivity is ensured between the source and destination switches over the

remote-probe VLAN.

This manual is related to the following products: