Local port mirroring configuration task list, Creating a local mirroring group, Configuration restrictions and guidelines – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 90: Configuring source ports in system view

82
Local port mirroring configuration task list
Local port mirroring takes effect only when the source ports and the monitor port are configured.
Complete these tasks to configure local port mirroring:
Task Remarks
Creating a local mirroring group
Required.
Configuring source ports for a local mirroring group
Perform at least one configuration.
Configuring source CPUs for a local mirroring group
Configuring the monitor port for a local mirroring group
Required.
Using the remote probe VLAN to enable local mirroring to support
multiple monitor ports
Optional.
Creating a local mirroring group
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a local mirroring
group.
mirroring-group group-id local
No local mirroring group
exists by default.
Configuring source ports for a local mirroring group
Either you can configure a list of source ports for a mirroring group in system view, or you can assign only
the current port to the mirroring group as a source port in interface view. To assign multiple ports to the
mirroring group as source ports in interface view, repeat the operation.
Configuration restrictions and guidelines
•
A mirroring group can contain multiple source ports.
•
On the WX5540E switching engine, one mirroring resource is used for mirroring unidirectional
traffic on a source port and two mirroring resources are used for mirroring bidirectional traffic on a
source port. A source port on the WX5540E switching engine is assigned a maximum of four
mirroring resources. Therefore, a port, when serving as a unidirectional source port, can be added
to up to four mirroring groups. When serving as a bidirectional port can be added to up to two
mirroring groups, and when serving as a bidirectional source port and two unidirectional ports can
be added to up to three mirroring groups.
Configuring source ports in system view
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure source ports for a
local mirroring group.
mirroring-group group-id
mirroring-port mirroring-port-list
{ both | inbound | outbound }
By default, no source port is
configured for a local mirroring
group.