Rule Order
A single ACL can consist of multiple rules. Each packet is compared against each of the ACL rules, in the
order in which they were entered, until a match is found. Once a match is identified, all subsequent rules are
ignored.
Additional rules can be added to an existing ACL and properly ordered using either of the following options:
•
Before
•
After
Using these placement options requires the specification of an existing rule in the ACL and the configuration
of the new rule as demonstrated by the following flow:
[ before | after ] { existing_rule }
Configuring ACLs on the System
This section describes how to configure ACLs.
This section provides the minimum instruction set for configuring access control list on the system. For
more information on commands that configure additional parameters and options, refer to the
ACL
Configuration Mode Commands
and
IPv6 ACL Configuration Mode Commands
chapters in the
Command
Line Interface Reference
.
Important
To configure the system to provide an access control list facility to subscribers:
Step 1
Create the access control list by following the example configuration in
Creating ACLs, on page 232
Step 2
Specify the rules and criteria for action in the ACL list by following the example configuration in
and Criteria for Subscriber Traffic, on page 233
Step 3
Optional.
The system provides an "undefined" ACL that acts as a default filter for all packets into the context. The default
action is to "permit all". Modify the default configuration for "unidentified" ACLs for by following the example
configuration in
Configuring an Undefined ACL, on page 233
Step 4
Verify your ACL configuration by following the steps in
Verifying the ACL Configuration, on page 234
Step 5
Save your configuration to flash memory, an external memory device, and/or a network location using the Exec mode
save configuration
command. For additional information refer to the
Verifying and Saving Your Configuration
chapter.
Creating ACLs
To create an ACL, enter the following command sequence from the Exec mode of the system CLI:
configure
context acl_ctxt_name [ -noconfirm ]
ASR 5000 System Administration Guide, StarOS Release 21.1
232
Access Control Lists
Rule Order
Summary of Contents for ASR 5000
Page 26: ...ASR 5000 System Administration Guide StarOS Release 21 1 xxvi Contents ...
Page 316: ...ASR 5000 System Administration Guide StarOS Release 21 1 288 VLANs VLAN Related CLI Commands ...
Page 400: ...ASR 5000 System Administration Guide StarOS Release 21 1 372 Engineering Rules ECMP Groups ...