BGP Core Attribute Field Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=267
Answer
Six attributes do most of the work in BGP: ORIGIN, AS_PATH, NEXT_HOP, MED, LOCAL_PREF and COMMUNITIES. They appear as the Next Hop, Metric, LocPrf and Path columns of show ip bgp; communities only in the per-prefix view.
Remember
A blank LocPrf means the default 100, not zero. A blank Metric means no MED, which counts as 0 — the best value. The last character of Path is the origin (i beats ?). Weight is local to the router and is compared first; 32768 marks a route this router originated.
First checks
show ip bgp— one line per path: status flags, next hop, metric, local preference, weight, path.show ip bgp <prefix>— every attribute spelled out per path, the best path, communities.show ip bgp neighbors <ip> routes— one neighbour's paths.
Commands
show ip bgpshow ip bgp <prefix>
Verify in this order
path received → next hop reachable (valid) → weight → LOCAL_PREF → locally originated → AS_PATH length → ORIGIN → MED (same neighbouring AS) → eBGP over iBGP → IGP cost to next hop
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=267