3com S7906E 참조 가이드
1-7
<Sysname> system-view
[Sysname] undo acl number 2000
# Delete the IPv4 ACL named flow.
<Sysname> system-view
[Sysname] undo acl name flow
acl copy
Syntax
acl copy { source-acl-number | name source-acl-name } to { dest-acl-number | name dest-acl-name }
View
System view
Default Level
2: System level
Parameters
source-acl-number: Number of an existing IPv4 ACL, which must be in the following ranges:
z
2000 to 2999 for basic IPv4 ACLs
z
3000 to 3999 for advanced IPv4 ACLs
z
4000 to 4999 for Ethernet frame header ACLs
source-acl-name: Name of an existing IPv4 ACL, 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.
dest-acl-number: Number of a non-existent IPv4 ACL, which must be in the following ranges:
z
2000 to 2999 for basic IPv4 ACLs
z
3000 to 3999 for advanced IPv4 ACLs
z
4000 to 4999 for Ethernet frame header ACLs
dest-acl-name: Name for the new IPv4 ACL, 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. The system will
automatically assign the new ACL a sequence number which is the smallest one among the available
ones in the ACL range for the ACL type.
Description
Use the acl copy command to copy an existent IPv4 ACL (namely, the source IPv4 ACL) to generate a
new one (namely, the destination IPv4 ACL). The new ACL is of the same type and has the same match
order, match rules, rule numbering step and descriptions.
Note that:
z
The source IPv4 ACL and the destination IPv4 ACL must be of the same type.
z
The generated ACL does not take the name of the source IPv4 ACL.
Examples
# Copy basic IPv4 ACL 2008 to generate basic IPv4 ACL 2009.
<Sysname> system-view
[Sysname] acl copy 2008 to 2009