3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2092 CHAPTER 138: IPV4 ACL CONFIGURATION COMMANDS
reset acl counter
Syntax reset acl counter { acl-number | all | name acl-name }
View User view
Parameter acl-number: IPv4 ACL number in the range 2000 to 4999, where:
2000 to 2999 for basic IPv4 ACLs
3000 to 3999 for advanced IPv4 ACLs
4000 to 4999 for Ethernet frame header ACLs
all: All IPv4 ACLs except for user-defined ACLs.
name acl-name: Specifies the name of the ACL, which is a case insensitive string
of 1 to 32 characters. It must start with an English letter and cannot be the English
word of all to avoid confusion.
Description Use the
reset acl counter command to clear statistics about specified or all IPv4
ACLs except for user-defined ACLs.
Example # Clear statistics about IPv4 ACL 2001.
<Sysname> reset acl counter 2001
# Clear statistics about IPv4 ACL flow.
<Sysname> reset acl counter name flow
rule (in basic IPv4 ACL view)
Syntax rule [ rule-id ] { deny | permit } [ fragment | logging | source { sour-addr
sour-wildcard | any } | time-range time-name | vpn-instance vpn-instance-name ] *
undo rule rule-id [ fragment | logging | source | time-range | vpn-instance ] *
View Basic IPv4 ACL view
Parameter rule-id: Basic IPv4 ACL rule number in the range 0 to 65534.
deny: Defines a deny statement to drop matched packets.
permit: Defines a permit statement to allow matched packets to pass.
rule 5 comment This rule is
used in eth 1
The description of ACL rule 5 is "This rule is used in eth 1."
Table 545 Description on the fields of the display acl command
Field Description