beautypg.com

Asus GigaX3124 User Manual

Page 176

background image

GigaX3124 Layer3 Switch CLI Command Reference

151

[IFNAME] Egress interface name

Command Mode IP extended access-list mode
No/clear

no (permit|deny) (tcp|udp) any [eq] [<0-65535>] any [eq]

[<0-65535>] [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 tcp any eq 100 any eq 100 [gi1/0/1]

13.67 (permit|deny) icmp any any [<0-255>] code

[<0-255>] [IFNAME]

Syntax

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

Parameters

permit Specify packets to forward

deny Specify packets to reject.

icmp Internet Control Message Protocol

any any source address

any any destination address

<0-255> ICMP message type

<0-255> ICMP message code

[IFNAME] Egress interface name

Command Mode IP extended access-list mode
No/clear

no (permit|deny) icmp any any [<0-255>] code [<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 any any 12 code 12 [gi1/0/1]