AT-S62 Command Line User’s Guide

SET ACL

Syntax

set acl=integer [description=string] [action=denypermit] [classifierlist=integer] [portlist=portsnone]

Parameters

 

 

acl

Specifies the ID number of the ACL you want to

 

modify. The number can be from 0 to 255. You can

 

modify only one ACL at a time.

description

Specifies a new description for the ACL. A description

 

can be up to 15 alphanumeric characters. Spaces are

 

allowed. If the description contains a space, it must be

 

enclosed in double quotes. Otherwise, the quotes are

 

optional.

 

action

Specifies the new action to be taken by the port when

 

a ingress packet matches a classifier attached to the

 

ACL. Options are:

 

permit

The port accepts the packet.

 

deny

The port discards the packet, provided that

 

 

the packet does not match the classifier of a

 

 

permit ACL assigned to the same port.

classifierlist

Specifies the new ID numbers of the classifiers to be

 

assigned to the ACL. Any classifier IDs already

 

assigned to the ACL are overwritten. When entering

 

multiple ID numbers, separate the numbers with a

 

comma (e.g., 4,6,7). The classifiers must already exist

 

on the switch. The order in which you specify the

 

classifiers is not important. An ACL must be assigned

 

at least one classifier.

portlist

Specifies the new ports to be assigned this ACL. Any

 

ports to which the ACL is assigned are overwritten.

 

You can assign an ACL to more than one port. When

 

entering multiple ports, the ports can be listed

individually (e.g., 2,5,7), as a range (e.g., 8-12) or both (e.g., 1-4,6,8). Entering NONE removes all ports to which the ACL is already assigned without assigning any new ports. An ACL without assigned ports exists, but remains nonfunctional until assigned to a port.

303

Page 303
Image 303
Allied Telesis management software layer 2+ fast ethernet switches manual Set Acl