An ACL IPv6 address pool is applicable to the scenario where multiple IPv6 addresses need to be matched. This reduces the workload of manually configuring multiple ACL6 rules to match multiple IPv6 addresses.
In some typical ACL6 application scenarios, multiple IPv6 addresses need to be matched. To use an ACL6 to match multiple source and destination IPv6 addresses, you must specify all possible combinations of source and destination IPv6 addresses when configuring ACL6 rules. However, these combinations are over 10 thousands on a large-scale network. It is unreasonable to manually configure all ACL6 rules that match both source and destination IPv6 addresses carried in packets.
In scenarios in which ACL6 rules are used to match both source and destination IPv6 addresses carried in packets, run the acl ipv6-pool command to create an ACL6 source IPv6 address pool (which includes all needed source IPv6 addresses) and an ACL6 destination IPv6 address pool (which includes all needed destination IPv6 addresses).
In typical ACL6 usage scenarios such as QoS or security service, to filter traffic based on the source IPv6 addresses of BGP peers, run the acl ipv6-pool command to create an ACL IPv6 address pool and run the apply bgp-peer command to associate the IPv6 addresses of BGP peers with the ACL IPv6 address pools. Then, reference the ACL6 address pool in QoS or security service to filter packets based on the source IPv6 addresses of BGP peers.
The system view is displayed.
An ACL IPv6 address pool is created, and the ACL IPv6 address pool view is displayed.
Run the ipv6 address ipv6-address mask-length command to add an IPv6 address to the ACL IPv6 address pool.
If the command is run more than once, all configurations take effect.
Run the apply bgp-peer [ public-vpn | all-private-vpn | vpn-instance vpn-instance-name ] command to associate the addresses of BGP peers with the address pool.
These commands are applicable only to QoS or device security services.
The configuration is committed.