Operation Manual – Port Mirroring
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 Port Mirroring Configuration
1-4
To do…
Use the command…
Remarks
In system
view
mirroring-group group-id
mirroring-port
mirroring-port-list
{
both
|
inbound
|
outbound
}
interface
interface-type
interface-number
[
mirroring-group group-id
]
mirroring-port
{
both
|
inbound
|
outbound
}
Add ports
to the port
mirroring
group as
source
ports
In interface
view
quit
You can add ports to
a port mirroring group
as source ports in
either system view or
interface view.
In system view, you
can add multiple
ports to a port
mirroring group at
one time. While in
interface view, you
can only add the
current port to a port
mirroring group.
In system
view
mirroring-group group-id
monitor-port monitor-port-id
interface
interface-type
interface-number
Add a port
to the
mirroring
group as
the
destination
port
In interface
view
[
mirroring-group group-id
]
monitor-port
You can add a
destination port to a
port mirroring group
in either system view
or interface view.
They achieve the
same purpose.
Note:
z
A local mirroring group is effective only when it has both source ports and the
destination port configured.
z
You must create a mirroring group before you can specify it.
z
It is not recommended to enable STP, RSTP or MSTP on the destination port;
otherwise, the mirroring function may be affected.
z
An aggregation port cannot be specified as a destination port.
z
A source port or a destination port cannot be a member port of the current mirroring
group.
z
You can configure multiple source ports for a mirroring group, but only one
destination port.