< Home

Advertising the Routes of the PE in the Local AS to the Remote PE

After the routes of the loopback interface on a PE in an AS are advertised to the remote PE in another AS, the MP-EBGP peer relationship is established between the PEs.

Procedure

  • The loopback address of the PE in the local AS is advertised to the remote ASBR.

    Perform the following steps on an ASBR:

    1. Access the system view.

      system-view

    2. Access the BGP view.

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

    3. Advertise the loopback address of the PE in the local AS to the remote ASBR.

      network ip-address [ mask | mask-length ]

    4. Return to the system view.

      quit

  • The BGP routes are imported to IGP.

    Perform the following steps on the peer ASBR:

    1. Access the system view.

      system-view

    2. Access the OSPF view.

      ospf [ process-id ]

    3. Import BGP routes to IGP.

      import-route bgp [ cost cost | route-policy route-policy-name ] *

    4. Return to the system view.

      quit

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