Pcornel
Networking · Network & Protocols › BGP Protocol Reference

BGP OPEN & Capability Field Reference

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

Back to the Topic

Answer

The BGP OPEN message carries the version, the sender's AS number, hold time, BGP identifier (router ID) and optional capabilities such as multiprotocol, route refresh and 4-byte ASN. A mismatch here causes a NOTIFICATION and the session closes.

First checks

  • show ip bgp neighbors <peer> — negotiated capabilities, hold time, router ID

Commands

clear ip bgp … soft in

Verify in this order

TCP 179 → OPEN exchanged → capabilities negotiated → KEEPALIVE → Established

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

BGP OPEN & Capability Field Reference packet-level operational reference

Wire boundaryKnown-good for BGP OPEN & Capability Field ReferenceSuspicious signatureNext proof
Message identityCorrect peer/direction/type and coherent lengthsWrong sender, type, length or packet phasePacket sequence + peer state
Field semanticsVersion, My AS, Hold Time, BGP Identifier, Optional Parameters Length, Optional Parameter type/length and nested Capability code/length/value match intended protocol statewrong expected ASN, invalid or duplicate identity assumptions, unacceptable timer/OPEN parameter, malformed capability TLV, missing multiprotocol capability for an intended address family, four-octet ASN interpretation mismatch, or a session that reaches OpenConfirm but repeatedly resets before stable EstablishedDecode 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=294

Confirmation

Confirm action

Continue?