3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2108 CHAPTER 139: IPV6 ACL CONFIGURATION COMMANDS
name acl6-name: Specifies the name of the ACL, which is a case insensitive string
of 1 to 32 characters. It must start with an English letter and cannot be the English
word of all to avoid confusion.
Description Use the
reset acl ipv6 counter command to clear statistics about specified or all
basic and advanced IPv6 ACLs.
Example # Clear the statistics about IPv6 ACL 2001.
<Sysname> reset acl ipv6 counter 2001
# Clear the statistics about the IPv6 ACL named flow.
<Sysname> reset acl ipv6 counter name flow
rule (in basic IPv6 ACL view)
Syntax rule [ rule-id ] { deny | permit } [ fragment | logging | source { ipv6-address
prefix-length | ipv6-address/prefix-length | any } | time-range time-name ] *
undo rule rule-id [ fragment | logging | source | time-range ] *
View Basic IPv6 ACL view
Parameter rule-id: IPv6 ACL rule number in the range 0 to 65534.
deny: Defines a deny statement to drop matched packets.
permit: Defines a permit statement to allow matched packets to pass.
fragment: Indicates that the rule applies only to non-first fragments. The rule
applies to both fragments and non-fragments without this keyword.
logging: Specifies to log matched packets. The log provides information about
ACL rule number, whether packets are permitted or dropped, upper layer protocol
that IP carries, source/destination address, source/destination port number, and
number of packets.
source { ipv6-address prefix-length | ipv6-address/prefix-length | any }: Specifies a
source address. The ipv6-address and prefix-length arguments specify a source
IPv6 address, and its address prefix length in the range 1 to 128. The any keyword
indicates any IPv6 source address.
time-range time-name: Specifies the time range in which the rule takes effect.
The time-name argument specifies a time range name with 1 to 32 characters. It is
case insensitive and must start with an English letter. To avoid confusion, this name
cannot be all.
Description Use the
rule command to create an IPv6 ACL rule or modify the rule if it has
existed.