Asus GigaX3124 User Manual

Page 215

Advertising
background image

GigaX3124 Layer3 Switch CLI Command Reference

190

13.116

(permit|deny) icmp IPADDR MASK any

[<0-255>] [IFNAME]

Syntax

(permit|deny) icmp IPADDR MASK any [<0-255>] [IFNAME]

Parameters

permit Specify packets to forward

deny Specify packets to reject.

icmp Internet Control Message Protocol

IPADDR Source address

MASK Source wildcard bits

any any destination address

<0-255> ICMP message type

[IFNAME] Egress interface name

Command Mode IP extended access-list mode
No/clear

no (permit|deny) icmp IPADDR MASK any [<0-255>] [IFNAME]

Show

show access-lists [ACLNAME]

Default
Description

This command specifies 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 any 2

[gi1/0/1]

13.117

(permit|deny) icmp host IPADDR any

[<0-255>] [IFNAME]

Syntax

(permit|deny) icmp host IPADDR any [<0-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.

any any destination address

Advertising