BGP UPDATE Message Field Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=265
Answer
A BGP UPDATE message carries withdrawn routes, path attributes and the prefixes (NLRI) that share those attributes. IPv4 unicast uses the classic NLRI fields; other address families such as IPv6 and VPNv4 use the MP_REACH/MP_UNREACH attributes.
First checks
show bgp ipv4 unicast neighbors <peer> received-routes— received (soft-reconfig inbound)show bgp ipv4 unicast <prefix>— attributes
Commands
debug ip bgp updatesclear ip bgp <neighbor> soft in
Verify in this order
UPDATE (withdrawn, attributes, NLRI) → Adj-RIB-In → policy → Loc-RIB
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
BGP UPDATE Message Field Reference packet-level operational reference
| Wire boundary | Known-good for BGP UPDATE Message Field Reference | Suspicious signature | Next proof |
|---|---|---|---|
| Message identity | Correct peer/direction/type and coherent lengths | Wrong sender, type, length or packet phase | Packet sequence + peer state |
| Field semantics | Withdrawn Routes Length and entries, Total Path Attribute Length, each attribute flags/type/length/value, trailing classic NLRI, or MP_REACH_NLRI/MP_UNREACH_NLRI for negotiated multiprotocol families match intended protocol state | no UPDATE for the expected prefix, explicit withdrawal, malformed length/attribute encoding, missing mandatory attribute, wrong AFI/SAFI representation, policy removing the route after receipt, NEXT_HOP becoming unresolved, or a valid received path that loses best-path/RIB installation downstream | Decode exact fields on both sides |
| State consequence | Packet produces expected protocol/route transition | Wire looks healthy but local state disagrees | FSM/LSDB/BGP table → RIB/FIB |
| Closure | Original workload succeeds for the explained reason | Session/adjacency recovered only transiently | Repeat capture + regression/failover test |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=265