I have been using BGP for 8 years now, but still I cannot do 100% memorized all details of the best path selection rule. Below is the short cut to perfection for BGP Path best path selection criteria.

If Next Hop not accessible drop the update!

We                 – Weight (Highest)
Love               – Local Pref (Highest)
Oranges         – Originated by BGP – this router! – network statement
AS                  – AS Path (shortest)
Oranges         – Origin Code i<e<?
Means            – MED (lowest)
Pure               – Path – to closest IGP Neighbor
Refresment    – Router ID (lowest)

We Love Oranges AS Orages Means Pure Refrement.