nexthop recursive-lookup default-route (BGP-IPv6 unicast address family view)

Function

The nexthop recursive-lookup default-route command enables BGP route recursion to the default route.

The undo nexthop recursive-lookup default-route command disables BGP route recursion to the default route.

By default, BGP route recursion to the default route is disabled.

Format

nexthop recursive-lookup default-route

undo nexthop recursive-lookup default-route

Parameters

None

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

The next hops of BGP routes may not be directly reachable. In this case, recursion is required so that the BGP routes can be used for traffic forwarding. To enable BGP route recursion to the default route in an IPv6 address family view, run the nexthop recursive-lookup default-route command.

Precautions

After the nexthop recursive-lookup default-route command is run, BGP routes can recurse to the default route, which may lead to a forwarding path change.

Example

# Enable BGP route recursion to the default route in the BGP-IPv6 unicast address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family unicast
[*HUAWEI-bgp-af-ipv6] nexthop recursive-lookup default-route
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >