LogicMonitor + Catchpoint: Enter the New Era of Autonomous IT

Learn more

Validate your outbound routing policy is working.

LogicMonitor provides network teams real-time visibility into active paths and routing table state, so you can confirm your LOCAL_PREF policies are directing traffic to the right upstreams, and catch drift when something changes unexpectedly.

What is BGP LOCAL_PREF?

LOCAL_PREF (Local Preference) is a well-known discretionary BGP attribute used to indicate the preferred outbound path from within an AS to reach a destination in another AS. It is shared only between iBGP peers and is not propagated to external BGP neighbors. A higher LOCAL_PREF value means the path is more preferred. The default value is 100 on most platforms.

How does LOCAL_PREF differ from MED?

LOCAL_PREF and MED serve opposite purposes. LOCAL_PREF controls outbound traffic, it tells routers within your AS which exit point to use when sending traffic to a destination. MED (Multi Exit Discriminator) influences inbound traffic, it’s sent to neighboring ASes to suggest which entry point they should use when sending traffic to you. LOCAL_PREF is iBGP-only; MED is communicated to external neighbors.

What is the default LOCAL_PREF value?

The default LOCAL_PREF value on most BGP implementations is 100. When comparing two paths, the one with the higher LOCAL_PREF wins. If both paths have the same LOCAL_PREF, BGP moves to the next attribute in the path selection order (AS_PATH length). Setting all primary paths to 200 and backup paths to 100 is a common convention for creating clear primary/backup routing policies.

Can LOCAL_PREF be seen by neighboring ASes?

No. LOCAL_PREF is an iBGP-only attribute and is stripped from route advertisements before they are sent to eBGP neighbors. External ASes cannot see your LOCAL_PREF values, which means changes to LOCAL_PREF only affect routing within your own AS. To influence how external ASes route traffic to you, you must use attributes that are shared across eBGP sessions, such as MED or AS_PATH prepending.