GigaX2024B/M L2 Managed Switch CLI Manual
138
Description
This command specify one or more conditions denied or
permitted to decide if the packet is forwarded or dropped.
Examples
ASUS(config)# access-list 99 permit host 1.1.1.1
13.69 a c c e s s - l i s t ( < 1 - 9 9 > | < 1 3 0 0 - 1 9 9 9 > )
(deny|permit) any [IFNAME]
Syntax
access-list (<1-99>|<1300-1999>) (deny|permit) any [IFNAME]
Parameters
Access-list
Add an access list entry
<1-99> ->
standard IP access-list number
<1300-1999> -> standard IP access-list number (expanded
range)
permit->
Specify packets to forward
deny->
Specify packets to reject.
Any
Any source host
[IFNAME]
Egress interface name
Command Mode Configure terminal mode
No/clear
no access-list (<1-99>|<1300-1999>) (deny|permit) any
[IFNAME]
Show
Show acces-lists [number|name]
Default
Description
This command specify one or more conditions denied or
permitted to decide if the packet is forwarded or dropped.
Examples
ASUS(config)# access-list 99 permit any
13.70 access-list (<100-199>|<2000-2699>)
(deny|permit) (ip|tcp|udp|icmp) IPADDR MASK
IPADDR MASK [IFNAME]
Syntax
access-list (<100-199>|<2000-2699>) (deny|permit)
(ip|tcp|udp|icmp) IPADDR MASK IPADDR MASK [IFNAME]
Parameters
Access-list
Add an access list entry
<100-199>
Extended IP access-list number