Asus GigaX2024B User Manual

Page 138

Advertising
background image

GigaX2024B/M L2 Managed Switch CLI Manual

118

[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 any eq 22

[fa1/0/1]

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

Syntax

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

IPADDR [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

eq

Match only packets on a given port numbe

<0-65535>

Port number

host

A single destination host

IPADDR

Destination address

[IFNAME]

Egress interface name

Command Mode IP extended access-list mode
No/clear

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

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

Advertising