Acl configuration examples, Ipv4 acl configuration example, Network requirements – H3C Technologies H3C SR8800 User Manual
Page 23: Configuration procedure

14
Task Command
Remarks
Display the usage of ACL rules.
display acl resource [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display information about flow
templates applied to interfaces.
display flow-template interface [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display the configuration of one or
all user-defined flow templates.
display flow-template user-defined
[ flow-template-name ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display the configuration and
status of one or all time ranges.
display time-range { time-range-name | all }
[ | { begin | exclude | include }
regular-expression ]
Available in any view
Clear statistics for one or all IPv4
ACLs.
reset acl counter { acl-number | all | name
acl-name }
Available in user view
Clear statistics for 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
A company interconnects its departments through Device A. Configure an ACL to:
•
Permit access from the President's office at any time to the salary server.
•
Deny access from any other department to the salary server from 8:00 to 18:00.
Figure 3 Network diagram
Configuration procedure
1.
Create a time range for office hours: