BGP OPEN & Capability Field Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=294
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 boundary | Known-good for BGP OPEN & Capability 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 | Version, My AS, Hold Time, BGP Identifier, Optional Parameters Length, Optional Parameter type/length and nested Capability code/length/value match intended protocol state | wrong 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 Established | 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=294