6
Table 2
Output description
Field
Description
Current time
Current system time
Time-range
Configuration and status of the time range, including its name,
status (active or inactive), and start time and end time.
reset acl counter
Syntax
reset
acl
counter
{
acl-number
|
all
|
name
acl-name
}
View
User view
Default level
2: System level
Parameters
acl-number
: Specifies an IPv4 ACL by its number:
•
2000 to 2999 for IPv4 basic ACLs
•
3000 to 3999 for IPv4 advanced ACLs
•
4000 to 4999 for Ethernet frame header ACLs
all
: Clears statistics for all IPv4 ACLs.
name
acl-name
: Specifies an IPv4 ACL by its name. The
acl-name
argument takes a case-insensitive
string of 1 to 32 characters. It must start with an English letter.
Description
Use the
reset
acl
counter
command to clear IPv4 ACL statistics.
Related commands:
display
acl
.
Examples
# Clear statistics for IPv4 basic ACL 2001.
<Sysname> reset acl counter 2001
# Clear statistics for IPv4 ACL
flow
.
<Sysname> reset acl counter name flow
rule (Ethernet frame header ACL view)
Syntax
rule
[
rule-id
] {
deny
|
permit
} [
cos
vlan-pri
|
dest-mac
dest-addr
dest-mask
| {
lsap
lsap-type
lsap-type-mask
|
type
protocol-type
protocol-type-mask
} |
source-mac
sour-addr
source-mask
|
time-range
time-range-name
] *
undo
rule
rule-id
[
counting
|
time-range
] *
View
Ethernet frame header ACL view