Manual
GigaX3124 Layer3 Switch CLI Command Reference
181
13.104 (permit|deny) (tcp|udp) host IPADDR
[eq] [<0-65535>] host IPADDR [IFNAME]
Syntax (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] host
IPADDR [IFNAME]
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
host A single destination host
IPADDR Destination address
[IFNAME] Egress interface name
Command Mode IP extended access-list mode
No/clear no (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] host
IPADDR [IFNAME]
Show show access-lists [ACLNAME]
Default
Description This command species one or more conditions denied or
permitted to decide if the packet is forwarded or dropped.
Examples ASUS(cong-ext-acl)# permit tcp host 10.0.0.1 eq 2 host
10.0.0.2 [gi1/0/1]
13.105 (permit|deny) (tcp|udp) host IPADDR
host IPADDR [eq] [<0-65535>] [IFNAME]
Syntax (permit|deny) (tcp|udp) host IPADDR host IPADDR [eq]
[<0-65535>] [IFNAME]
Parameters permit Specify packets to forward