beautypg.com

Configuring the monitor port in system view, Configuring the monitor port in interface view – H3C Technologies H3C S7500E Series Switches User Manual

Page 153

background image

9-6

Configuring the Monitor Port for the Local Mirroring Group

You can configure the monitor port for a mirroring group in system view, or assign the current port to a

mirroring group as the monitor port in interface view. The two modes lead to the same result.

Configuring the monitor port in system view

Follow these steps to configure the monitor port of a local mirroring group in system view:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the monitor port

mirroring-group group-id

monitor-port monitor-port-id

Required

By default, no monitor port is

configured for a mirroring group.

Configuring the monitor port in interface view

Follow these steps to configure the monitor port of a local mirroring group in interface view:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type

interface-number

Configure the current port as the

monitor port

[ mirroring-group group-id ]

monitor-port

Required

By default, a port does not serve

as the monitor port for any

mirroring group.

z

A mirroring group contains only one monitor port.

z

To ensure that the port mirroring function works properly, do not enable STP, MSTP, or RSTP on

the monitor port.

z

You are recommended to use a monitor port only for port mirroring. This is to ensure that the data

monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored

traffic and normally forwarded traffic.

z

A port connected to an RRPP ring cannot be configured as the monitor port of a port mirroring

group.