Command Manual – ACL
H3C S7500E Series Ethernet Switches
1.2.2 acl copy
Syntax
acl copy { source-acl-number | name source-acl-name } to { dest-acl-number | name
dest-acl-name }
View
System view
Parameters
source-acl-number: Number of an existing IPv4 ACL, which must be in the following
ranges:
2000 to 2999 for basic IPv4 ACLs
3000 to 3999 for advanced IPv4 ACLs
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:
2000 to 2999 for basic IPv4 ACLs
3000 to 3999 for advanced IPv4 ACLs
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:
The source IPv4 ACL and the destination IPv4 ACL must be of the same type.
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.
Chapter 1 ACL Configuration Commands
1-8