Configuring a source port in interface view, Configuration restrictions and guidelines, Configuring the monitor port in system view – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 91
83
Configuring a source port in interface view
Step 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
a source port for a local
mirroring group.
[ mirroring-group group-id ]
mirroring-port { both | inbound |
outbound }
By default, a port does not serve as
a source port for any local
mirroring group.
Configuring source CPUs for a local mirroring group
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure source
CPUs for a local
mirroring group.
mirroring-group group-id
mirroring-cpu slot slot-number-list
{ both | inbound | outbound }
By default, no source CPU is configured
for a local mirroring group.
Configuring the monitor port for a 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 modes lead to the same
result.
Configuration restrictions and guidelines
•
A mirroring group contains only one monitor port.
•
H3C recommends that you use a monitor port for port mirroring only. This is to make sure that the
data monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored
traffic and normally forwarded traffic.
•
You cannot configure the monitor port in a mirroring group as a port in an RRPP ring.
Configuring the monitor port in system view
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the monitor port for
a local mirroring group.
mirroring-group group-id
monitor-port monitor-port-id
By default, no monitor port is
configured for a local mirroring
group.