Border Gateway Protocol uses a Finite State Machine (FSM) to manage the establishment, maintenance, and termination of BGP peering sessions.
The BGP FSM progresses through six principal states:
State
Function
Idle
Initialize the BGP session
Connect
Attempt to establish a TCP connection
Active
Retry TCP connection establishment
OpenSent
Exchange BGP OPEN messages
OpenConfirm
Wait for KEEPALIVE confirmation
Established
Exchange BGP routing information
Simplified BGP state progression. Actual FSM transitions depend on connection events and timers.
The Connect state indicates that the local BGP speaker is attempting to establish a TCP connection with its configured neighbor.
If the remote peer is incorrectly configured, does not accept the connection, or is otherwise unreachable, the TCP connection cannot be successfully established. The BGP session may remain in Connect or repeatedly transition between Connect and Active.
Once the TCP connection is established, BGP proceeds to the OPEN message exchange and subsequent session establishment stages.
On Nokia SR OS, useful troubleshooting commands include:
show router bgp summary
show router bgp neighbor
show router route-table
The operator should verify peer reachability, TCP port 179 connectivity, configured source addresses, authentication settings, and the remote neighbor configuration.
Among the available options, B provides the most general explanation for unsuccessful connection establishment.
[Reference:Nokia SR OS Unicast Routing Protocols Guide — BGP Session States; RFC 4271., Technical clarification:The Connect state alone cannot conclusively identify which peer is misconfigured. Option D is also a possible cause because an administratively disabled remote BGP peer may not accept the connection.]
Submit