Parameter
acl-number: The sequence number of the rule whose statistics will be cleared. It is
any integer in the range of 1 to 199, 200 to 299 and 700 to 799. If not specified, the
statistics of all the rules will be cleared.
Description
Using the reset acl counters command, you can clear counters of access control list
rules.
By default, no clear access-list counters.
This command is used to clear the counters of all access rules currently in service. If
no numbering of rules is specified, then the counters of all the access rules are
deleted.
For related commands, see acl.
Example
# Clear the counters of all the access rules whose serial number is 100.
[3Com]reset acl counters 100
# Clear the counters of all the access rules currently in service.
[3Com]reset acl counters
3.1.11 rule
Syntax
rule { normal | special } { permit | deny } [source source-addr source-wildcard |
any ]
rule { normal | special } { permit | deny } pro-number [source
source-wildcard | any ] [ destination dest-addr dest- wildcard | any ] [source-port
operator port1 [ port2 ] ] [destination-port operator port1 [ port2 ] ] [icmp-type
icmp-type icmp-code] [logging]
undo rule { rule-id | normal | special }
View
ACL view
Parameter
rule: Add an ACL rule.
Security
source-addr
37