3Com Switch 8800 Family Command Reference Guide

QoS Commands 263
rule rule: Specifies the subitem of an active ACL, ranging from 0 to 127; if not
specified, all subitems of ACL will be activated.
Description
Use the reset traffic-statistic command to clear statistics of all traffic or traffic of
a specific ACL.
Example
# Clear traffic statistics of the ACL 4000.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800]interface e thernet3/1/1
[3Com-Ethernet3/1/1] reset traffic-statistic inbound link-group 4000
traffic-limit Syntax
Command format which only applies IP group ACL
traffic-limit inbound ip-group { acl-number | acl-name } [ rule rule [
system-index index ] ] [ tc-index index ] cir cbs ebs [ pir ] [ conform { {
remark-cos | remark-drop-priority }* | remark-policed-service } ] [ exceed {
forward | drop } ]
undo traffic-limit inbound ip-group { acl-number | acl-name } [ rule rule ]
In VLAN view:
traffic-limit inbound ip-group { acl-number | acl-name } [ rule rule [
system-index index ] ] traffic-index index ] [ conform { { remark-cos |
remark-policed-service } ] [ exceed { forward | drop } ] slot slotid
undo traffic-limit inbound ip-group { acl-number | acl-name } [ rule rule ] slot
slotid
Command format which applies IP group and link group ACL at the same
time
traffic-limit inbound ip-group { acl-number | acl-name } { rule rule link-group {
acl-number | acl-name } [ rule rule [ system-index index ] ] | link-group {
acl-number | acl-name } rule rule } [ tc-index index ] cir cbs ebs [ pir ] [ conform {
{ remark-cos | remark-drop-priority }* | remark-policed-service } ] [ exceed {
forward | drop } ]
Tab le 39 Comparison between two statistics clearing commands
Command Description
reset acl counter Clears ACL statistics. This command is for the ACLs that perform
filtering and traffic classification to the packets processed by software.
The cases for software to import ACLs include ACL importing for routing
policy, ACL importing for registered user control. The ACL ID available
here is in the range of 2000 to 3999.
reset
traffic-statistic
Clear traffic statistics. This command is for the ACLs sent to hardware
for packet filtering and traffic classification. This command usually clears
the statistics collected with the traffic-statistic command.