< Home

Configuring BGP4+ to Import Routes

BGP4+ obtains the routing information inside the AS by importing the IGP routing information and advertises the route to the peer. Before the IGP routing information is imported, related configuration should be made to allow BGP4+ to import default routes.

Procedure

  1. Access the system view.

    system-view

  2. Access the BGP view.

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

  3. Access the BGP IPv6 unicast address family view.

    ipv6-family unicast

  4. Configure BGP4+ to import routes of other protocols.

    import-route protocol [ process-id ] [ med med | route-policy route-policy-name ] *

  5. Configure BGP4+ to import the default routes.

    default-route imported

    If the default-route imported command is not used, you cannot import the default routes from other protocols by using the import-route command.

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