Mandatory Well-Known Origin (i, e, ?) AS-Path (sequence of AS-Numbers to access network/IP) Next-Hop (ip address) |
Discretionary Well-Known Local Preference (for routing policy) Atomic Aggregate (flags route if aggregated) |
Optional Non-Transitive Multi-Exit Discriminator (MED) - multiple entry pts to one AS Originator-ID - for route reflector environment Cluster-List - for route reflector environment |
Optional Transitive Aggregator - IP address & AS of routers that aggregated routes Community - for route tagging |
BGP Route Selection Order:
- Prefer highest weight (local to router)
- Prefer highest local preference (global within AS)
- Prefer routes that the router originated
- Prefer shorter AS paths
- Prefer lowest origin code (IGP < EGP < Incomplete)
- Prefer lowest MED
- Prefer external (EBGP) paths over internal (IBGP)
- For IBGP paths, prefer nonreflected routes (no originator-ID) over reflected routes
- For reflected routes, prefer shorter cluster-list
- For IBGP paths, prefer path through closest IGP neighbor
- For EBGP paths, prefer oldest (most stable) path
- Prefer paths from router with the lower BGP router-ID
No comments:
Post a Comment