Asus GigaX2024B User Manual

Page 145

Advertising
background image

GigaX2024B/M L2 Managed Switch CLI Manual

125

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 host 10.0.0.1 eq 2 host 10.0.0.2

[fa1/0/1]

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

Syntax

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

host

A single source host

IPADDR

Source address

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) host IPADDR 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 host 10.0.0.1 host 10.0.0.2 eq

2 [fa1/0/1]

Advertising