< Home

Configuring MP-IBGP Between Hub-PE and Spoke-PE

Context

The Hub-PE must set up the MP-IBGP peer with all the Spoke-PE devices. Spoke-PE devices do not need to set up the MP-IBGP peer between each other.

Perform the following steps on the Hub-PE and Spoke-PE devices.

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 PE is configured as a BGP peer.

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

    An interface is used to set up a Transmission Control Protocol (TCP) connection with the BGP peer.

    A PE must use a loopback interface address with a 32-bit mask to set up an MP-IBGP peer relationship with the peer PE so that VPN routes can be iterated to tunnels. The route to the local loopback interface is advertised to the peer PE using an IGP on the MPLS backbone network.

  5. Run ipv4-family vpnv4 [ unicast ]

    The BGP-VPNv4 address family view is displayed.

  6. Run peer ipv4-address enable

    The ability to exchange VPN IPv4 routes with the BGP peer is enabled.

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