Asus GigaX2024B User Manual

Page 139

Advertising
background image

GigaX2024B/M L2 Managed Switch CLI Manual

119

10.0.0.2 [fa1/0/1]

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

Syntax

(permit|deny) (tcp|udp) IPADDR MASK host IPADDR [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 address mask

host

A single destination host

IPADDR

Destination address

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 host IPADDR [eq]

[<0-65535>] [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 tcp 10.0.0.1 0.0.0.0 host 10.0.0.2

eq 2 [fa1/0/1]

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

Syntax

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

[IFNAME]

Advertising