ACL can be classified as ACL4 or ACL6 based on the support for IPv4 or IPv6.
ACL Type |
Function |
ACL Number |
---|---|---|
Interface-based ACL |
Defines rules based on packets' inbound interfaces. |
1000 to 1999 |
Basic ACL |
Defines rules based on packets' source addresses. |
2000 to 2999 |
Advanced ACL |
Rules in an advanced ACL are defined based on packets' source or destination addresses, source or destination port numbers, and protocol types. |
3000 to 3999 |
Layer 2 ACL |
Defines rules based on the Layer 2 information, such as the source MAC address, destination MAC address, or protocol type of Ethernet frames. |
4000 to 4999 |
User ACL (UCL) |
Defines rules based on the source/destination IP address, source/destination service group, source/destination user group, source/destination port number, and protocol type. |
6000 to 9999 |
MPLS-based ACL |
Defines rules based on MPLS packets' EXP values, labels, or TTL values. |
10000 to 10999 |
ACL6 Type |
Function |
ACL6 Number |
---|---|---|
Interface-based ACL6 |
Defines rules based on packets' inbound interfaces. |
1000 to 1999 |
Basic ACL6 |
Defines rules based on packets' source addresses. |
2000 to 2999 |
Advanced ACL6 |
Defines rules based on packets' source or destination addresses, source or destination port numbers, and protocol types. |
3000 to 3999 |
User ACL6 (UCL6) |
Defines rules based on the source/destination IP address, source/destination service group, source/destination user group, source/destination port number, and protocol type. |
6000 to 9999 |
For easy memorization, use names instead of numbers to define ACLs. Just like using domain names to replace IP addresses. ACLs of this type are called named ACLs. The ACL stated above called numbered ACLs.
The only difference between named and numbered ACLs is that the former ones are more recognizable owing to descriptive names.
When naming an ACL, you can specify a number for it. If no number is specified, the system will allocate one automatically.
One name is only for one ACL. Multiple ACLs cannot have the same name, even if they are of different types.
An ACL increment can be used to maintain ACL rules and makes it convenient to add new ACL rules. If a user has created four rules numbered 0, 5, 10, and 15 in an ACL, the user can add a rule (for example, rule number 1) between rules 0 and 5.