173
NOTE:
• A mirroring group can contain multiple mirroring ports.
• To make sure that the port mirroring function works properly, do not assign a mirroring port to the
remote probe VLAN.
Configuring mirroring CPUs for the remote source mirroring group
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Configure mirroring CPUs.
mirroring-group group-id
mirroring-cpu slot slot-number-list
{ both | inbound | outbound }
Required.
By default, no mirroring CPU is
configured for a mirroring group.
NOTE:
A mirroring group can contain multiple mirroring CPUs.
Configuring the egress port for the remote source mirroring group
You can configure the egress port for a mirroring group in system view, or assign the current port to it as
the egress port in interface view. The two configuration modes lead to the same result.
• Configuring the egress port in system view
To do…
Use the command… Remarks
1. Enter system view.
system-view —
2. Configure the egress port for
the remote source mirroring
group.
mirroring-group group-id monitor-
egress monitor-egress-port
Required.
By default, no egress port is
configured for a mirroring group.
• Configuring the egress port in interface view
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Enter interface view.
interface interface-type interface-
number
—
3. Configure the current port as
the egress port.
mirroring-group group-id monitor-
egress
Required.
By default, a port does not serve
as the egress port for any
mirroring group.
NOTE:
• A mirroring group only contains one egress port.
• A mirroring port of an existing mirroring group cannot be configured as an egress port.
• To make sure that the port mirroring function works properly, disable these functions on the egress
port: STP, MSTP, RSTP, 802.1X, IGMP Snooping, static ARP, and MAC address learning.