Chapter5BGPConguration
ItsendsBGProuteupdatingpackets.Themessageissentonlyoncerouteis
updated.
àKEEPALIVE
Itconrmsthepeerstatus.Thedefaultsendingintervalis60seconds,andthe
Hold-timeis180secondsbydefault.OncetheneighborreceivestheKEEPALIVE
packet,theHold-timetimerwillbereset.Ifthehold-timeexpires,thenconsider
thattheneighborisinabnormalstatus,anddisconnecttheBGPconnectionwith
neighbor.
àNOTIFICATION
Itisusedtonotifyerror.TheroutersendsNOTIFICATIONpacketbecauseof
errors,suchastheTCPconnectionisfailedwithneighbor,failedauthentication
androutingloopandsoon.AftersendingNOTIFICATIONpacket,BGP
connectionwillbedisabled.
lBGPWorkingProcess
BGPworkingprocessisshowninFigure5-1.
Figure5-1BGPWorkingProcess
1.IdleState
Itistheinitialstate.TheBGPstartsinitializationaftertheprotocolisactivated.It
resetsthetimer,launchestherstTCPconnectionandentersstate2.
2.Connectstate
TheBGPstartsTCPconnectionandwaitsforthemessageofTCPsuccessful
connection.Iftheconnectionissuccessful,thentheBGPentersOpenSentstate.
Otherwise,theBGPentersActivestate.
5-3
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential