The if-match ipv6 address prefix-list command configures a filtering rule that is based on destination addresses of IPv6 routes.
The undo if-match ipv6 address prefix-list command cancels the configuration.
By default, no filtering rule based on destination addresses of IPv6 routes is configured.
Usage Scenario
The filtering rule (based on the destination addresses, next hop addresses, or source addresses of IPv6 routes) configured using this command takes effect only after an IPv6 prefix or an ACL is configured.
Prerequisites
A route-policy has been configured using the route-policy command.
An IPv6 prefix has been configured using the ip ipv6-prefix command.Configuration Impact
When you filter routes based on the destination addresses of IPv6 routes, the routes that match the filtering rule are permitted and the route that do not match the filtering rule are denied.
<HUAWEI> system-view [~HUAWEI] ip ipv6-prefix p1 permit :: 0 greater-equal 32 less-equal 64 [*HUAWEI] route-policy policy permit node 10 [*HUAWEI-route-policy] if-match ipv6 address prefix-list p1