The acl ip-pool command creates an ACL IP address pool and displays the ACL address pool view.
The undo acl ip-pool command deletes an ACL IP address pool.
By default, no ACL IP address pool is configured.
Usage Scenario
In typical ACL usage scenarios, for example, in the policy-based routing scenario, both the source and destination IP addresses need to be matched. To implement policy-based routing using ACL rules to match both source and destination IP addresses carried in packets, specify all possible combinations of source and destination IP addresses when configuring ACL rules. However, these combinations are over 10 thousands on a large-scale network. It is unreasonable to manually configure all ACL rules that match both source and destination IP addresses carried in packets.
To reduce the configuration workload, run the acl ip-pool command to create an ACL IP address pool. You only need to configure an ACL rule with a specified IP address pool name (pool-name) to match multiple IP addresses carried in packets. In scenarios in which ACL rules are used to match both source and destination IP addresses carried in packets, run the acl ip-pool command to create an ACL source IP address pool (which includes all needed source IP addresses) and an ACL destination IP address pool (which includes all needed destination IP addresses), respectively.Follow-up Procedure
Run the ip address command to add an IP address to an ACL IP address pool.
Precautions
The device can only create an advanced ACL IP address pool.