3com WX3000 User Manual

Page of 715
 
1-34 
# Create ACL 2000 and enter basic ACL view to classify packets sourced from the 192.168.1.0/24 
network segment.  
<device> system-view  
[device] acl number 2000 
[device-acl-basic-2000] rule permit source 192.168.1.0 0.0.0.255 
[device-acl-basic-2000] quit 
# Create ACL 2001 and enter basic ACL view to classify packets sourced from the 192.168.2.0/24 
network segment. 
[device] acl number 2001 
[device-acl-basic-2001] rule permit source 192.168.2.0 0.0.0.255 
[device-acl-basic-2001] quit 
2)  Configure traffic policing 
# Set the maximum rate of outbound IP packets sourced from the marketing department to 64 kbps.  
[device] traffic-limit vlan 2 inbound ip-group 2001 64 exceed drop 
# Set the maximum rate of outbound IP packets sourced from the R&D department to 128 kbps.   
[device] traffic-limit vlan 1 inbound ip-group 2000 128 exceed drop