Rule (Basic Ipv6 Acl View) - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

Description
Use the reset acl ipv6 counter command to clear statistics on a specified IPv6 ACL or all basic and
advanced IPv6 ACLs.
Examples
# Clear the statistics on IPv6 ACL 2001, which is referenced by upper layer software.
<Sysname> reset acl ipv6 counter 2001
# Clear the statistics on IPv6 ACL flow, which is referenced by upper layer software.
<Sysname> reset acl ipv6 counter name flow

rule (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-range-name ] *
undo rule rule-id [ fragment | logging | source | time-range ] *
View
Basic IPv6 ACL view
Default Level
2: System level
Parameters
rule-id: IPv6 ACL rule number, in the range 0 to 65534.
deny: Drops matched packets.
permit: Allows matched packets to pass.
fragment: Indicates that the rule applies to only non-first fragments. A rule without this keyword applies
to all fragments and non-fragments.
logging: Logs matched packets. This function requires that the module using the ACL support logging.
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-range-name: Specifies the time range in which the rule takes effect. The
time-range-name argument 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 rule command to create a basic IPv6 ACL rule or modify an existing basic IPv6 ACL rule.
Use the undo rule command to remove a basic IPv6 ACL rule or remove some criteria from the rule.
If you specify no optional keywords, the undo rule command removes the entire ACL rule; otherwise,
the command removes only the specified criteria. Before performing the undo rule command, you
may need to use the display acl ipv6 command to view the ID of the rule.
14-25

Advertisement

Table of Contents
loading

Table of Contents