set protocols bgp bestpath compare-routerid


The set protocols bgp bestpath compare-routerid command configures a BGP routing process to compare identical routes received from different external peers during the best path selection process and selects the route with the lowest router ID as the best path. Defaults to disabled.
Any changes in BGP configuration are applied by restarting the current BGP sessions in the VRFs.
The delete protocols bgp bestpath compare-routerid command returns the BGP routing process to the default operation. By default, BGP selects the route that was received first when two routes with identical attributes are received.


Command Syntax

set protocols bgp [vrf<vrf-name>] bestpath compare-routerid

delete protocols bgp [vrf<vrf-name>] bestpath compare-routerid


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].


Example
• This example configures a BGP routing process to compare identical routes received from different external peers during the best path selection process and selects the route with the lowest router ID as the best path.

admin@XorPlus# set protocols bgp bestpath compare-routerid
admin@XorPlus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.