Command Mode Configure terminal mode
No/clear
Show
Default
Description
Examples
13.79 access-list (<100-199>|<2000-2699>)
(deny|permit) (ip|tcp|udp|icmp) any any [IFNAME]
Syntax
Parameters
GigaX2024B/M L2 Managed Switch CLI Manual
Any
IPADDR
MASK
<0-255>
<0-255>
[IFNAME]
no access-list (<100-199>|<2000-2699>) (deny|permit) icmp any
IPADDR MASK <0-255> code <0-255> [IFNAME]
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 icmp any 1.1.1.1 0.0.0.0 2
code 3
access-list (<100-199>|<2000-2699>) (deny|permit)
(ip|tcp|udp|icmp) any any [IFNAME]
Access-list
<100-199>
<2000-2699>
range)
permit->
deny->
Ip ->
Tcp->
Udp->
Icmp->
Any
Any Source host
destination address
destination wildcard bits
ICMP message type
ICMP message code
Egress interface 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.
Any Internet Protocol
Transmission Control Protocol
User Datagram Protocol
Internet Control Message Protocol
Any Source host
147