Pcornel
Networking · Network & Protocols › BGP Protocol Reference

BGP MP_REACH / MP_UNREACH Field Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=297

Back to the Topic

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/SAFI
  • show bgp vpnv4 unicast all — VPN NLRI
  • show 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 boundaryKnown-good for BGP MP_REACH / MP_UNREACH Field ReferenceSuspicious signatureNext proof
Message identityCorrect peer/direction/type and coherent lengthsWrong sender, type, length or packet phasePacket sequence + peer state
Field semanticsattribute 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 statefamily 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 pathDecode exact fields on both sides
State consequencePacket produces expected protocol/route transitionWire looks healthy but local state disagreesFSM/LSDB/BGP table → RIB/FIB
ClosureOriginal workload succeeds for the explained reasonSession/adjacency recovered only transientlyRepeat 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

Confirmation

Confirm action

Continue?