Command Reference ACL Commands
Mode
Usage Guide
This command is used to clear the counters of packets matching the specified or all ACLs.
Configuration
Examples
The following example clears the packet matching counter of ACL No. 2700:
Ruijie #show access-lists 2700
expert access-list extended 2700
10 permit ip VID 4 host 192.168.3.55 any host 192.168.99.6 any (88 matches)
20 deny tcp any any eq login any any (33455 matches)
30 permit tcp any any host 192.168.6.9 any (10 matches)
Ruijie# clear counters access-list 2700
Ruijie #show access-lists 2700
expert access-list extended 2700
10 permit ip VID 4 host 192.168.3.55 any host 192.168.99.6 any
20 deny tcp any any eq login any any
30 permit tcp any any host 192.168.6.9 any
Related
Commands
Command
Description
expert access-list
Defines an expert ACL.
deny
Defines a deny ACL entry.
permit
Defines a permits ACL entry.
Platform
Description
N/A
1.7 deny
One or multiple
deny
conditions are used to determine whether to forward or discard the packet. In
ACL configuration mode, you can modify the existent ACL or configure according to the protocol
details.
5.
Standard IP ACL
[
sn
]
deny
{
source
source-wildcard
|
host
source
|
any| interface
idx
}[
time-range
tm-range-name
]
[
log
]
6.
Extended IP ACL
[
sn
]
deny protocol source
source-wildcard
destination
destination-wildcard
[
precedence
precedence
] [
tos
tos
] [
fragment
] [
range
lower
upper
] [
time-range
time-range-name
] [
log
]
Extended IP ACLs of some important protocols:
Internet Control Message Prot (ICMP)
[
sn
]
deny icmp
{
source
source-wildcard
|
host
source
|
any
} {
destination
destination-wildcard
|
host
destination
|
any
} [
icmp-type
] [[
icmp-type
[
icmp-code
]] | [
icmp-message
]] [
precedence
precedence
] [
tos
tos
] [
fragment
] [
time-range
time-range-name
]
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...