The vpn-route cross multipath command adds multiple VPNv4 or VPNv6 routes to a VPN instance with a different RD from these routes' RDs.
The undo vpn-route cross multipath command restores the default configuration.
By default, if the RDs of multiple VPNv4 or VPNv6 routes are different from the RD of a VPN instance, only the optimal route is added to the VPN instance.
Usage Scenario
By default, if the RD of the VPN instance on the local PE is different from the RDs of the VPN instances on multiple remote PEs, and the RDs of the VPN instances on remote PEs are the same, the local PE adds only the optimal route to the VPN instance after receiving VPNv4 or VPNv6 routes with the same destination address from the remote PEs. As a result, load balancing or VPN FRR does not take effect. To resolve this problem, run the vpn-route cross multipath command on the local PE.
Configuration Impact
If no load balancing is configured, a maximum of two VPNv4 or VPNv6 routes can be added to the VPN instance.
If you set the maximum number of equal-cost routes for load balancing to n using the maximum load-balancing command, n VPNv4 or VPNv6 routes can be added to the VPN instance.
If you configure VPN FRR and set the maximum number of equal-cost routes for load balancing to n using the maximum load-balancing and auto-frr command, n + 1 VPNv4 or VPNv6 routes can be added to the VPN instance.
<HUAWEI> system-view [HUAWEI] bgp 100 [HUAWEI-bgp] ipv4-family vpn-instance vrf1 [HUAWEI-bgp-vrf1] vpn-route cross multipath
<HUAWEI> system-view [HUAWEI] bgp 100 [HUAWEI-bgp] ipv6-family vpn-instance vrf1 [HUAWEI-bgp6-vrf1] vpn-route cross multipath