Show Menu
Cheatography

BGP Cheat Sheet Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

BGP Operation

Phase 1 - TCP
Phase 2 - BGP Capbal­ities Exchange
Both BGP routers attempt a TCP session on port 179.
After the TCP Session is establ­ished - BGP Speakers exchange messages.

Finite State Machine

FSM

Phase
State Name
Next Succes­sfull State
TCP
Idle(S­tart)
Connect
TCP
Connect
OpenSent
TCP
Active(If TCP fails)
OpenSent
BGP
OpenSent
OpenCo­nfirm
BGP
OpenCo­nfirm
Establ­ished!
 

BGP Messages

Open - Initial request for a BGP session
Update - Exchange NLRI between peers
Notifi­cation - Indicate an error and closes session
KeepAlive - Response to Open Messages & Maintains TCP session
RouteR­efresh - Requests a BGP peer resend the routes it advertised at session establ­ish­ement.
 

BGP Timers

Connect Retry
120 seconds
Hold Time
90 seconds
Keep Alive
30 seconds

Attributes

 

Attributes

Well-Known Mandatory
Must be present in every BGP Update
Well-Known Discre­tionary
Recognized by all BGP implem­ent­ations, but may or may not be present in the Update message