The peer high-priority command enables a device to preferentially select routes based on their high priority.
The undo peer high-priority command disables a device from preferentially selecting routes based on their high priority.
By default, the routes learned from a peer group are selected based on the default priority.
Usage Scenario
The VPNv4/VPNv6 address family supports the coexistence of IPv4 and IPv6 peers. A device may learn routes with the same prefix from both IPv4 and IPv6 peers. You can configure the priority sequence of routes received from a specified peer group.
Configuration Impact
The peer high-priority command takes effect only for VPNv4/VPNv6 routes and remotely leaked routes.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] peer 10.1.1.1 as-number 100 [*HUAWEI-bgp] group g1 [*HUAWEI-bgp] ipv4-family vpnv4 [*HUAWEI-bgp-af-vpnv4] peer g1 enable [*HUAWEI-bgp-af-vpnv4] peer 10.1.1.1 group g1 [*HUAWEI-bgp-af-vpnv4] peer g1 high-priority