Configuring Route Recursion to the Default Route

Route recursion to the default route allows the unicast static routes, BGP routes, or multicast static routes whose next hops are not directly reachable to recurse to the default route.

Usage Scenario

The next hops of 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 route recursion to the default route, run the { ip | ipv6 } route recursive-lookup default-route command. By default, static routes cannot recurse to the default route.

Pre-configuration Tasks

None

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip route recursive-lookup default-route protocol { static | msr } or ipv6 route recursive-lookup default-route protocol static

    Route recursion to the default route is enabled.

  3. Run commit

    The configuration is committed.

Verifying the Configuration

After configuring route recursion to the default route, run the display current-configuration command in the system view to verify the configuration.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >