beautypg.com

Mirroring configuration, Configuring local port mirroring, Configuration prerequisites – H3C Technologies H3C S3600 Series Switches User Manual

Page 779: Configuration procedure

background image

1-4

For introduction to STP port state, refer to MSTP Configuration.

Mirroring Configuration

Complete the following tasks to configure mirroring:

Task

Remarks

Configuring Local Port Mirroring

Optional

Configuring Remote Port Mirroring

Optional

On an S3600-EI series Ethernet switch, only one destination port for local port mirroring and only one

reflector port can be configured, and the two types of ports cannot both exist.

Configuring Local Port Mirroring

Configuration prerequisites

z

The source port is determined and the direction in which the packets are to be mirrored is

determined.

z

The destination port is determined.

Configuration procedure

Follow these steps to configure port mirroring on S3600-EI series Ethernet switches:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a port mirroring
group

mirroring-group group-id local

Required

Enable port mirroring – STP
collaboration

mirroring stp-collaboration

Required

This configuration applies to all
ports of the current device.

By default, port mirroring – STP
collaboration is not enabled.

In system
view

mirroring-group group-id
mirroring-port
mirroring-port-list
{ both | inbound | outbound }

Configure the
source port
for the port
mirroring
group

In port view

interface interface-type
interface-number

Use either approach

You can configure multiple
source ports at a time in system
view, or you can configure the
source port in specific port view.

This manual is related to the following products: