< Home

Configuring BGP to Import Default Routes

By configuring BGP to import default routes, you can import the IGP default routes that already exist in the local routing table.

Context

To import a default route, the default-route imported command needs to be used together with the import-route command. The default route cannot be imported using only the import-route command. The default-route imported command is used only to import the default route that exists in the local routing table.

Procedure

  1. Access the system view.

    system-view

  2. Access the BGP view.

    bgp { as-number-plain | as-number-dot }

  3. Access the BGP IPv4 unicast address family view.

    ipv4-family unicast

  4. Configure BGP to import default routes.

    default-route imported

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