When multiple port numbers need to be matched to ACL rules, you can configure an ACL port pool to reduce the configuration workload.
In typical ACL usage scenarios, such as QoS traffic policy, a user may need to match multiple port numbers. To implement policy-based routing using advanced ACL rules to match multiple source and destination port numbers, the user needs to specify all possible combinations of source and destination port numbers when configuring ACL rules. On large-scale networks, tens of millions of ACL rules may need to be manually configured to matches the port numbers, which is not viable.
When an ACL rule needs to match multiple source and destination port numbers, you need to run this command twice to create an ACL source port pool and an ACL destination port pool separately.
The system view is displayed.
An ACL port pool is created, and the ACL port pool view is displayed.
Port numbers are added to the ACL port pool.
The configuration is committed.