Command Reference ACL Commands
Ruijie(config)# ip access-list standard std-acl
Ruijie(config-std-nacl)# show access-lists
ip access-list standard std-acl
Ruijie(config-std-nacl)#
The following example creates an extended ACL numbered 123:
Ruijie(config)# ip access-list extended 123
Ruijie(config-ext-nacl)# show access-lists
ip access-list extended 123
1.17 ip access-list counter
Use this command to enable the counter of packets matching the standard or extended IP access list.
Use the no form of this command to disable the counter.
ip access-list counter { id | name }
no ip access-list counter { id | name }
IP access list number:
Standard IP access list: 1 to 99, 1300 to 1999;
Extended IP access list: 100 to 199, 2000 to 2699.
Name of the IP access list.
The counter of packets matching the standard or extended IP access list is disabled by default.
Global configuration mode
The following example enables the counter of packets matching the standard access list:
Ruijie(config)# ip access-list counter std-acl
Ruijie(config-std-nacl)# show access-lists
ip access-list standard std-acl
10 permit 195.168.6.0 0.0.0.255 (999 matches)