Command Manual – Port Mirroring
H3C S7500E Series Ethernet Switches Chapter 1 Port Mirroring Configuration Commands
1-6
View
System view
Parameters
group-id: Port mirroring group number, in the range of 1 to 4.
monitor-port-id: Port index. You need to provide this argument in the form of
interface-type interface-number, where interface-type is the port type and
interface-number is the port number.
Description
Use the mirroring-group monitor-port command to configure the destination port for
a port mirroring group.
Use the undo mirroring-group monitor-port command to remove the destination port
from a port mirroring group.
Note that:
z A port mirroring group can contain only one destination port.
z The destination port cannot be a member port of the current mirroring group.
z The destination mirroring port can be an access, trunk, or hybrid port. It must be
assigned to the remote mirroring VLAN.
z A remote source port mirroring group cannot contain destination ports.
z Before configuring the destination port for a port mirroring group, make sure the
port mirroring group exists.
z Do not enable STP, RSTP, or MSTP on the destination port. Otherwise, the
mirroring function may be affected.
z Do not use the destination mirroring port for any purpose other than port mirroring.
Examples
# Configure Ethernet 2/0/1 as the destination port of port mirroring group 1 (a remote
destination port mirroring group).
<Sysname> system-view
[Sysname] mirroring-group 1 remote-destination
[Sysname] mirroring-group 1 monitor-port Ethernet 2/0/1
1.1.6 mirroring-group remote-probe vlan
Syntax
mirroring-group group-id remote-probe vlan rprobe-vlan-id
undo mirroring-group group-id remote-probe vlan rprobe-vlan-id