Command Mode Configure terminal mode
No/clear
Show
Default
Description
Examples
13.71 access-list (<100-199>|<2000-2699>)
(deny|permit) (tcp|udp) IPADDR MASK [eq]
[<0-65535>] IPADDR MASK [eq] [<0-65535>]
[IFNAME]
Syntax
Parameters
GigaX2024B/M L2 Managed Switch CLI Manual
<2000-2699>
range)
permit->
deny->
Ip ->
Tcp->
Udp->
Icmp->
IPADDR
MASK
IPADDR
MASK
[IFNAME]
no access-list (<100-199>|<2000-2699>) (deny|permit)
(ip|tcp|udp|icmp) IPADDR MASK IPADDR MASK [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 ip 1.1.1.1 0.0.0.0 1.1.1.3
0.0.0.0
access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
IPADDR MASK [eq] [<0-65535>] IPADDR MASK [eq]
[<0-65535>] [IFNAME]
Access-list
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
Source address
Source wildcard bits
Destination address
Destination wildcard bits
Egress interface name
Add an access list entry
139