Command Mode Configure terminal mode
No/clear
Show
Default
Description
Examples
13.68 a c c e s s - l i s t ( < 1 - 9 9 > | < 1 3 0 0 - 1 9 9 9 > )
(deny|permit) host IPADDR [IFNAME]
Syntax
Parameters
Command Mode Configure terminal mode
No/clear
Show
Default
GigaX2024B/M L2 Managed Switch CLI Manual
deny->
IPADDR
MASK
[IFNAME]
no access-list (<1-99>|<1300-1999>) (deny|permit) 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 99 permit 1.1.1.1 0.255.255.0
access-list (<1-99>|<1300-1999>) (deny|permit) host IPADDR
[IFNAME]
Access-list
<1-99> ->
<1300-1999> ->
range)
permit->
deny->
Host
IPADDR
[IFNAME]
no access-list (<1-99>|<1300-1999>) (deny|permit) host IPADDR
[IFNAME]
Show acces-lists [number|name]
Specify packets to reject.
Source address
Source address mask
Egress interface name
Add an access list entry
standard IP access-list number
standard IP access-list number (expanded
Specify packets to forward
Specify packets to reject.
A single host address
Source address
Egress interface name
137