reset traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] inbound [ acl { bas-acl | adv-acl } [ rule rule-id ] ] [ secure ]
reset traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] inbound acl user-acl [ rule rule-id ]
reset traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] outbound [ acl { bas-acl | adv-acl | user-acl } [ rule rule-id ] ]
reset traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] inbound [ acl { acl-name | l2-acl } [ rule rule-id ] [ acl { bas-acl | adv-acl | acl-name } [ rule rule-id ] ] ] [ secure ]
reset traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] outbound [ acl { acl-name | l2-acl } [ rule rule-id ] [ acl { bas-acl | adv-acl | acl-name } [ rule rule-id ] ] ]
reset traffic-statistics { interface | vlan } inbound [ secure ]
reset traffic-statistics { interface | vlan } outbound
reset traffic-statistics [ vlan vlan-id | interface interface-type interface-number ] { inbound | outbound } [ acl ipv6 { bas-acl | adv-acl | acl-name } [ rule rule-id ] ]
Parameter |
Description |
Value |
---|---|---|
vlan vlan-id |
Clears ACL-based traffic statistics in a specified VLAN. |
The value is an integer that ranges from 1 to 4094. |
interface interface-type interface-number |
Clears ACL-based traffic statistics on a specified interface.
|
- |
inbound |
Clears ACL-based traffic statistics in the inbound direction. |
- |
outbound |
Clears ACL-based traffic statistics in the outbound direction. |
- |
acl { bas-acl | adv-acl | user-acl } |
Clears traffic statistics on packets matching a specified ACL.
|
The value is an integer. The value ranges are as follows:
|
acl { acl-name | l2-acl } |
Clears traffic statistics on packets matching a specified ACL.
|
|
acl ipv6 |
Clears traffic statistics based on the IPv6 ACL. |
- |
rule rule-id |
Clears traffic statistics on packets matching a specified ACL rule. |
The value is an integer that ranges from 0 to 4294967294. |
secure |
Clears traffic statistics on packets based on packet filtering policies configured through the traffic-secure (interface view) or traffic-secure (system view) command. |
- |
Usage Scenario
Before re-collecting ACL-based traffic statistics, run the reset traffic-statistics command to clear existing statistics. Then run the display traffic-statistics command to view ACL-based traffic statistics.
Precautions
After the reset traffic-statistics command is executed, statistics are cleared and cannot be restored. Exercise caution when you use this command.