3com 4500 26-PORT Manual De Usuario
ACL Commands List
187
reset acl counter
Syntax
reset acl counter { all | acl-number }
View
User View
Parameter
all:
All ACLs.
acl-number:
Specifies the sequence number of an ACL.
Description
Use the
reset acl counters
command to reset the ACL statistics information to
zero.
Example
Clear the statistics information of ACL 2000.
<4500>reset acl counters 2000
rule
Syntax
Define or delete the subrules of a basic ACL:
rule [ rule-id ] { permit | deny } [source { source-addr wildcard |
any } fragment ]*
undo rule rule-id [ source | fragment ]*
Define or delete the subrules of an advanced ACL:
rule [ rule-id
] { permit
| deny }
protocol [ source { source-addr
wildcard | any } ] [ destination { dest-addr wildcard
| any } ] [
source-port operator port1
[ port2 ] ] [ destination-port
operator
port1
[
port2
] ] [ icmp-type
type code
] [ established ] [ [ {
precedence
precedence
tos
tos
]* | dscp
dscp
] [ vpn-instance
instance
| fragment ]*
undo rule
rule-id
[ source | destination | source-port |
destination-port | icmp-type | precedence | tos | dscp | fragment |
time-range | vpn-instance ]*
Define or delete the subrules of a Layer 2 ACL:
rule [ rule-id
] { permit | deny } [ [ type protocol-type type-mask
|
lsap
l
sap-type type-mask
] | format-type
|
cos cos
| source {
source-vlan-id | source-mac-addr source-mac-wildcard
}* | dest {
dest-mac-addr dest-mac-wildcard
} ]*
undo rule
rule-id
Define or cancel the subrules of user-defined ACL
rule
[
rule-id
] { permit | deny } { rule-string rule-mask offset
}&<1-8> ]