14-20
IPv6 ACL Configuration Commands
acl ipv6
Syntax
acl
ipv6 number
acl6-number
[
name acl6-name
] [
match-order
{
auto
|
config
} ]
undo
acl
ipv6
{
all
|
name
acl6-name
|
number
acl6-number
}
View
System view
Default Level
2: System level
Parameters
number acl6-number
: Specifies the number of the IPv6 ACL, which must be in the following ranges:
z
2000 to 2999 for basic IPv6 ACLs
z
3000 to 3999 for advanced IPv6 ACLs
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.
match-order
: Specifies the order in which ACL rules are matched.
auto
: Performs depth-first match.
config
: Performs matching against rules in the order in which they are configured.
all
: Specifies all IPv6 ACLs.
Description
Use the
acl ipv6
command to enter IPv6 ACL view. If the ACL does not exist, it is created first.
Use the
undo
acl ipv6
command to remove a specified IPv6 ACL or all IPv6 ACLs.
By default, the match order is
config
.
Note that:
z
You can specify a name for an IPv6 ACL only when you create the ACL. After creating an ACL,
you cannot specify a name for it, nor can you change or remove its name.
z
The name of an IPv6 ACL must be unique among IPv6 ACLs. However, an IPv4 ACL and an IPv6
ACL can share the same name.
z
If you specify both an ACL number and an ACL name in one command to enter the view of an
existing ACL, be sure that the ACL number and ACL name identify the same ACL.
z
You can also use this command to modify the match order of an existing IPv6 ACL, but only when
the ACL does not contain any rules.
Examples
# Create IPv6 ACL 2000.
<Sysname> system-view
[Sysname] acl ipv6 number 2000
[Sysname-acl6-basic-2000]
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...