3com WX3000 User Manual

Page of 715
 
1-27 
Configuration example 
# Configure a device to adopt SP+SDWRR combination for queue scheduling, assigning queue 3, 
queue 4, and queue 5 to WRR scheduling group 1, with the weigh of 20, 20 and 30; assigning queue 0, 
queue 1, and queue 2 to WRR scheduling group 2, with the weight 20, 20, and 40; using SP for 
scheduling queue 6 and queue 7. Display the configuration information after configuration. 
Configuration procedure: 
<device> system-view 
[device] queue-scheduler wrr group1 3 20 4 20 5 30 group2 0 20 1 20 2 40 
[device] display queue-scheduler 
QID:   scheduling-group     weight 
----------------------------------- 
  0 :   wrr , group2           20 
  1 :   wrr , group2           20 
  2 :   wrr , group2           40 
  3 :   wrr , group1           20 
  4 :   wrr , group1           20 
  5 :   wrr , group1           30 
  6 :   sp                      0 
  7 :   sp                      0  
Collecting/Clearing Traffic Statistics 
Refer to 
 for information about traffic accounting. 
Configuration prerequisites 
The ACL rules for traffic classification are defined. Refer to the ACL module  of this manual for 
information about defining ACL rules. 
Configuration procedure 
You can collect traffic statistics or clear traffic statistics 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 collect traffic statistics on all the packets matching specific ACL rules: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Collect the statistics on the 
packets matching specific ACL 
rules 
traffic-statistic inbound acl-rule
Required 
Clear the statistics on the packets 
matching specific ACL rules 
reset traffic-statistic inbound 
acl-rule 
Optional 
 
Follow these steps to collect traffic statistics on packets that are of a VLAN and match specific ACL 
rules: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
—