Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

protocols bgp <asn> parameters bestpath compare-routerid

Directs the router to compare identical routes received from different external peers during best path selection.

set protocols bgp asn parameters bestpath compare-routerid
delete protocols bgp asn parameters bestpath compare-routerid
show protocols bgp asn parameters bestpath

By default, when making the best-path selection, the router does not compare identical routes received from different external peers.

asn
The number of the AS in which this router resides. The numbers range from 1 through 4294967294. The subrange, 64512 through 65534, is reserved for private AS.

Configuration mode


protocols {
    bgp asn {
        parameters {
            bestpath {
                compare-routerid
            }
        }
    }
}

Use the set form of this command to direct the router to compare identical routes received from different external peers during best path selection, and select as the best path the route with the lowest router ID.

Use the delete form of this command to restore the default best-path selection behavior.

Use the show form of this command to view BGP best path selection configuration settings.