beautypg.com

Assigning acls to ports 3, Assigning numbered ipv4 acls to a port 3, Assigning acls to ports – Allied Telesis AT-FS970M Series User Manual

Page 1523: Assigning numbered ipv4 acls to a port

background image

AT-FS970M Switch Command Line User’s Guide

1523

Assigning ACLs to Ports

Before you can assign an ACL to a port, you must first create an ACL. The
command that you use to assign an ACL to a port depends on which type
of ACL you have created. See the following sections:

“Assigning Numbered IPv4 ACLs to a Port” on page 1523

“Assigning MAC Address ACLs to a Port” on page 1524

“Assigning Named IPv4 ACLs” on page 1525

“Assigning Named IPv6 ACLs” on page 1526

Note

In situations where ports have both permit and deny ACLs, you must
assign the permit ACLs to a port first because ingress packets are
compared against the ACLs in the order in which they are added to
the ports. If you add the deny ACLs first, the ports may block
packets you want them to forward.

Note

The Numbered IPv4 ACLs and the MAC Address Lists ACLs do not
allow you to set a time range. Ports immediately begin to filter traffic
as soon as you assign an ACL. However, you can set time ranges
for the Named IPv4 and Named IPv6 ACLs. See “Setting ACL Time
Ranges” on page 1533.

Assigning

Numbered IPv4

ACLs to a Port

To assign a Numbered IPv4 ACL to a port on the switch, use the
ACCESS-GROUP command in the Port Interface mode. Using this
command, you can add one Numbered IPv4 ACL to a port or several
ports. The ACL must exist on the switch. Here is the format of the
command:

access-group

id_number

For more information about this command, see “ACCESS-GROUP” on
page 1546.