LogicMonitor + Catchpoint: Enter the New Era of Autonomous IT

Learn more

Turn BGP visibility into routing confidence

LogicMonitor helps network teams monitor BGP attribute changes, path selection shifts, and routing anomalies in real time, giving you the context you need to act before issues escalate.

What are BGP attributes?

BGP attributes are pieces of information attached to route advertisements (Update messages) that routers use to make path selection decisions. They define the characteristics of a route such as its origin, the path it took through autonomous systems, and the preference assigned to it. Attributes are categorized as well-known mandatory, well-known discretionary, optional transitive, or optional non-transitive.

What is the difference between LOCAL_PREF and MED in BGP?

LOCAL_PREF is used within a single AS to determine the preferred outbound path and is shared only between iBGP peers. A higher LOCAL_PREF value means a more preferred route. MED (Multi Exit Discriminator), on the other hand, is used to influence inbound traffic from a neighboring AS, suggesting which entry point they should use. A lower MED value is preferred. The two attributes solve different traffic engineering problems: LOCAL_PREF shapes outbound traffic; MED influences inbound.

How does AS_PATH affect BGP path selection?

AS_PATH is a well-known mandatory attribute that lists every autonomous system a route has passed through. During path selection, BGP prefers routes with shorter AS_PATH lengths, all else being equal. Network engineers can prepend their own AS number to an AS_PATH to artificially lengthen it, making a route less preferred, a common traffic engineering technique.

Why are BGP attributes important for network security?

BGP attributes like ORIGIN and AS_PATH can reveal anomalies that indicate route hijacking or leaks. If an unexpected AS appears in the AS_PATH of a prefix you own, it may indicate a hijack attempt. Monitoring attribute changes, especially unexpected ORIGIN changes or new ASes originating your prefixes, is a critical component of BGP security.