Configuring remote port mirroring, Configuration prerequisites – H3C Technologies H3C SR8800 User Manual
Page 135

123
Step Command
Remarks
3.
Add ports to the port mirroring
group as mirroring ports.
•
(Approach I) In system view::
mirroring-group group-id
mirroring-port mirroring-port-list { both
| inbound | outbound }
•
(Approach II) In interface view:
a.
interface interface-type
interface-number
b.
[ mirroring-group group-id ]
mirroring-port { both | inbound |
outbound }
c.
quit
Use either approach.
You can add ports to a
port mirroring group as
mirroring ports in either
system view or
interface view.
In system view, you can
add multiple ports to a
port mirroring group at
a time. While in
interface view, you can
add only the current
port to a port mirroring
group.
4.
Add a port to the mirroring
group as the monitor port.
•
(Approach I) In system view:
mirroring-group group-id monitor-port
monitor-port-id
•
(Approach II) In interface view:
a.
interface interface-type
interface-number
b.
[ mirroring-group group-id ]
monitor-port
Use either approach.
You can add a monitor
port to a port mirroring
group in either system
view or interface view.
They achieve the same
purpose.
NOTE:
•
A local mirroring group is effective only when it has both mirroring ports and the monitor port
configured.
•
To make sure that the mirroring function works properly, do not enable STP on the monitor port of a
mirroring group.
•
A port mirroring group can contain multiple mirroring ports and only one monitor port.
•
A port can belong to only one port mirroring group.
Configuring remote port mirroring
NOTE:
•
If the GARP VLAN Registration Protocol (GVRP) is enabled, GVRP may register the remote probe VLAN
to unexpected ports, resulting in undesired duplicates. For more information about GVRP, see
Layer 2
—
LAN Switching Configuration Guide.
•
The router supports remote mirroring only when the system working mode is SPC or SPE.
Configuration prerequisites
Before configuring remote port mirroring, create a static VLAN to be configured as the remote probe
VLAN later.
- H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module