Command Reference ACL Commands
Examples
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
Related
Commands
Command
Description
show access-lists
Displays all ACLs.
Platform
Description
N/A
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
}
Parameter
Description
Parameter
Description
id
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
Name of the IP access list.
Defaults
The counter of packets matching the standard or extended IP access list is disabled by default.
Command
mode
Global configuration mode
Usage Guide
N/A
Configuration
Examples
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)
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...