ACL profile management
ACL profiles allow you specify whether traffic for a workload VPN intent includes or excludes packets that correspond to one or more match groups.
The Fabric Services System allows you to configure ACL profiles as ingress filters only.
The Fabric Services System does not validate the combinations of fields that constitute an ACL entry. You must configure these fields in accordance with the requirements of the target platform. For this reason, be aware of the applicable requirements, limitations, and dependencies of the participating nodes when configuring any ACL profile as part of a workload VPN intent.
For example, the Fabric Services System allows you to configure an IPv4 ACL entry with the following attributes:
- Protocol = icmp
- Destination port = 80
However, this configuration is not permitted by SR Linux because port numbers can only be configured for protocols like UDP/TCP.
If you deploy a workload VPN intent that includes an ACL configuration that is unsupported by the target node, the deployment results in an error. A message from the platform indicates the conflicting configuration.
In the Fabric Services System UI, you can:
- Create an ACL profile.
- Edit an ACL profile.
- Delete an ACL profile.
Creating an ACL profile
When you create an ACL profile, you define a set of packets that should be accepted or rejected by the system.
You define these packet sets by selecting one or more previously created match groups. Each match group already defines one set of possible packets properties; the ACL profile assembles the match groups to create a full profile of the packets deemed acceptable for the current profile.
Later, you can assign ACL profiles to workload VPN intents to represent the packets that are acceptable or unacceptable for the workload VPN intent. The workload VPN intent either accepts or rejects, depending on your selection, all packets that conform to the profiles encompassed by its assigned ACLs.
The total number of entries created for a single IPv4/IPv6 ACL is the product of the following numbers:
- the number of IP address in the source match groups
- the number of IP addresses in destination match groups
-
If you are not already on the Profiles page, do the following:
- Click to open the main menu.
- Select Profiles.
- In the Profiles drop-down list, select ACL.
- Click + CREATE AN ACL PROFILE.
-
In the ACL Creation overlay, set parameters in the
General section.
- Name - enter a name for the ACL profile
- Description - optionally, enter a description for the ACL profile
-
Select the IPv4 match groups that represent packets acceptable for this ACL.
-
Select the IPv6 match groups that represent packets acceptable for this ACL:
Note: The Workload Reference List field shows all of the workloads that are currently using this ACL profile; but because this is a new ACL profile, it is empty because no profiles are using it.
- Click CREATE.
Editing an ACL profile
If the ACL profile that you edit is already being used by a workload VPN intent, and that workload VPN intent has already been generated or deployed, then the changes you make do not propagate to the workload VPN intent until you regenerate that workload VPN intent.
- If the workload VPN intent has been generated but is not yet deployed, you can re-save and regenerate the workload VPN intent without creating a new version. Regenerating the workload VPN intent incorporates the new ACL settings into its configuration.
- If the workload VPN intent has already been deployed, you must create a new candidate version of the workload VPN intent before you can regenerate and redeploy it with the new ACL settings.
-
If you are not already on the Profiles page, do the
following:
- Click to open the main menu.
- Select Profiles. The Profiles page displays.
- From the Profiles drop-down list, select ACL. The system displays the ACL page, showing a list of previously created ACL profiles.
- Select an ACL profile from the list, click the More actions icon ( ) at the right edge of the row, and select Open from the drop-down list. The ACL Creation overlay displays.
- Update parameters for the ACL profile that you configured when you created the ACL profile.
-
At the lower right of the ACL overlay, click
SAVE.
The system saves your changes and closes the ACL Creation overlay.
Deleting an ACL profile
- If an ACL profile has been assigned to a bridged subnet or a sub-interface or to a routed sub-interface, the system prevents you from deleting the ACL.
- You cannot delete an ACL profile associated with a previous version of a deployed workload intent, even if you are designing a subsequent, undeployed version of that same intent that no longer relies on that ACL profile.
- However, after you deploy a workload VPN intent that no longer relies on an ACL profile, the system allows the deletion of the unassociated ACL profile (provided no other workload VPN intent still relies on it).
To delete an ACL profile:
-
If you are not already on the Profiles page, do the
following:
- Click to open the main menu.
- Select Profiles.
- From the Profiles drop-down list, click ACL.
- Select an ACL profile from the list, click the More actions icon ( ) at the right edge of the row, and select Delete from the drop-down list.
-
In the confirmation form, click OK.
The system deletes the selected ACL profile and closes the confirmation form, returning you to the Profiles page with the ACL view selected. The ACL profile you just deleted no longer appears in the list.