beautypg.com

Asus GigaX3124 User Manual

Page 175

background image

GigaX3124 Layer3 Switch CLI Command Reference

150

ip Any Internet Protocol

tcp Transmission Control Protocol

udp User Datagram Protocol

icmp Internet Control Message Protocol

any any source address

any any destination address

[IFNAME] Egress interface name

Command Mode IP extended access-list mode
No/clear

no (permit|deny) (ip|tcp|udp|icmp) any any [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)# ip access-list extended 100

ASUS(config-ext-acl)# permit ip any any [gi1/0/1]

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

any [eq] [<0-65535>] [IFNAME]

Syntax

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

[IFNAME]

Parameters

permit Specify packets to forward

deny Specify packets to reject.

tcp Transmission Control Protocol

udp User Datagram Protocol

any any source address

eq Match only packets on a given port numbe

<0-65535> Port number

any any destination address

eq Match only packets on a given port numbe

<0-65535> Port number