Operation Manual – Mirroring 
Quidway S3900 Series Ethernet Switches  Chapter 1  Mirroring Configuration
 
Huawei Technologies Proprietary 
1-7 
 
outbound: only mirrors the packets sent by the port; both: mirrors the packets 
received and sent by the port at the same time. 
z  The destination port is specified.  
z  The group number of the mirroring group is specified.  
II. Configuring port mirroring in Ethernet port view 
Table 1-6 Configure port mirroring in Ethernet port view (1) 
Operation  Command  Description 
Enter system view 
system-view 
— 
Create a port mirroring 
group 
mirroring-group  group-id 
local 
Required 
Enter Ethernet port 
view of the destination 
port 
interface  interface-type 
interface-number 
— 
Define the current port 
as the destination port 
monitor-port 
Required 
LACP and TCP must be 
disabled on the destination 
port. 
Exit current view 
quit 
— 
Enter Ethernet port 
view of the source port 
interface  interface-type 
interface-number 
— 
Configure the source 
port and specify the 
direction of the 
packets to be mirrored  
mirroring-port { inbound | 
outbound | both } 
Required 
 
Display parameter 
settings of the 
mirroring  
display mirroring-group 
{ all | local } 
Optional 
This  command can be 
executed in any view. 
 
  Note: 
If you specify the destination port and source port in Ethernet port view without creating 
a port mirroring group, the mirroring group 1 will be created automatically. 
 
Table 1-7 Configure port mirroring in Ethernet port view (2) 
Operation  Command  Description 
Enter system view 
system-view 
— 
Create a port mirroring 
group 
mirroring-group  group-id 
local 
Required