By importing extended community attributes to BGP, MP-IBGP can advertise VPNv4 routes between PEs.
The Hub-PE must set up the MP-IBGP peer with all the Spoke-PEs. Spoke-PEs do not need to set up the MP-IBGP peer between each other.
Perform the following steps on the Hub-PE and Spoke-PE.
system-view
bgp { as-number-plain | as-number-dot }
peer ipv4-address as-number { as-number-plain | as-number-dot }
peer ipv4-address connect-interface loopback interface-number
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.
ipv4-family vpnv4 [ unicast ]
peer ipv4-address enable