Mirroring Configuration

Complete the following tasks to configure mirroring:

Task

Remarks

Configuring Local Port Mirroring

Optional

 

 

Configuring Remote Port Mirroring

Optional

 

 

Configuring MAC-Based Mirroring

Optional

 

 

Configuring VLAN-Based Mirroring

Optional

 

 

Configuring Local Port Mirroring

Configuration prerequisites

z

z

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

The destination port is determined.

Configuration procedure

Follow these steps to configure local port mirroring:

 

To do…

Use the command…

Remarks

 

Enter system view

system-view

 

 

 

 

 

 

Create a port mirroring group

mirroring-group group-idlocal

Required

 

 

 

 

 

 

 

In system

mirroring-group group-id

 

 

 

mirroring-portmirroring-port-list

Use either approach

 

 

view

 

 

{ both inbound outbound }

 

Configure the

 

You can configure multiple

 

 

 

 

 

interface interface-type

 

 

source ports at a time in

 

source port

 

 

 

interface-number

system view, or you can

 

for the port

 

 

 

 

configure the source port in

 

mirroring

 

mirroring-group group-id

 

In port view

specific port view. The

 

group

 

 

 

mirroring-port { both inbound

configurations in the two

 

 

 

outbound }

views have the same effect.

 

 

 

quit

 

 

 

 

 

 

 

 

In system

mirroring-group group-id

 

 

Configure the

view

monitor-portmonitor-port-id

Use either approach

 

destination

 

interface interface-type

 

port for the

 

The configurations in the two

 

 

interface-number

 

port mirroring

In port view

views have the same effect.

 

 

 

group

 

mirroring-group group-id

 

 

 

 

monitor-port

 

 

 

 

 

 

When configuring local port mirroring, note that:

z

z

You need to configure the source and destination ports for the local port mirroring to take effect. The source port and the destination port cannot be a member port of an existing mirroring group; besides, the destination port cannot be a member port of an aggregation group or a port enabled with LACP or STP.

1-4

Page 405
Image 405
3Com WX3000 operation manual Mirroring Configuration, Configuring Local Port Mirroring