Command Reference ACL Commands
The following example creates an advanced expert access list named adv-acl.
Ruijie(config)# expert access-list advanced adv-acl
Ruijie(config-exp-dacl)# show access-lists
expert access-list advanced adv-acl
Displays all access lists.
Displays the access list of a specified name.
1.10 expert access-list counter
Use this command to enable the counter of packets matching the specified expert access list. Use the
no form of this command to disable this function.
expert access-list counter { id | name }
no expert access-list counter { id | name }
Expert access list number: 2700 to 2899.
The counter of the packets matching the expert access list is disabled.
Global configuration mode
Use this command to enable the counter of packets matching the specified expert access list, so that
you can analyze the counters to learn whether the network is attacked by the illegal packets.
The following example enables the counter of packets matching the extended expert access list
named exp-acl:
Ruijie(config)# expert access-list counter exp-acl
Ruijie(config)# show access-lists
expert access-list extended exp-acl
10 permit ip VID 4 host 192.168.3.55 any host 192.168.99.6 any (16 matches)
20 deny tcp any any eq login any any (78 matches)
The following example disables the counter of packets matching the extended expert access list