R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

116
Ste
p
Command
Remarks
3. Configure the current port as
a source port.
[ mirroring-group group-id ]
mirroring-port { both | inbound |
outbound }
By default, a port does not serve as
a source port for any mirroring
group.
Configuring the monitor port for the local mirroring group
CAUTION:
Do not enable the spanning tree feature on the monitor port.
Either you can configure the monitor port for a mirroring group in system view, or you can assign the
current port to a mirroring group as the monitor port in interface view. The two methods lead to the same
result.
Configuration restrictions and guidelines
A mirroring group contains only one monitor port.
HP recommends that you use a monitor port for port mirroring only. This is to make sure the data
monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored
traffic and correctly forwarded traffic.
Configuring the monitor port in system view
To configure the monitor port of a local mirroring group in system view:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the monitor port.
mirroring-group group-id
monitor-port monitor-port-id
By default, no monitor port is
configured for a local mirroring
group.
Configuring the monitor port in interface view
To configure the monitor port of a local mirroring group in interface view:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure the current port as
the monitor port.
[ mirroring-group group-id ]
monitor-port
By default, a port does not serve as
the monitor port for any local
mirroring group.
Configuring Layer 2 remote port mirroring
The following matrix shows the feature and router compatibility: