beautypg.com

Asus GigaX3124 User Manual

Page 118

background image

GigaX3124 Layer3 Switch CLI Command Reference

93

<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 Global configuration mode
No/clear

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

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

13.3 access-list (<1-99>|<1300-1999>)

(deny|permit) any [IFNAME]

Syntax

access-list (<1-99>|<1300-1999>) (deny|permit) any [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.

any Any source host

[IFNAME] Egress interface name

Command Mode Global configuration mode
No/clear

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

[IFNAME]

Show

show access-lists [ACLNAME]