How does the firewall BGP route?

When multiple routes are reached at the same destination, BGP adopts the following policy to route:
1. Optimize the route with the highest preferred value (PrefVal);
2. Preferred route with the highest local precedence (Local_Pref);
3. Aggregate routes are preferred (aggregation routes have priority over non-aggregated routes);
4. Local manual aggregation routes have a higher priority than local auto-aggregated routes.
5. Routes imported through the network command take precedence over locally routes imported through the import-route command.
6. Preferred AS path (AS_Path) the shortest route;
7. Compare the Origin attribute, and select the route with the Origin type IGP, EGP, and Incomplete;
8. Preferred route with the lowest MED value;
9. Route learned from EBGP (EBGP route priority is higher than IBGP route);
10. The route with the lowest IGP metric for the AS to reach the BGP next hop is preferred. If load balancing is configured and multiple As_Path identical external routes are configured, multiple routes are selected for load balancing based on the configured number of routes.
11. Optimize the shortest route for Cluster_List;
12. Optimize the route with the smallest Originator_ID;
13. It is preferred that the router with the smallest router ID be advertised;
14. Compare the IP address of the peer, preferably from a peer with a smaller IP Address.

Scroll to top