Asus GigaX3124 User Manual

Page 185

Advertising
background image

GigaX3124 Layer3 Switch CLI Command Reference

160

13.78 (permit|deny) (tcp|udp) IPADDR MASK

[eq] [<0-65535>] IPADDR MASK [eq]

[<0-65535>] [IFNAME]

Syntax

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

IPADDR MASK [eq] [<0-65535>] [IFNAME]

Parameters

permit Specify packets to forward

deny Specify packets to reject.

tcp Transmission Control Protocol

Udp User Datagram Protocol

IPADDR Source address

MASK Source wildcard bits

eq Match only packets on a given port numbe

<0-65535> Port number

IPADDR Destination address

MASK Destination wildcard bits

eq Match only packets on a given port numbe

<0-65535> Port number

[IFNAME] Egress interface name

Command Mode IP extended access-list mode
No/clear

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

IPADDR MASK [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 10.0.1.0 0.0.0.255 eq 2

10.0.0.2 0.0.0.0 eq 3 [gi1/0/1]

Advertising