边界网关协议bestpath compare-routerid

Syntax

边界网关协议bestpath compare-routerid no bgp bestpath compare-routerid

描述

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没有form of this 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 context

config-bgp

权威

Administrators or local user group members with execution rights for this command.

Examples

switch(config-bgp)#边界网关协议bestpath compare-routeridAll current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)?
switch(config-bgp)#没有边界网关协议bestpath compare-routeridAll current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)?