ipv6 route recursive-lookup default-route protocol static

Function

The ipv6 route recursive-lookup default-route protocol static command enables IPv6 static route recursion to the default route.

The undo ipv6 route recursive-lookup default-route protocol static disables IPv6 static route recursion to the default route.

By default, IPv6 static route recursion to the default route is not enabled.

Format

ipv6 route recursive-lookup default-route protocol { static }

undo ipv6 route recursive-lookup default-route protocol { static }

Parameters

Parameter Description Value
static

Allows IPv6 static routes to recurse to the default route.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

The next hops of IPv6 static routes may not be directly reachable. In this case, recursion is required so that such routes can be used for traffic forwarding. To allow the IPv6 static routes whose next hops are not directly reachable to recurse to the default route, run the ipv6 route recursive-lookup default-route protocol static command.

Precautions

After the ipv6 route recursive-lookup default-route protocol static command is run, IPv6 static routes of the specified type can recurse to the default route, which may lead to a forwarding path change.

Example

# Allow IPv6 static routes to recurse to the default route.
<HUAWEI> system-view
[~HUAWEI] ipv6 route recursive-lookup default-route protocol static
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >