Command Mode Configure terminal mode
No/clear
Show
Default
Description
Examples
13.100
(deny|permit) (tcp|udp) IPADDR MASK any [eq]
[<0-65535>] [IFNAME]
Syntax
Parameters
GigaX2024B/M L2 Managed Switch CLI Manual
deny->
Tcp->
Udp->
IPADDR
MASK
eq
<0-65535>
IPADDR
MASK
[IFNAME]
no access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
IPADDR MASK [eq] [<0-65535>] 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 tcp 1.1.1.1 0.0.0.0 eq 21
1.1.1.4 0.0.0.0
access-list (<100-199>|<2000-2699>)
access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
IPADDR MASK any [eq] [<0-65535>] [IFNAME]
Access-list
<100-199>
<2000-2699>
range)
permit->
deny->
Specify packets to reject.
Transmission Control Protocol
User Datagram Protocol
Source address
Source wildcard bits
Match only packets on a given port numbe
Port number
Destination address
Destination wildcard bits
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.
167