Introduction, Overview – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 826

Access Control Lists Introduction
Software Reference for x310 Series Switches
33.2
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
Introduction
This chapter describes Access Control Lists (ACLs), and general ACL configuration
information.
See
Chapter 34, IPv4 Hardware Access Control List (ACL) Commands
and
IPv6 Hardware Access Control List (ACL) Commands
for detailed command information
and command examples about IPv4 and IPv6 hardware ACLs that are applied directly to
interfaces.
See
Chapter 35, IPv4 Software Access Control List (ACL) Commands
IPv6 Software Access Control List (ACL) Commands
for detailed command information
and command examples about IPv4 and IPv6 software ACLs as applied to Routing and
Multicasting.
See all relevant Routing commands and configurations in
and all relevant Multicast commands and configurations in
Overview
An Access Control List (ACL) is one filter, or a sequence of filters, that are applied to an
interface to either block, pass, or when using QoS, apply priority to, packets that match
the filter definitions. ACLs are used to restrict network access by hosts and devices and to
limit network traffic.
An ACL contains an ordered list of filters. Each filter specifies either permit or deny and a
set of conditions the packet must satisfy in order to match the filter. The meaning of
permit or deny entries depends on the context in which the ACL is used - either on an
inbound or an outbound interface.
When a packet is received on an interface, the switch compares fields in the packet against
filters in the ACL to check whether the packet has permission to be forwarded, based on
the filter properties. The first match determines whether the switch accepts or rejects the
packets. If no entries match, the switch rejects the packets. If there are no restrictions, the
switch forwards the packets.
Because filters in an ACL are applied sequentially and their action stops at the first match,
it is very important that you apply the filters in the correct order. For example you might
want to pass all traffic from VLAN 4 except for that arriving from two selected addresses A
and B. Setting up a filter that first passes all traffic from VLAN 4 then denies traffic from
addresses A and B will not filter out traffic from A and B if they are members VLAN 4. To
ensure that the traffic from A and B is always blocked you should first apply the filter to
block traffic from A and B, then apply the filter to allow all traffic from VLAN 4.
You can assign sequence numbers to filters. See