H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – Port Mirroring
H3C S7500E Series Ethernet Switches Chapter 1 Port Mirroring Configuration
1-6
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
Use either
approach.
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 The remote destination mirroring port cannot be a member port of the current
mirroring group.
z The remote destination mirroring port can be an access, trunk, or hybrid port. It must
be assigned to the remote mirroring VLAN.
z Do not enable STP, RSTP or MSTP on the remote destination mirroring port.
Otherwise, the mirroring function may be affected.
z Do not use the remote destination mirroring port for any purpose other than port
mirroring.
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.
z Use a remote port mirroring VLAN for remote port mirroring only.
z A port can belong to only one port mirroring group. A VLAN can be the remote port
mirroring VLAN of only one port mirroring group.