180 
 
Configuring mirroring CPUs for a local mirroring group   
To do…  Use the command…  Remarks 
1.  Enter system view. 
system-view  — 
2.  Configure mirroring CPUs. 
mirroring-group group-id 
mirroring-cpu slot slot-number-list 
{ both | inbound | outbound } 
Required. 
By default, no mirroring CPU is 
configured for a mirroring group. 
 
  NOTE: 
A mirroring group can contain multiple mirroring CPUs. 
 
Configuring the monitor port for a local mirroring group   
On the source device, configure the tunnel interface as the monitor port; on the destination device, 
configure the port that connects the data monitoring device as the monitor port.  
You can configure the monitor port for a mirroring group in system view, or assign the current port to a 
mirroring group as the monitor port in interface view. The two modes lead to the same result.  
Configuring the monitor port in system view   
To do…  Use the command…  Remarks 
1.  Enter system view. 
system-view  — 
2.  Configure the monitor port. 
mirroring-group group-id monitor-
port monitor-port-id 
Required. 
By default, no monitor port is 
configured for a mirroring group. 
 
Configuring the monitor port in interface view  
To do…  Use the command…  Remarks 
1.  Enter system view. 
system-view  — 
2.  Enter interface view. 
interface interface-type interface-
number 
— 
3.  Configure the current port as 
the monitor port. 
[ mirroring-group group-id ] 
monitor-port 
Required. 
By default, a port does not serve 
as the monitor port for any 
mirroring group.