The bestroute nexthop-priority command configures a device to select a route with a higher priority after the route learned by VPNv4 or VPNv6 is advertised to a private network.
The undo bestroute nexthop-priority command restores the default setting.
By default, BGP selects routes based on the default route selection rules and does not compare next hop types.