898 CHAPTER 72: PORT MIRRORING CONFIGURATION
Configuring Remote 
Port Mirroring
Configuring a Remote
Source Mirroring Group
Follow these steps to configure a remote port mirroring group
n
■ All ports in a remote mirroring group belong to the same device. A remote 
source mirroring group can have only one outbound mirroring port.
■ The outbound mirroring port cannot be a member port of the current 
mirroring group.
■ It is not recommended to add the source ports to a remote VLAN, which can 
be used for remote mirroring only.
■ It is not recommended to configure STP, RSTP, MSTP, 802.1x, IGMP Snooping, 
static ARP and MAC address learning on the outbound mirroring port; 
otherwise, the mirroring function may be affected.
■ 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.
■ 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.
To do… Use the command…  Remarks 
Enter system view system-view - 
Create a remote source 
mirroring group
mirroring-group group-id 
remote-source 
Required 
Add ports to 
the mirroring 
group as 
source ports 
In system view  mirroring-group group-id 
mirroring-port 
mirroring-port-list { both | 
inbound | outbound } 
Use either approach.
You can add ports to a 
source port mirroring group 
in either system view or 
interface view. They achieve 
the same purpose. 
In interface 
view 
interface interface-type 
interface-number
[ mirroring-group 
group-id ] mirroring-port 
{ both | inbound | 
outbound }
quit
Add a port to 
the mirroring 
group as the 
outbound 
mirroring port 
In system view  mirroring-group group-id 
monitor-egress 
monitor-egress-port-id 
Use either approach.
You can add ports to a 
source mirroring group in 
either system view or 
interface view. They achieve 
the same purpose. 
In interface 
view 
interface interface-type 
interface-number
mirroring-group group-id 
monitor-egress
quit
Configure the remote port 
mirroring VLAN for the 
mirroring group
mirroring-group group-id 
remote-probe vlan 
rprobe-vlan-id 
Required