Command Reference ACL Commands
This command is used to clear the counters of packets matching the specified or all ACLs.
The following example clears the packet matching counter of ACL No. 2700:
Ruijie #show access-lists 2700
expert access-list extended 2700
10 permit ip VID 4 host 192.168.3.55 any host 192.168.99.6 any (88 matches)
20 deny tcp any any eq login any any (33455 matches)
30 permit tcp any any host 192.168.6.9 any (10 matches)
Ruijie# clear counters access-list 2700
Ruijie #show access-lists 2700
expert access-list extended 2700
10 permit ip VID 4 host 192.168.3.55 any host 192.168.99.6 any
20 deny tcp any any eq login any any
30 permit tcp any any host 192.168.6.9 any
Defines a deny ACL entry.
Defines a permits ACL entry.
One or multiple deny conditions are used to determine whether to forward or discard the packet. In
ACL configuration mode, you can modify the existent ACL or configure according to the protocol
details.
[sn] deny {source source-wildcard | host source | any| interface idx }[time-range tm-range-name]
[ log ]
[sn] deny protocol source source-wildcard destination destination-wildcard [precedence
precedence] [tos tos] [fragment] [range lower upper] [time-range time-range-name] [ log ]
Extended IP ACLs of some important protocols:
 Internet Control Message Prot (ICMP)
[sn] deny icmp {source source-wildcard | host source | any} {destination destination-wildcard |
host destination | any} [icmp-type] [[icmp-type [icmp-code]] | [icmp-message]] [precedence
precedence] [tos tos] [fragment] [time-range time-range-name]