Asus GigaX2024B User Manual
Page 125
![background image](/manuals/303707/125/background.png)
GigaX2024B/M L2 Managed Switch CLI Manual
105
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 icmp 10.0.0.1 0.0.0.0 10.0.0.2
0.0.0.0 2 code 2 [fa1/0/2]
13.25 (permit|deny) (ip|tcp|udp|icmp) host IPADDR
IPADDR MASK [IFNAME]
Syntax
(permit|deny) (ip|tcp|udp|icmp) host IPADDR IPADDR MASK
[IFNAME]
Parameters
permit->
Specify packets to forward
deny->
Specify packets to reject.
host
A single source host
Ip ->
Any Internet Protocol
Tcp->
Transmission Control Protocol
Udp->
User Datagram Protocol
Icmp->
Internet Control Message Protocol
IPADDR
Source address
IPADDR
Destination address
MASK
Destination address mask
[IFNAME]
Egress interface name
Command Mode IP extended access-list mode
No/clear
no (permit|deny) (ip|tcp|udp|icmp) host IPADDR IPADDR MASK
[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 10.0.0.2 0.0.0.0
[fa1/0/2]