
98
Configuring source ports for a local mirroring group
On the source device, configure the ports you want to monitor as the source ports; on the destination
device, configure the physical port corresponding to the tunnel interface as the source port.
You can configure a list of source ports for a mirroring group at a time in system view, or assign only the
current port to it as a source port in interface view. To assign multiple ports to the mirroring group as
source ports in interface view, repeat the step.
Configuring source ports in system view
Follow these steps to configure source ports for a local mirroring group in system view:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure source ports for
a local mirroring group
mirroring-group
group-id
mirroring-port
mirroring-port-list
{
both
|
inbound
|
outbound
}
Required
By default, no source port is configured
for a local mirroring group.
Configuring a source port in interface view
Follow these steps to configure a source port for a local mirroring 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 a source port
[
mirroring-group
group-id
]
mirroring-port
{
both
|
inbound
|
outbound
}
Required
By default, a port does not serve as
a source port for any local
mirroring group.
NOTE:
•
A mirroring group can contain multiple source ports.
•
On the S3100V2-52TP switch, each port, serving as a unidirectional or bidirectional source port, can be
added to up to two mirroring groups.
Configuring source CPUs for a local mirroring group
On the source device, configure the CPUs to be monitored as the source CPUs. The destination device
does not support source CPU configuration.
Follow these steps to configure source CPUs for a local mirroring group:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure source CPUs
mirroring-group
group-id
mirroring-cpu slot
slot-number-list
{
both
|
inbound
|
outbound
}
Required
By default, no source CPU is configured for a
local mirroring group.