The if-match ipv6 next-hop command configures the filtering of IPv6 routes based on the next hop.
The undo if-match ipv6 next-hop command cancels the setting.
By default, the filtering of IPv6 routes based on the next hop is not configured.
if-match ipv6 next-hop prefix-list ipv6-prefix-name
undo if-match ipv6 next-hop prefix-list ipv6-prefix-name
Parameter | Description | Value |
---|---|---|
prefix-list ipv6-prefix-name | Specifies the name of an IPv6 prefix list. | The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
You can run the if-match ipv6 next-hop command if it is required to filter IPv6 routes based on the next hop. When you run the if-match ipv6 next-hop command in the tunnel selector view, you can use an apply clause to apply a tunnel policy to the IPv6 routes filtered based on the next hop.
The next hop can be specified by the IPv6 prefix list.