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 OSPF.........................................................................................................................................156
Congure BFD for OSPFv3..................................................................................................................................... 161
Congure BFD for IS-IS...........................................................................................................................................164
Congure BFD for BGP...........................................................................................................................................166
Congure BFD for VRRP.........................................................................................................................................172
Conguring Protocol Liveness................................................................................................................................ 175
8 Border Gateway Protocol IPv4 (BGPv4).....................................................................................................176
Autonomous Systems (AS)........................................................................................................................................... 176
Sessions and Peers.........................................................................................................................................................178
Establish a Session................................................................................................................................................... 178
Route Reectors.............................................................................................................................................................179
Communities............................................................................................................................................................. 180
BGP Attributes................................................................................................................................................................180
Best Path Selection Criteria....................................................................................................................................180
Weight........................................................................................................................................................................182
Local Preference.......................................................................................................................................................182
Multi-Exit Discriminators (MEDs)...........................................................................................................................183
Origin..........................................................................................................................................................................184
AS Path......................................................................................................................................................................184
Next Hop................................................................................................................................................................... 185
Multiprotocol BGP..........................................................................................................................................................185
Implement BGP ............................................................................................................................................................. 185
Additional Path (Add-Path) Support......................................................................................................................185
Advertise IGP Cost as MED for Redistributed Routes........................................................................................ 186
Ignore Router-ID for Some Best-Path Calculations............................................................................................. 186
Four-Byte AS Numbers............................................................................................................................................186
AS4 Number Representation...................................................................................................................................187
AS Number Migration.............................................................................................................................................. 188
BGP4 Management Information Base (MIB)........................................................................................................190
Important Points to Remember.............................................................................................................................. 190
Conguration Information.............................................................................................................................................. 191
BGP Conguration.......................................................................................................................................................... 191
Enabling BGP............................................................................................................................................................ 192
Conguring AS4 Number Representations........................................................................................................... 195
Conguring Peer Groups.........................................................................................................................................196
Conguring BGP Fast Fail-Over.............................................................................................................................199
Conguring Passive Peering...................................................................................................................................200
Maintaining Existing AS Numbers During an AS Migration................................................................................. 201
Contents
7