< Home

if-match ipv6 next-hop (tunnel-selector view)

Function

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.

Format

if-match ipv6 next-hop prefix-list ipv6-prefix-name

undo if-match ipv6 next-hop prefix-list ipv6-prefix-name

Parameters

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.

Views

tunnel selector view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure filtering of IPv6 routes based on the next hop.

<HUAWEI> system-view
[HUAWEI] tunnel-selector abc permit node 10
[HUAWEI-tunnel-selector] if-match ipv6 next-hop prefix-list ipv6prefix
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >