The bestroute nexthop-resolved ip command configures a device to allow BGP EVPN routes to participate in route selection only if they recurse to IP addresses.
The bestroute nexthop-resolved tunnel command configures a device to allow BGP EVPN routes to participate in route selection only if they recurse to tunnels.
The bestroute nexthop-resolved none command configures a device to ignore the reachability of the next hops of received BGP EVPN routes.
The undo bestroute nexthop-resolved command restores the default configuration.
By default, a device allows BGP EVPN routes to participate in route selection only if they recurse to IP addresses.
Parameter | Description | Value |
---|---|---|
ip |
Allows BGP EVPN routes to participate in route selection only if they recurse to IP addresses. |
- |
tunnel |
Allows BGP EVPN routes to participate in route selection only if they recurse to tunnels. |
- |
none |
Allows the local device to ignore the reachability of the next hops of received BGP EVPN routes. Here, BGP EVPN routes include Ethernet auto-discovery routes, MAC advertisement routes, and IP prefix routes, but not inclusive multicast routes or Ethernet segment routes. |
- |
Usage Scenario
By default, a device allows BGP EVPN routes to participate in route selection only if they recurse to IP addresses. If the local device is an ASBR, the optimal route on the ASBR needs to recurse to a tunnel. In addition, if load balancing and FRR are configured on the ASBR, to ensure that the non-preferred routes can effectively participate in load balancing and implement FRR, these routes on the ASBR also need to recurse to tunnels. To meet requirements in both cases, run the bestroute nexthop-resolved tunnel command to configure the ASBR to allow BGP EVPN routes to participate in route selection only if they recurse to tunnels.
If the local device is an RR, the optimal route on the RR only to be transit to receiver. It is advised to run the bestroute nexthop-resolved none command to configure the RR to allow BGP EVPN routes to participate in route selection directly.Configuration Impact
The bestroute nexthop-resolved ip command is mutually exclusive with the bestroute nexthop-resolved tunnel command.
The bestroute nexthop-resolved ip command is mutually exclusive with the bestroute nexthop-resolved none command. The bestroute nexthop-resolved tunnel command is mutually exclusive with the bestroute nexthop-resolved tunnel command. The bestroute nexthop-resolved tunnel command is mutually exclusive with the bestroute nexthop-resolved tunnel inherit-ip-cost command.