Configuring BGP4+ Route Recursion to the Default Route

In case the next hops of BGP4+ routes are not directly reachable, you can configure BGP4+ route recursion to the default route.

Usage Scenario

The next hops of BGP4+ routes may not be directly reachable. In this case, recursion is required so that the BGP4+ routes can be used for traffic forwarding. You can configure whether to allow BGP4+ routes to recurse to the default route.

Pre-configuration Tasks

Before configuring BGP4+ route recursion to the default route, configure basic BGP4+ functions.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  3. Run ipv6-family unicast

    The BGP-IPv6 unicast address family view is displayed.

  4. Run nexthop recursive-lookup default-route

    BGP4+ route recursion to the default route is configured.

  5. Run commit

    The configuration is committed.

Verifying the Configuration

After configuring BGP4+ route recursion to the default route, run the display current-configuration command in the system view to check whether the function is configured.

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