1-5 
When configuring local port mirroring, note that: 
z   You need to configure the source and destination ports for the local port mirroring to 
take effect. 
z   The source port and the destination port cannot be a member port of an existing 
mirroring group; besides, the destination port cannot be a member port of an 
aggregation group or a port enabled with LACP or STP. 
Configuring Remote Port Mirroring 
 
 
A Switch 4200G can serve as a source switch, an intermediate switch, or a destination 
switch in a remote port mirroring networking environment. 
 
Configuration on a switch acting as a source switch 
1) Configuration prerequisites 
z   The source port, the reflector port, and the remote-probe VLAN are determined. 
z   Layer 2 connectivity is ensured between the source and destination switches over the 
remote-probe VLAN. 
z   The direction of the packets to be monitored is determined. 
2) Configuration procedure 
Table 1-3 Follow these steps to perform configurations on the source switch: 
To do…  Use the command…  Remarks 
Enter system view
 
system-view 
— 
Create a VLAN and enter 
the VLAN view
 
vlan vlan-id 
vlan-id is the ID of the 
remote-probe VLAN.
 
Configure the current VLAN 
as the remote-probe VLAN
 
remote-probe vlan enable
Required
 
Return to system view
 
quit 
— 
Enter the view of the 
Ethernet port that connects 
to the intermediate switch 
or destination switch
 
interface interface-type 
interface-number 
— 
Configure the current port 
as trunk port 
port link-type trunk 
Required 
By default, the port type is 
Access. 
Configure the trunk port to 
permit packets from the 
remote-probe VLAN 
 
port trunk permit vlan 
remote-probe-vlan-id 
Required