3com 8807 Guia De Referência

Página de 1099
224
C
HAPTER
 16: ACL C
OMMANDS
3999. acl-name: Name of the ACL, which must be a character string starting with 
an English letter (a-z or A-Z), and without any space in it.
link-group { acl-number | acl-name }: Activates Layer 2 ACLs. acl-number
Sequence number of ACL, ranging from 4000 to 4999. acl-name: Name of ACL, 
which must be a character string started with an English letter (a-z or A-Z), and 
without any space in it.
rule rule: Specifies the rule of an active ACL, ranging from 0 to 127; if not 
specified, all rules of ACL will be activated.
system-index index here is the system index for an ACL rule. When delivering a 
rule, the system assigns a globally unique index to it, for convenience of later 
retrieval. You can also assign a system index for it when delivering an ACL rule 
with this command, but this value may change in the system operation process. 
However, you are not recommended to manually assign a system index if not 
urgently necessary.
slot slotid: Slot number of a service processor card.
Description
Use the packet-filter command to activate an ACL.
Use the undo packet-filter command to deactivate an active ACL.
Example
# Activate ACL 2000.
<SW8800>system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800]interface ethernet5/1/1
 
[3Com-Ethernet5/1/1] packet-filter inbound ip-group 2000 
reset acl counter
Syntax
reset acl counter { all | acl-number | acl-name }
View
User view
Parameter
all: Displays all ACLs (both number- and name-identified ones).
acl-number: Serial number of the ACL, in the range of 2000 to 3999.
acl-name: ACL name, string parameter ranging from 1 to 32 bytes. It must start 
with an English letter ([a-z, A-Z]). No space is allowed in it. It is case insensitive. The 
keywords all is forbidden.
Description
Use the reset acl counter command to clear ACL statistics to zero.
Example
# Clear the statistics of ACL 2000.