14-25
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.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...