168
Configuring local port mirroring
Local port mirroring configuration task list
Configuring local port mirroring is to configure local mirroring groups.
A local mirroring group comprises one or multiple mirroring ports/CPUs and one monitor port that are
located on a same device.
Complete these tasks to configure a local mirroring group:
Task Remarks
Creating a local mirroring group Required
Configuring mirroring ports for the local mirroring group
Configuring mirroring CPUs for the local mirroring group
Perform at least one of these operations, or all
of them.
Configuring the monitor port for the local mirroring group
Required
NOTE:
On the HP 5820X&5800 switch series, you can configure a port as the source port of multiple
mirroring groups, so that traffic passing through the port can be mirrored to multiple monitor ports.
• On the HP 5800 switch series, unidirectional traffic of a source port occupies one mirroring resource,
and bidirectional traffic of a source port occupies two mirroring resources. The HP 5800 switch
series
can assign up to four mirroring resources for each source port. As a result, you can add a port to
four mirroring groups as unidirectional source ports, to two mirroring groups as bidirectional source
ports, or to three mirroring groups as a bidirectional source port in one mirroring group and
unidirectional ports in two mirroring groups.
• The HP 5820X switch series allows you to add a source port to up to two mirroring groups.
NOTE:
A source port cannot be used as the egress or monitor port of the current or another mirroring group.
Creating a local mirroring group
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Create a local mirroring
group.
mirroring-group group-id local Required
NOTE:
A local mirroring group only takes effect after you configure a monitor port and mirroring ports/CPUs
for it.