I understand, MX route priority is as below. Is there any way to change this priority?
I was checking on bringing AutoVPN routes above static route.
Thank you @KRobert
Situation is AutoVPN to MPLS (P2P line ) failover.
I know MPLS to AutoVPN failover works, but it's the reverse that's required.
you can try to make it work by using bigger /overlapping subnets(supernets) to the MPLS.
Route priority dictates how traffic is routed when multiple routes exist to the same subnet. However, overlapping routes that are not identical are also present in many deployments. In this case, the most specific route will be used.
thank you @ww I had checked large subnet option too, but in large enterprises we can't just simply apply a large subnet in the VPN tunnel. You know it's implications....
guys, any other solutions??
The tunnel need the smaller subnets.
I dont know your ip plan or design but for example you could set static routes for all RFC1918 private ranges to the Mpls. As long as your vpn tunnels are up and more specific routes are learned there it would prefer the autovpn. (Did not test this . Assumption reading the doc.)