230
To assign multiple ports to the mirroring group as source ports in interface view, repeat the
operation.
Configuration restrictions and guidelines
When you configure source ports for a local mirroring group, follow these restrictions and guidelines:
•
A mirroring group can contain multiple source ports.
•
Layer 2 or Layer 3 aggregate interfaces cannot be configured as source ports for mirroring
groups.
•
For port mirroring to operate correctly, do not configure an EVB-enabled port as a source port.
For more information about EVB, see
EVB Configuration Guide
.
•
Typically, a port can act as a source port for only one mirroring group. On the switch, a port can
be a source port for multiple mirroring groups that have different monitor ports.
•
A source port cannot be configured as a reflector port, egress port, or monitor port.
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 interface-list
{
both
|
inbound
|
outbound
}
By default, no source port is
configured for a local mirroring
group.
Configuring source ports in interface view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the port as a
source port for a local
mirroring group.
mirroring-group group-id
mirroring-port
{
both
|
inbound
|
outbound
}
By default, a port does not act as
a source port for any local
mirroring groups.
Configuring source CPUs for a local mirroring group
CPUs on the following MPUs cannot be configured as source CPUs:
•
LSU1SUPB0 (JG496A).
•
LSUM1SUPD0 (JH198A, JH206).
On the source device, configure the CPUs of the cards to be monitored as the source CPUs. The
destination device does not support source CPU configuration.
A mirroring group can contain multiple source CPUs.
To configure source CPUs for a local mirroring group:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A