GigaX2024B/M L2 Managed Switch CLI Manual
Command Mode Configure terminal mode
No/clear
Show
Default
Description
Examples
13.78 access-list (<100-199>|<2000-2699>)
(deny|permit) icmp any IPADDR MASK <0-255> code
<0-255> [IFNAME]
Syntax
Parameters
146
<0-65535>
IPADDR
MASK
eq
<0-65535>
[IFNAME]
no access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
any [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>] [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 tcp any eq 21 1.1.1.1
0.0.0.0 eq 22
access-list (<100-199>|<2000-2699>) (deny|permit) icmp any
IPADDR MASK <0-255> code <0-255> [IFNAME]
Access-list Add an access list entry
<100-199>
<2000-2699>
range)
permit->
deny->
Ip ->
Tcp->
Udp->
Icmp->
Port number
destination address
destination wildcard bits
Match only packets on a given port numbe
Port number
Egress interface name
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