bestroute nexthop-resolved (BGP-IPv6 unicast address family view)

Function

The bestroute nexthop-resolved ip command configures the BGP IPv6 unicast routes that recurse to IP addresses to participate in route selection.

The bestroute nexthop-resolved tunnel command configures the BGP IPv6 unicast routes that recurse to tunnels to participate in route selection.

The undo bestroute nexthop-resolved command restores the default configuration.

By default, BGP IPv6 unicast routes that recurse to reachable LSPs.

Format

bestroute nexthop-resolved { ip | tunnel [ inherit-ip-cost ] }

undo bestroute nexthop-resolved

undo bestroute nexthop-resolved tunnel inherit-ip-cost

Parameters

Parameter Description Value
ip

Allows the BGP IPv6 unicast routes that recurse to IP addresses to participate in route selection.

-

tunnel

Allows the BGP IPv6 unicast routes that recurse to tunnels to participate in route selection.

-

inherit-ip-cost

Allows the BGP IPv6 unicast routes that recurse to IP addresses to inherit the cost values of corresponding IP routes during route selection.

-

Views

BGP-IPv6 unicast address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

If the device is an ASBR, the optimal route must have recursed to tunnels; if load balancing or FRR is configured on the ASBR, the non-optimal routes must recurse to tunnels so that these routes can participate in load balancing or FRR. The bestroute nexthop-resolved tunnel command can be run to allow route selection only after the BGP IPv6 unicast routes recurse to tunnels.

Configuration Impact

The bestroute nexthop-resolved ip command is mutually exclusive with the bestroute nexthop-resolved tunnel command.

The bestroute nexthop-resolved tunnel command is mutually exclusive with the bestroute nexthop-resolved tunnel inherit-ip-cost command.

Example

# Configure BGP IPv6 unicast routes that recurse to IP addresses to participate in route selection.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family unicast
[*HUAWEI-bgp-af-ipv6] bestroute nexthop-resolved ip
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >