3com WX3000 Manuel D’Utilisation

Page de 715
 
1-30 
Configuration procedure 
You can configure traffic mirroring on all the packets matching specific ACL rules, or on packets that 
match specific ACL rules and are of a VLAN, of a port group, or pass a port. 
Follow these steps to configure traffic mirroring globally: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter Ethernet port view of the 
destination port 
interface interface-type 
interface-number 
— 
Define the current port as the 
destination port 
monitor-port 
Required 
Exit current view  
quit 
— 
Reference ACLs for identifying 
traffic flows and perform traffic 
mirroring for packets that 
match. 
mirrored-to inbound acl-rule 
monitor-interface 
Required  
 
Follow these steps to configure traffic mirroring for a VLAN: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter Ethernet port view of the 
destination port 
interface interface-type 
interface-number 
— 
Define the current port as the 
destination port 
monitor-port 
Required 
Exit current view  
quit 
— 
Reference ACLs for identifying 
traffic flows and perform traffic 
mirroring for packets that 
match. 
mirrored-to vlan vlan-id 
inbound acl-rule 
monitor-interface 
Required  
 
Follow these steps to configure traffic mirroring for a port group: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter Ethernet port view of the 
destination port 
interface interface-type 
interface-number 
— 
Define the current port as the 
destination port 
monitor-port 
Required 
Exit current view  
quit 
— 
Enter port group view  
port-group group-id 
— 
Reference ACLs for identifying 
traffic flows and perform traffic 
mirroring for packets that 
match. 
mirrored-to inbound acl-rule 
monitor-interface 
Required