BGP Message Types: OPEN, UPDATE, NOTIFICATION Byte by Byte
A new peering session reaches OpenSent , drops back to Idle , and the log says only NOTIFICATION 2/2 . Another session has been fine for months and then dies at 03:00 with 4/0 . A third one never fails, but after every policy change someone types clear ip bgp * soft and hopes. All three cases come down to the five BGP message types : OPEN, UPDATE, KEEPALIVE, NOTIFICATION and ROUTE-REFRESH. This is part 3 of our 26-part BGP Deep Dive . Here we read each message byte by byte from real captures: a 2000 sample, Cisco IOS from 2008, an NTT shutdown message from 2016 and FRRouting from 2022. Then we build a GoBGP 4.11 lab with a hand-written Python BGP speaker and break the session on purpose to see exactly which NOTIFICATION comes back.