H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – ACL
H3C S7500E Series Ethernet Switches Chapter 2 IPv4 ACL Configuration
2-9
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.6 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 information about
ACL uses of a switch
display acl resource [ slot
slot-id ]
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
2.7 IPv4 ACL Configuration Example
2.7.1 Network Requirements
As shown in Figure 2-1, 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.