Configuration Procedure
Displaying and
Maintaining IPv4 ACLs
IPv4 ACL
Configuration
Example
Network Requirements
Follow these steps to copy an IPv4 ACL:
To do...
Enter system view
Copy an existing IPv4 ACL to
generate a new one of the
same type
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.
■
To do...
Display information about a specified
or all IPv4 ACLs
Display information about ACL uses of
a switch
Display the configuration and state of a
specified or all time ranges
Clear statistics about a specified or all
IPv4 ACLs that are referenced by upper
layer software
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.
Displaying and Maintaining IPv4 ACLs
Use the command...
system-view
acl copy { source-acl-number | name
source-acl-name } to
{ dest-acl-number | name
dest-acl-name }
Use the command...
display acl { acl-number | all |
name acl-name }
display acl resource
display time-range
{ time-name | all }
reset acl counter
{ acl-number | all | name
acl-name }
847
Remarks
-
Required
Remarks
Available in any
view
Available in any
view
Available in any
view
Available in user
view