The correct sequence for BGP active route selection when BGP multipath or multihop are not configured is as follows:
Higher local preference: Routes with a higher local preference are preferred.
Shortest AS path: Routes with the shortest AS path are preferred.
Lower origin code: Routes with lower origin code (IGP < EGP < Incomplete) are preferred.
Lowest router ID: Routes with the lowest router ID are preferred.
Lowest peer address: Routes with the lowest peer address are preferred.
References:
Standard BGP route selection criteria as outlined in network routing protocols.
Documentation from "Useful Juniper Commands.txt" and "Juniper Commands.pdf" which include detailed BGP operational commands and preferences.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit