BGP MP_REACH / MP_UNREACH Field Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=297
Answer
MP_REACH_NLRI and MP_UNREACH_NLRI are BGP attributes that carry routes and withdrawals for address families other than plain IPv4 unicast, such as IPv6 or VPNv4, identified by AFI/SAFI and including their own next hop.
First checks
show bgp ipv6 unicast summary— MP-BGP AFI/SAFIshow bgp vpnv4 unicast all— VPN NLRIshow bgp ipv4 unicast neighbors <peer>— capabilities (multiprotocol)
Verify in this order
OPEN capability → MP_REACH (AFI/SAFI, next hop, NLRI) → table per family
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
BGP MP_REACH / MP_UNREACH Field Reference packet-level operational reference
| Wire boundary | Known-good for BGP MP_REACH / MP_UNREACH 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 | attribute flags/type/length, AFI, SAFI, MP_REACH next-hop length/value and NLRI, plus MP_UNREACH withdrawn NLRI for the same family match intended protocol state | family capability was never negotiated, UPDATE carries a different AFI/SAFI, expected prefix is explicitly MP_UNREACH withdrawn, next-hop length/value is unusable or unreachable, import policy rejects the family route, or the route reaches the BGP table but cannot become a valid installed forwarding path | 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=297