GigaX2024B/M L2 Managed Switch CLI Manual
Show
Default
Description
Examples
13.84 access-list (<100-199>|<2000-2699>)
(deny|permit) icmp IPADDR MASK host IPADDR
<0-255> code <0-255> [IFNAME]
Syntax
Parameters
.
Command Mode Configure terminal mode
No/clear
Show
Default
152
Show acces-lists [number|name]
This command specify one or more conditions denied or
permitted to decide if the packet is forwarded or dropped.
ASUS(config)#access-list 100 permit udp 1.1.1.1 0.0.0.0 eq 21
host 1.1.1.4 eq 22
access-list (<100-199>|<2000-2699>) (deny|permit) icmp
IPADDR MASK host IPADDR <0-255> code <0-255> [IFNAME]
Access-list
<100-199>
<2000-2699>
range)
permit->
deny->
Icmp->
IPADDR
MASK
host
IPADDR
<0-255>
<0-255>
[IFNAME] Egress interface name
no access-list (<100-199>|<2000-2699>) (deny|permit) icmp
IPADDR MASK host IPADDR <0-255> code <0-255> [IFNAME]
Show acces-lists [number|name]
Add an access list entry
Extended IP access-list number
Extended IP access-list number (expanded
Specify packets to forward
Specify packets to reject.
Internet Control Message Protocol
source address
source wildcard bits
A single destination host
Destination address
ICMP message type
ICMP message code