BFD Sessions............................................................................................................................................................ 148
BFD Three-Way Handshake.................................................................................................................................... 149
Session State Changes.............................................................................................................................................151
Important Points to Remember..................................................................................................................................... 151
Congure BFD................................................................................................................................................................. 151
Congure BFD for Physical Ports...........................................................................................................................152
Congure BFD for Static Routes............................................................................................................................153
Congure BFD for IPv6 Static Routes...................................................................................................................156
Congure BFD for OSPF.........................................................................................................................................158
Congure BFD for OSPFv3.....................................................................................................................................162
Congure BFD for IS-IS...........................................................................................................................................165
Congure BFD for BGP........................................................................................................................................... 167
Congure BFD for VRRP.........................................................................................................................................173
Conguring Protocol Liveness................................................................................................................................ 176
8 Border Gateway Protocol IPv4 (BGPv4).....................................................................................................177
Autonomous Systems (AS)............................................................................................................................................177
Sessions and Peers.........................................................................................................................................................179
Establish a Session................................................................................................................................................... 179
Route Reectors.............................................................................................................................................................180
Communities.............................................................................................................................................................. 181
BGP Attributes................................................................................................................................................................ 181
Best Path Selection Criteria.....................................................................................................................................181
Weight........................................................................................................................................................................183
Local Preference.......................................................................................................................................................183
Multi-Exit Discriminators (MEDs)...........................................................................................................................184
Origin..........................................................................................................................................................................185
AS Path......................................................................................................................................................................185
Next Hop................................................................................................................................................................... 186
Multiprotocol BGP..........................................................................................................................................................186
Implement BGP ............................................................................................................................................................. 186
Additional Path (Add-Path) Support......................................................................................................................186
Advertise IGP Cost as MED for Redistributed Routes.........................................................................................187
Ignore Router-ID for Some Best-Path Calculations..............................................................................................187
Four-Byte AS Numbers............................................................................................................................................187
AS4 Number Representation.................................................................................................................................. 188
AS Number Migration.............................................................................................................................................. 189
BGP4 Management Information Base (MIB)........................................................................................................ 191
Important Points to Remember...............................................................................................................................191
Conguration Information..............................................................................................................................................192
BGP Conguration......................................................................................................................................................... 192
Enabling BGP............................................................................................................................................................ 193
Conguring AS4 Number Representations........................................................................................................... 196
Conguring Peer Groups......................................................................................................................................... 197
Conguring BGP Fast Fail-Over............................................................................................................................ 200
Conguring Passive Peering................................................................................................................................... 201
Contents
7