Command Manual – Port Mirroring
H3C S7500E Series Ethernet Switches Chapter 1 Port Mirroring Configuration Commands
1-9
Use the undo monitor-port command to remove the destination mirroring port from a
port mirroring group.
If you do not specify the mirroring-group group-id keyword-argument combination,
the monitor-port command adds the current port to port mirroring group 1.
Note that:
z If you do not specify the mirroring-group group-id keyword-argument
combination, these two commands apply to port mirroring group 1.
z A remote source mirroring group cannot contain destination mirroring ports.
z Member ports of existing port mirroring groups cannot be destination ports.
z The remote destination mirroring port can be an access, trunk, or hybrid port. It
must be assigned to the remote mirroring VLAN.
z Before adding 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
# Add port Ethernet 2/0/1 to port mirroring group 1 (a local port mirroring group) as the
destination port.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] interface Ethernet 2/0/1
[Sysname-Ethernet2/0/1] monitor-port