Switch 7700 Command reference Guide, v2.0

Table Of Contents
ACL Configuration Command List 275
rule rule: Specifies the rule in the ACL to be activated, ranging from 0 to 127. If
it is not specified, all the rules in the ACL will be activated.
Description
Use the packet-filter command to activate the ACL.
Use the undo packet-filter command to disable the ACL.
Example
Activate ACL 1 and ACL 200 at the same time.
[SW7700-Ethernet3/0/1]qos
[SW7700-qos-Ethernet3/0/1]packet-filter inbound ip-group 1
link-group 200
reset acl counter Syntax
reset acl counter { all | acl-number | acl-name }
View
User view
Parameter
all: All the access lists (including numbered and named access lists).
acl-number: Specifies an access list with a number in the range of 1 to 399 and
1000 to 1999.
acl-name: Specifies an access list with a character string, beginning with English
letters [a-z, A-Z] only, excluding space and quotation marks, and not case
sensitive. The
all and any keywords are not allowed.
Description
Use the reset acl counters command to reset the statistics information of the
ACL and reset the counters of packet and byte matching the ACL.
Example
Clear the statistics information of ACL 1.
<SW7700>reset acl counters 1
rule Syntax
Define/delete a rule for basic acl:
rule [ rule-id ] { permit | deny } [source source-addr
source-wildcard | any ] [ fragment ] [ time-range name ]
undo rule rule-id [ source ] [ fragment ] [ time-range ]
Define/delete a rule for advanced acl:
rule [ rule-id ] { permit | deny } protocol [ source source-addr
source-wildcard | any ] [ destination dest-addr dest-mask | any ] [
source-port operator port1 [ port2 ] ] [ destination-port operator
port1 [ port2 ] ] [ icmp-type icmp-type icmp-code ] [ established ]