Hi all,
These are the BGP route selection, does anyone have a good Mnemonic for memorizing these?
pDiscards routes with unreachable next hops.
pPrefers the route with the largest PrefVal value. The PrefVal attribute is a Huawei proprietary attribute and is valid only on the device where it is configured.
pPrefers the route with the highest Local_Pref.
pPrefers the following routes in descending order of priority: manually aggregated route, automatically aggregated route, route imported using the network command, route imported using the import command, and route learned from peers.
pPrefers the route with the shortest AS_Path.
pPrefers the route with the Origin attribute IGP, EGP, and Incomplete in sequence.
pPrefers the route with the smallest MED if routes are received from the same AS.
pPrefers an EBGP route to an IBGP route.
pPrefers the route with the smallest IGP metric within an AS.
pPrefers the route with the shortest Cluster_List.
pPrefers the route with the smallest Originator_ID.
pPrefers the route advertised by the router with the smallest Router_ID.
pPrefers the route learned from the neighbor with the lowest IP address.
Best regard!