Configure BFD for Static Routes...........................................................................................................................150
Configure BFD for OSPF.........................................................................................................................................153
Configure BFD for OSPFv3.................................................................................................................................... 156
Configure BFD for IS-IS...........................................................................................................................................157
Configure BFD for BGP...........................................................................................................................................160
Configure BFD for VRRP........................................................................................................................................ 166
Configuring Protocol Liveness................................................................................................................................169
8 Border Gateway Protocol IPv4 (BGPv4).................................................................................................... 170
Autonomous Systems (AS)...........................................................................................................................................170
Sessions and Peers.........................................................................................................................................................172
Establish a Session................................................................................................................................................... 172
Route Reflectors.............................................................................................................................................................173
Communities..............................................................................................................................................................174
BGP Attributes................................................................................................................................................................174
Best Path Selection Criteria....................................................................................................................................174
Weight........................................................................................................................................................................176
Local Preference...................................................................................................................................................... 176
Multi-Exit Discriminators (MEDs)...........................................................................................................................177
Origin..........................................................................................................................................................................178
AS Path......................................................................................................................................................................178
Next Hop................................................................................................................................................................... 179
Multiprotocol BGP..........................................................................................................................................................179
Implement BGP ..............................................................................................................................................................179
Additional Path (Add-Path) Support..................................................................................................................... 179
Advertise IGP Cost as MED for Redistributed Routes........................................................................................180
Ignore Router-ID for Some Best-Path Calculations............................................................................................ 180
Four-Byte AS Numbers........................................................................................................................................... 180
AS4 Number Representation...................................................................................................................................181
AS Number Migration.............................................................................................................................................. 182
BGP4 Management Information Base (MIB)....................................................................................................... 184
Important Points to Remember..............................................................................................................................184
Configuration Information............................................................................................................................................. 185
BGP Configuration......................................................................................................................................................... 185
Enabling BGP............................................................................................................................................................ 186
Configuring AS4 Number Representations...........................................................................................................189
Configuring Peer Groups.........................................................................................................................................190
Configuring BGP Fast Fail-Over.............................................................................................................................193
Configuring Passive Peering................................................................................................................................... 194
Maintaining Existing AS Numbers During an AS Migration.................................................................................195
Allowing an AS Number to Appear in its Own AS Path.......................................................................................196
Enabling Neighbor Graceful Restart...................................................................................................................... 197
Filtering on an AS-Path Attribute...........................................................................................................................197
Regular Expressions as Filters................................................................................................................................ 198
Redistributing Routes............................................................................................................................................. 200
Enabling Additional Paths....................................................................................................................................... 200
Contents
7