Displaying and maintaining acls, Acl configuration examples, Ipv4 packet filtering configuration example – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 17: Network requirements
![background image](https://www.manualsdir.com/files/812969/content/doc017.png)
10
Displaying and maintaining ACLs
To do...
Use the command…
Remarks
Display configuration and match
statistics for one or all IPv4 ACLs
display acl { acl-number | all | name
acl-name } [ slot slot-number ] [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display configuration and match
statistics for one or all IPv6 ACLs
display acl ipv6 { acl6-number | all | name
acl6-name } [ slot slot-number ] [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display the usage of ACL rules
display acl resource [ slot slot-number ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
Display the application status of
packet filtering ACLs on interfaces
display packet-filter { { all | interface
interface-type interface-number } [ inbound ] |
interface vlan-interface vlan-interface-number
[ inbound ] [ slot slot-number ] } [ | { 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 packet filtering configuration example
Network requirements
As shown in
, apply an ACL to filter incoming traffic on interface GigabitEthernet 1/0/1 on
Device A so that everyday from 8:00 to 18:00 the interface allows only packets sourced from Host A to
pass.
Figure 1 Network diagram for applying an IPv4 ACL to an interface for packet filtering