Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Chapter 2 QoS Commands
Huawei Technologies Proprietary
2-32
2.1.31 reset traffic-statistic
Syntax
reset traffic-statistic
inbound
{ {
ip-group
{
acl-number
|
acl-name
}
rule rule
|
link-group
{
acl-number
|
acl-name
} }* | {
ip-group
{
acl-number
|
acl-name
} |
link-group
{
acl-number
|
acl-name
}
rule rule
}* |
ip-group
{
acl-number
|
acl-name
}
rule rule link-group
{
acl-number
|
acl-name
}
rule rule
}
View
Ethernet port view
Parameter
inbound
: Clears statistics of the inbound packets at the port.
ip-group
{
acl-number
|
acl-name
}: Activates IP ACLs, including basic and advanced
ACLs.
acl-number
: Sequence number of ACL, ranging from 2000 to 3999.
acl-name
:
Name of the ACL, which must be a character string starting with an English letter (a-z or
A-Z), and without any space or quotation mark in it.
link-group
{
acl-number
|
acl-name
}: Activates Layer 2 ACLs.
acl-number
: Sequence
number of ACL, ranging from 4000 to 4999.
acl-name
: Name of ACL, which must be a
character string started with an English letter (a-z or A-Z), and without any space or
quotation mark in it.
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.
Table 2-7
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.