BGP Path Selection Juniper vs. Cisco vs. HP/Huawei

This is just a sort summary sheet about how the BGP path selection process is done by different vendors:

Cisco Juniper HP and Huawei
1 Path with highest WEIGHT Path with highest WEIGHT (PreVal)
2 Path with highest LOCAL_PREF Path with highest LOCAL_PREF Path with highest LOCAL_PREF
3 Lowest AIGP attribute
4 Path originated by the local router Path originated by the local router
5 Path with shortest AS_PATH Path with shortest AS_PATH Path with shortest AS_PATH
6 Path with lowest origin code Path with lowest origin code Path with lowest origin code
7 Path with lowest MED Path with lowest MED Path with lowest MED
8 Striclty prefer internal paths
8 Prefer eBGP over iBGP paths Strictly prefer external BGP paths Prefer eBGP over iBGP paths
9 Path with lowest IGP metric to the BGP next hop Path with lowest IGP metric to the BGP next hop Path with lowest IGP metric to the BGP next hop.
10 Determine if BGP multipath is needed Prefer the path with maximum IGP next hops
11 eBGP Path that was received first eBGP Path that is currently active
12 Prefer the path with lowest router ID Prefer the path with lowest router ID
13 Path with shortest CLUSTER_LIST Path with shortest CLUSTER_LIST Path with shortest CLUSTER_LIST
14 Path with smallest ORIGINATOR_ID
15 Prefer the path with lowest router ID
16 Path that comes from the lowest IP address Prefer the path with lowest peer IP address Path that comes from the lowest IP address

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.