Operation Manual – Port Mirroring
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 Port Mirroring Configuration
1-7
To do…
Use the command…
Remarks
In system
view
mirroring-group group-id
monitor-port monitor-port-id
interface
interface-type
interface-number
[
mirroring-group group-id
]
monitor-port
Add a port
to the port
mirroring
group as
the
destination
port
In interface
view
quit
You can add a
port to a
remote port
mirroring group
as the
destination
port in either
system view or
interface view.
They achieve
the same
purpose.
Enter destination interface
view
interface interface-type
interface-number
—
The port is
an access
port
port access vlan rprobe-vlan-id
The port is a
trunk port
port trunk permit vlan
rprobe-vlan-id
Add the
port to the
remote
port
mirroring
VLAN
The port is a
hybrid port
port hybrid
vlan
rprobe-vlan-id
{
tagged
|
untagged
}
Perform one of
these three
operations
according to
the port type.
Note:
z
A destination port cannot be a member port of the current mirroring group.
z
A port can be configured in only one mirroring group, and a VLAN can be used by
only one mirroring group.
z
It is not recommended to enable STP, RSTP or MSTP on the destination port;
otherwise, the mirroring function may be affected.
z
Only existing static VLANs can be configured as remote port mirroring VLANs. To
remove a VLAN operating as a remote port mirroring VLAN, you need to restore it to
a normal VLAN first. A remote port mirroring group gets invalid if the corresponding
remote port mirroring VLAN is removed.
1.4 Displaying Port Mirroring
Follow these steps to display port mirroring:
To do…
Use the command…
Remarks
Display the configuration
of a port mirroring group
display mirroring-group
{
groupid
|
all
|
local
|
remote-destination
|
remote-source
}
Available in
any view