To do… Use the command… Remarks
Configure the current port as a
mirroring port
[ mirroring-group group-id ]
mirroring-port { both | inbound |
outbound }
Required
By default, a port does not serve as
a mirroring port for any mirroring
group.
NOTE:
• A mirroring group can contain multiple mirroring ports.
• To ensure 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
Follow these steps to configure mirroring CPUs for the remote source mirroring group:
To do… Use the command… Remarks
Enter system view system-view —
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.
Configuring the reflector port for the remote source group
You can configure the reflector port for a mirroring group in system view, or assign the current port to it
as the reflector port in interface view. The two configuration modes lead to the same result.
• Configuring the reflector port in system view
Follow these steps to configure the reflector port for the remote source group in system view:
To do… Use the command… Remarks
Enter system view system-view —
Configure the reflector port for the
remote source group
mirroring-group group-id
reflector-port reflector-port
Required
By default, no reflector port is
configured for a remote source
group.
• Configuring the reflector port in interface view
Follow these steps to configure the reflector port for the remote source group in interface view:
To do… Use the command… Remarks
Enter system view system-view —
Enter interface view
interface interface-type
interface-number
—
Configure the current port as the
reflector port
mirroring-group group-id
reflector-port
Required
By default, a port does not serve as
the reflector port for any remote
source group.
133