Explore The BGP Path Selection Attributes [Explained with Labs]
![Explore The BGP Path Selection Attributes [Explained with Labs]](https://learnduty.com/wp-content/uploads/2022/07/image-28.png)
BGP Attributes Categories
There are four categories of BGP attributes (CiscoPress):
- Well-known mandatory: Must be recognized by all BGP routers, present in all BGP updates, and passed on to other BGP routers. For example, AS path, origin, and next hop.
- Well-known discretionary: Must be recognized by all BGP routers and passed on to other BGP routers but need not be present in an update, for example, local preference.
- Optional transitive: Might or might not be recognized by a BGP router but is passed on to other BGP routers. If not recognized, it is marked as partial, for example, aggregator, or community.
- Optional nontransitive: Might or might not be recognized by a BGP router and is not passed on to other routers, for example, Multi-Exit Discriminator (MED), originator ID.

BGP Attributes Explained with configuration examples [Labs]
– Next Hop
– AS PATH
– ORIGIN
– Local Preference
Order of BGP Path Attributes
