3com 5500-ei pwr Installation Instruction

Page of 1072
 
1-31 
Set the maximum rate of outbound packets sourced from the marketing department to 
64 kbps. Drop the packets exceeding the rate limit.  
Set the maximum rate of outbound IP packets sent by PC 1 in the R&D department to 
640 kbps. Drop the packets exceeding the rate limit.  
Network diagram 
Figure 1-9 Network diagram for traffic policing and rate limiting configuration 
 
 
Configuration procedure 
1)  Define an ACL for traffic classification. 
# Create ACL 2000 and enter basic ACL view.  
<Sysname> system-view 
[Sysname] acl number 2000 
# Define a rule for the packets with 192.168.0.1 as the source IP address.  
[Sysname-acl-basic-2000] rule permit source 192.168.0.1 0  
[Sysname-acl-basic-2000] quit 
2)  Configure traffic policing and rate limiting 
# Set the maximum rate of outbound packets sourced from the marketing department to 64 
kbps.  
[Sysname] interface Ethernet1/0/2 
[Sysname-Ethernet1/0/2] line-rate inbound 64 
[Sysname-Ethernet1/0/2] quit 
# Set the maximum rate of outbound IP packets sent by PC 1 in the R&D department to 640 
kbps.  
[Sysname] interface Ethernet1/0/1 
[Sysname-Ethernet1/0/1] traffic-limit inbound ip-group 2000 640 exceed drop 
Configuration Example of Priority Marking and Queue Scheduling 
Network requirements 
As shown in 
an enterprise network connects all the departments through an 
Ethernet switch. Clients PC 1 through PC 3 are connected to Ethernet 1/0/1 of the switch;