Displaying and Maintaining IPv4 ACLs 847
Configuration Procedure Follow these steps to copy an IPv4 ACL:
c
CAUTION:
■ 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.
Displaying and 
Maintaining IPv4 ACLs
IPv4 ACL 
Configuration 
Example
Network Requirements As shown in Figure 253, a company interconnects its departments through the 
switch.
Configure an ACL to deny access of all departments but the President’s office to 
the salary query server during office hours (from 8:00 to 18:00) in working days.
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
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 information about ACL uses of 
a switch 
display acl resource  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