< Home

Configuring MP-IBGP Between PE and ASBR in the Same AS

Context

Perform the following steps on the PE and ASBR in the same AS.

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 peer ipv4-address as-number as-number

    The peer ASBR is specified as the IBGP peer.

  4. Run peer ipv4-address connect-interface loopback interface-number

    The loopback interface is specified as the outgoing interface of the BGP session.

    The 32-bit mask IP addresses of the loopback interfaces must be used to establish the MP-IBGP peer relationship between PEs. This can ensure that the tunnel can be iterated. The route destined to the loopback interface is advertised to the remote PE based on IGP on the MPLS backbone network.

  5. Run ipv4-family vpnv4 [ unicast ]

    The BGP-VPNv4 address family is displayed.

  6. Run peer ipv4-address enable

    The exchange of VPNv4 routes between the PE and ASBR in the same AS is enabled.

    When an ASBR sends a VPNv4 route to a PE, the ASBR can change the next-hop address of the route to its IP address.

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