bestroute nexthop-resolved (BGP-EVPN address family view)

Function

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.

Format

bestroute nexthop-resolved { ip | tunnel | none }

undo bestroute nexthop-resolved [ none ]

Parameters

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.

-

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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.

Example

# Configure a device to allow BGP EVPN routes to participate in route selection only if they recurse to tunnels.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] bestroute nexthop-resolved tunnel
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >