Congure BFD................................................................................................................................................................ 149
Congure BFD for Physical Ports.......................................................................................................................... 150
Congure BFD for Static Routes.............................................................................................................................151
Congure BFD for OSPF.........................................................................................................................................154
Congure BFD for OSPFv3.....................................................................................................................................159
Congure BFD for IS-IS...........................................................................................................................................162
Congure BFD for BGP...........................................................................................................................................165
Congure BFD for VRRP..........................................................................................................................................171
Conguring Protocol Liveness.................................................................................................................................174
8 Border Gateway Protocol IPv4 (BGPv4).....................................................................................................175
Autonomous Systems (AS)........................................................................................................................................... 175
Sessions and Peers.........................................................................................................................................................177
Establish a Session....................................................................................................................................................177
Route Reectors.............................................................................................................................................................178
Communities............................................................................................................................................................. 179
BGP Attributes................................................................................................................................................................179
Best Path Selection Criteria.................................................................................................................................... 179
Weight.........................................................................................................................................................................181
Local Preference........................................................................................................................................................181
Multi-Exit Discriminators (MEDs)...........................................................................................................................182
Origin..........................................................................................................................................................................183
AS Path......................................................................................................................................................................183
Next Hop................................................................................................................................................................... 184
Multiprotocol BGP..........................................................................................................................................................184
Implement BGP ..............................................................................................................................................................184
Additional Path (Add-Path) Support......................................................................................................................184
Advertise IGP Cost as MED for Redistributed Routes........................................................................................ 185
Ignore Router-ID for Some Best-Path Calculations............................................................................................. 185
Four-Byte AS Numbers........................................................................................................................................... 185
AS4 Number Representation.................................................................................................................................. 186
AS Number Migration...............................................................................................................................................187
BGP4 Management Information Base (MIB)........................................................................................................189
Important Points to Remember.............................................................................................................................. 189
Conguration Information............................................................................................................................................. 190
BGP Conguration......................................................................................................................................................... 190
Enabling BGP.............................................................................................................................................................191
Conguring AS4 Number Representations........................................................................................................... 194
Conguring Peer Groups.........................................................................................................................................195
Conguring BGP Fast Fail-Over.............................................................................................................................198
Conguring Passive Peering................................................................................................................................... 199
Maintaining Existing AS Numbers During an AS Migration................................................................................ 200
Allowing an AS Number to Appear in its Own AS Path....................................................................................... 201
Enabling Neighbor Graceful Restart......................................................................................................................202
Filtering on an AS-Path Attribute...........................................................................................................................202
Regular Expressions as Filters................................................................................................................................204
Contents
7