Asus GigaX2024B User Manual
Page 126
GigaX2024B/M L2 Managed Switch CLI Manual
106
13.26 (permit|deny) (tcp|udp) host IPADDR [eq]
[<0-65535>] IPADDR MASK [eq] [<0-65535>]
[IFNAME]
Syntax
(permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] IPADDR
MASK [eq] [<0-65535>]
Parameters
permit->
Specify packets to forward
deny->
Specify packets to reject.
Tcp->
Transmission Control Protocol
Udp->
User Datagram Protocol
host
A single source host
IPADDR
Source address
eq
Match only packets on a given port numbe
<0-65535>
Port number
IPADDR
Destination address
MASK
Destination address mask
eq
Match only packets on a given port numbe
<0-65535>
Port number
[IFNAME]
Egress interface name
Command Mode IP extended access-list mode
No/clear
no (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>]
IPADDR MASK [eq] [<0-65535>] [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-ext-acl)# permit tcp host 10.0.0.1 eq 2 10.0.0.2
0.0.0.0 eq 2 [fa1/0/2]