GigaX2024B/M L2 Managed Switch CLI Manual
115
Examples
ASUS(config-ext-acl)# permit icmp any 10.0.0.1 0.0.0.0 2 code 3
[fa1/0/2]
13.37 (permit|deny) (tcp|udp) IPADDR MASK
IPADDR MASK [eq] [<0-65535>] [IFNAME]
Syntax
(permit|deny) (tcp|udp|) IPADDR MASK IPADDR MASK [eq]
[<0-65535>] [IFNAME]
Parameters
permit->
Specify packets to forward
deny->
Specify packets to reject.
Tcp->
Transmission Control Protocol
Udp->
User Datagram Protocol
IPADDR
Source address
MASK
Source address mask
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|) IPADDR MASK 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 10.0.0.1 0.0.0.0 10.0.0.2 0.0.0.0
eq 23 [fa1/0/1]
13.38 (permit|deny) (tcp|udp) IPADDR MASK [eq]
[<0-65535>] IPADDR MASK [IFNAME]
Syntax
(permit|deny) (tcp|udp|) IPADDR MASK [eq] [<0-65535>]