CLI Reference Guide
ACL Configuration Commands
Description
id
Number of the IPv4 ACL.
name
Name of the IPv4 ACL.
Defaults
Command
Mode
Privileged EXEC mode
Usage Guide
This command is used to clear the packet matching counter of specified or all IPv4 ACLs.
Configuration
Examples
The following example clears the packet matching counter of the IPv4 ACL No. 101:
Ruijie #show access-lists 101
ip access-list extended 101
10 deny ip any host 11.1.1.2 log (3 matches)
20 permit ip any any log (10690 matches)
30 deny ip host 192.168.21.59 any log (101 matches)
40 permit tcp host 192.168.21.59 any eq ftp log
50 permit ip host 192.168.21.59 any log
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# clear ip access-list counters 101
Ruijie(config)# end
Ruijie #show access-lists 101
ip access-list extended
10 deny ip any host 11.1.1.2 log
20 permit ip any any log
30 deny ip host 192.168.21.59 any log
40 permit tcp host 192.168.21.59 any eq ftp log
50 permit ip host 192.168.21.59 any log
Related
Commands
Command
Description
ip access-list
It indicates the definition of the IPv4 ACL.
deny
The definition denies semantic ACL entries.
permit
The definition permits semantic ACL entries.
Platform
Description
This command is supported only in 10.4 (3b16), 10.4 (3b17), 10.4 (5b1) and later versions.
clear ipv6 access-list counters
Use this command to clear the packet matching counter of the IPv6 ACL.
Summary of Contents for RG-S2600G-I Series
Page 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Page 5: ...5...
Page 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Page 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Page 642: ...CLI Reference TACACS Configuration Commands host...
Page 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Page 776: ...CLI Reference ND Snooping Configuration Commands...
Page 901: ...CLI Reference NFPP Configuration Commands...
Page 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Page 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Page 1005: ...CLI Reference DLDP Configuration Commands...
Page 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Page 1192: ...CLI Reference Guide...