Configuring the monitor port in system view, Configuring the monitor port in interface view, Configuring the monitor port for a local mirroring – H3C Technologies H3C S7500E Series Switches User Manual
Page 162: Group
9-15
Configuring the Monitor Port for a Local Mirroring Group
On the source device, configure the tunnel interface as the monitor port; on the destination device,
configure the port that connects the data monitoring device as the monitor port.
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 for 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 for 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 can work 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.