Changes the default administrative distances for eBGP, iBGP, and local BGP.
BGP configuration mode
To select one route over another according to the source of the route information, the device can use the administrative distances assigned to the sources. The administrative distance is a protocol-independent metric that IP devices use to compare routes from different sources. Lower administrative distances are preferred over higher ones.
The following example configures the device to change the administrative distance.
device# configure terminal device(config)# router bgp device(config-bgp-router)# distance 100 150 200