Asus GigaX2024B User Manual

Page 157

Advertising
background image

GigaX2024B/M L2 Managed Switch CLI Manual

137

deny->

Specify packets to reject.

IPADDR

Source address

MASK

Source address mask

[IFNAME]

Egress interface name

Command Mode Configure terminal mode
No/clear

no access-list (<1-99>|<1300-1999>) (deny|permit) IPADDR

MASK [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)# access-list 99 permit 1.1.1.1 0.255.255.0

13.68 a c c e s s - l i s t ( < 1 - 9 9 > | < 1 3 0 0 - 1 9 9 9 > )
(deny|permit) host IPADDR [IFNAME]

Syntax

access-list (<1-99>|<1300-1999>) (deny|permit) host IPADDR

[IFNAME]

Parameters

Access-list

Add an access list entry

<1-99> ->

standard IP access-list number

<1300-1999> -> standard IP access-list number (expanded

range)

permit->

Specify packets to forward

deny->

Specify packets to reject.

Host

A single host address

IPADDR

Source address

[IFNAME]

Egress interface name

Command Mode Configure terminal mode
No/clear

no access-list (<1-99>|<1300-1999>) (deny|permit) host IPADDR

[IFNAME]

Show

Show acces-lists [number|name]

Default

Advertising