Routing and WAN connections / Border Gateway Protocol version 4 (BGPv4) |
"Preference" is an optional BGP attribute used to set preferred paths to certain prefixes. The device prefers a path with a higher preference over a path with a lower preference.
Within an AS, the iBGP neighbors exchange the BGP attribute LOCAL_PREFERENCE. The eBGP neighbors in neighboring ASs do not transmit this attribute.
This example explains how to configure the prioritization of the prefix from a BGP neighbor with the preference "200" over the prefix from another BGP neighbor with the preference "100".