EasyManua.ls Logo

Ruijie RG-S2600G-I Series - Page 926

Ruijie RG-S2600G-I Series
1192 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CLI Reference Guide ACL Configuration Commands
ip access-list counter
Use this command to enable the packet matching counter for all ACEs under the standard and
extended IP ACL. Use the no form of this command to disable the function.
ip access-list counter { id | name }
no ip access-list counter { id | name }
Parameter
Description
Parameter
Description
id
Number of the IP ACL. The standard IP ACL number ranges from 1 to
99, and from 1300 to 1999, and the extended IP ACL ranges from
100 to 199, and from 2000 to 2699.
name
Name of the IP ACL.
Defaults
No ACL is configured.
Command
mode
Global configuration mode
Usage Guide
Use the show access-lists command to view the setting of ACL.
Configuration
Examples
Example 1 enables the packet counter for the standard ACL:
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)
20 deny host 5.5.5.5 time-range tm (2000 matches)
Example 2 disables the packet counter for the standard ACL:
Ruijie(config)#no 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
20 deny host 5.5.5.5 time-range tm
Related
Commands
Command
Description
show access-lists
View IP ACLs.
Platform
Description
This command is supported only in 10.4 (3b16), 10.4 (3b17), 10.4 (5b1) and later versions.

Table of Contents

Related product manuals