Set acl – Allied Telesis AT-S63 User Manual
Page 356

Chapter 19: Access Control List Commands
356
Section II: Advanced Operations
SET ACL
Syntax
set acl=
value
[description=
string
]
[action=deny|permit] [classifierlist=
value
]
[portlist=
ports
|none]
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
an 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 or stack. 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 for the ACL. Any ports already
assigned to the ACL are overwritten. You can assign
the ACL to more than one port. For instructions on how
to enter port numbers, refer to “Port Numbers in
Commands” on page 48.
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.
Command
Available
AlliedWare Plus