Displaying and maintaining acls, Acl configuration examples, Ipv4 acl configuration example – H3C Technologies H3C S7500E Series Switches User Manual
Page 25: Network requirements

1-15
Displaying and Maintaining ACLs
To do...
Use the command…
Remarks
Display configuration and match
statistics for one or all IPv4 ACLs
(distributed device)
display acl { acl-number | all | name
acl-name } [ slot slot-number ]
Available in any view
Display configuration and match
statistics for one or all IPv4 ACLs
(distributed IRF device)
display acl { acl-number | all | name
acl-name } [ chassis chassis-number slot
slot-number ]
Available in any view
Display configuration and match
statistics for one or all IPv6 ACLs
(distributed device)
display acl ipv6 { acl6-number | all |
name acl6-name } [ slot slot-number ]
Available in any view
Display configuration and match
statistics for one or all IPv6 ACLs
(distributed IRF device)
display acl ipv6 { acl6-number | all |
name acl6-name } [ chassis
chassis-number slot slot-number ]
Available in any view
Display the usage of ACL
resources (distributed device)
display acl resource [ slot slot-number ]
Available in any view
Display the usage of ACL
resources (distributed IRF device)
display acl resource [ chassis
chassis-number slot slot-number ]
Available in any view
Display the configuration and
status of one or all time ranges
display time-range { time-range-name |
all }
Available in any view
Clear statistics on one or all IPv4
ACLs
reset acl counter { acl-number | all |
name acl-name }
Available in user view
Clear statistics on one or all IPv6
basic and advanced ACLs
reset acl ipv6 counter { acl6-number | all
| name acl6-name }
Available in user view
ACL Configuration Examples
IPv4 ACL Configuration Example
Network Requirements
As shown in
, 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.