Operation Manual – ACL
H3C S3610&S5510 Series Ethernet Switches
Chapter 2 IPv4 ACL Configuration
2-11
2.6 Copying an IPv4 ACL
This feature allows you to copy an existent IPv4 ACL to generate a new one, which is of
the same type and has the same match order, match rules, rule numbering step and
descriptions as the source IPv4 ACL.
2.6.1 Configuration Prerequisites
Make sure that the source IPv4 ACL exists while the destination IPv4 ACL does not.
2.6.2 Configuration Procedure
Table 2-1
Follow these steps to copy an IPv4 ACL:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Copy an existing IPv4
ACL to generate a new
one of the same type
acl copy
{
source-acl-number
|
name source-acl-name
}
to
{
dest-acl-number
|
name
dest-acl-name
}
Required
Caution:
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.
2.7 Displaying and Maintaining IPv4 ACLs
To do...
Use the command…
Remarks
Display information about
a specified or all IPv4
ACLs
display
acl
{
acl-number
|
all
|
name
acl-name
}
Available in any
view
Display the configuration
and state of a specified or
all time ranges
display
time-range
{
time-name
|
all
}
Available in any
view
Clear statistics about a
specified or all IPv4 ACLs
that are referenced by
upper layer software
reset
acl
counter
{
acl-number
|
all
|
name
acl-name
}
Available in user
view