Configuring BGP4+ to Import Default Routes

This section describes how to configure BGP4+ to import default routes from the local routing table.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run ipv6-family unicast

    The IPv6 unicast address family view is displayed.

  4. Run default-route imported

    BGP4+ is configured to import default routes.

    To import default routes, run both the default-route imported command and the import-route command. If only the import-route command is used, default routes cannot be imported. In addition, the default-route imported command is used to import only the default routes that exist in the local routing table.

  5. Run commit

    The configuration is committed.

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