The peer high-priority command enables a device to preferentially select routes based on their high priority in the EVPN address family.
The undo peer high-priority command disables a device from preferentially selecting routes based on their high priority in the EVPN address family.
By default, routes are preferentially selected based on BGP route selection rules in the EVPN address family.
Usage Scenario
On networks where IPv4 and IPv6 services coexist, a device may have two routes with the same prefix but different next hops. One is an IPv4 route and the other is an IPv6 route. To enable the device to preferentially select one of the routes based on a higher priority, run the peer high-priority command.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] peer 1.1.1.1 as-number 100 [*HUAWEI-bgp] l2vpn-family evpn [*HUAWEI-bgp-af-evpn] peer 1.1.1.1 enable [*HUAWEI-bgp-af-evpn] peer 1.1.1.1 high-priority