4
# Create IPv6 basic ACL 2001 with the name
flow
, and enter its view.
<Sysname> system-view
[Sysname] acl ipv6 number 2001 name flow
[Sysname-acl6-basic-2001-flow]
acl ipv6 copy
Syntax
acl ipv6 copy
{
source-acl6-number
|
name
source-acl6-name
}
to
{
dest-acl6-number
|
name
dest-acl6-name
}
View
System view
Default level
2: System level
Parameters
source-acl6-number
: Specifies a source IPv6 ACL that already exists by its number:
•
2000 to 2999 for IPv6 basic ACLs
•
3000 to 3999 for IPv6 advanced ACLs
name
source-acl6-name
: Specifies a source IPv6 ACL that already exists by its name. The
source-acl6-name
argument takes a case insensitive string of 1 to 63 characters.
dest-acl6-number
: Assigns a unique number for the IPv6 ACL you are creating. This number must be from
the same ACL category as the source ACL. Available value ranges include:
•
2000 to 2999 for IPv6 basic ACLs
•
3000 to 3999 for IPv6 advanced ACLs
name
dest-acl6-name
: Assigns a unique name for the IPv6 ACL you are creating. The
dest-acl6-name
takes a case insensitive string of 1 to 63 characters. It must start with an English letter, and to avoid
confusion, cannot be
all
. For this ACL, the system automatically picks the smallest number from all
available numbers in the same ACL category as the source ACL.
Description
Use the
acl ipv6 copy
command to create an IPv6 ACL by copying an IPv6 ACL that already exists.
Except the number and name (if any), the new ACL has the same configuration as the source ACL.
You can assign a name for an IPv6 ACL only when you create it. After a named IPv6 ACL is created, you
cannot rename it or remove its name.
Examples
# Create IPv6 basic ACL 2002 by copying IPv6 basic ACL 2001.
<Sysname> system-view
[Sysname] acl ipv6 copy 2001 to 2002
acl ipv6 logging frequence
Syntax
acl ipv6 logging frequence
frequence