Manual
GigaX2024B/M L2 Managed Switch CLI Manual
102
[<1-255>] [IFNAME]
Parameters
permit-> Specify packets to forward
deny-> Specify packets to reject.
Icmp-> Internet Control Message Protocol
host A single source host
IPADDR Source address
host A single destination host
IPADDR Destination address
<1-255> ICMP message type
<1-255> ICMP message code
[IFNAME] Egress interface name
Command Mode
IP extended access-list mode
No/clear
no (permit|deny) icmp host IPADDR host IPADDR [<1-255>]
code [<1-255>] [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(cong-ext-acl)#permit icmp host 10.0.0.1 host 10.0.0.2 2
code 2 [fa1/0/1]
13.22 (permit|deny)(ip|tcp|udp|icmp)IPADDRMASK
IPADDRMASK[IFNAME]
Syntax
(permit|deny) (ip|tcp|udp|icmp) IPADDR MASK IPADDR MASK
[IFNAME]
Parameters
permit-> Specify packets to forward
deny-> Specify packets to reject.
Ip -> Any Internet Protocol
Tcp-> Transmission Control Protocol
Udp-> User Datagram Protocol
Icmp-> Internet Control Message Protocol