3Com Switch 7750 Series
Command Reference Guide – ACL
Chapter 1 ACL Commands
1-13
Description
Use the
packet-filter
command to activate ACL on a port to filter packets.
Use the
undo packet-filter
command to cancel it.
Note:
ARP packets are allowed to pass by default on the Switch 7750. You cannot use the
packet-filter
command to filter ARP packets, even though you have used the
rule
command to define a Layer 2 ACL, in which the argument
protocol
is defined as ARP.
Example
# Apply ACL 2000 on Ethernet 3/0/1 to filter packets.
[3Com-qoss-Ethernet3/0/1] packet-filter inbound ip-group 2000
1.1.12 reset acl counter
Syntax
reset acl counter
{
all
|
acl-number
|
acl-name
}
View
User view
Parameter
all
: All ACLs (including those identified by a number or a name).
acl
-number: The sequence number of an ACL, ranging from 2000~3999.
acl-name
: ACL name, a case insensitive character string, which must start with an
English letter (a-z or A-Z), and there should not be a space or quotation mark in it; key
word
all
is not allowed to use.
Description
Use the
reset acl counter
command to
clear ACL statistics.
Table 1-7
The comparison between
reset
commands of statistics information
Command
Function
reset acl counter
Reset the statistics information of the ACL which is used to
filter or classify the data treated by the software of a switch.
The case includes: ACL cited by route policy function, ACL
used for controlling logon user, etc.