Asus GigaX2024B User Manual

Page 117

Advertising
background image

GigaX2024B/M L2 Managed Switch CLI Manual

97

Examples

ASUS(config-ext-acl)#permit tcp 10.0.0.1 0.0.0.0 eq 12 any eq

12 [fa1/0/1]

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

Syntax

(permit|deny) icmp IPADDR MASK any [<1-255>] code [<1-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

<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 IPADDR MASK any [<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(config-ext-acl)#permit icmp 10.0.0.1 0.0.0.0 any 12 code

12 [fa1/0/1]

13.16 (permit|deny) (ip|tcp|udp|icmp) host IPADDR
any [IFNAME]

Syntax

(permit|deny) (ip|tcp|udp|icmp) host IPADDR any [IFNAME]

Parameters

permit->

Specify packets to forward

deny->

Specify packets to reject.

Advertising