S1720&S2700&S5700&S6720 Series Ethernet Switches Configuration Guide - IP Unicast Routing
S1720&S2700&S5700&S6720 Series Ethernet Switches Configuration Guide - IP Unicast Routing
Contents
4 RIP Configuration....................................................................................................................... 64
4.1 Introduction to RIP....................................................................................................................................................... 65
4.2 Principles...................................................................................................................................................................... 65
4.2.1 RIP Principles............................................................................................................................................................ 65
4.2.2 RIP-2 Enhanced Features.......................................................................................................................................... 67
4.2.3 Split Horizon and Poison Reverse............................................................................................................................. 69
4.2.4 Multi-Process and Multi-Instance............................................................................................................................. 70
4.2.5 BFD for RIP...............................................................................................................................................................70
4.2.6 Hot Standby............................................................................................................................................................... 72
4.3 Configuration Task Summary.......................................................................................................................................72
4.4 Configuration Notes..................................................................................................................................................... 75
4.5 Default Configuration...................................................................................................................................................78
4.6 Configuring Basic RIP Functions.................................................................................................................................78
4.6.1 Enabling RIP..............................................................................................................................................................78
4.6.2 Enabling RIP on the Specified Network Segment.....................................................................................................79
4.6.3 (Optional) Configuring RIP Neighbors on an NBMA Network............................................................................... 80
4.6.4 (Optional) Configuring the RIP Version....................................................................................................................80
5 RIPng Configuration.................................................................................................................125
5.1 Introduction to RIPng................................................................................................................................................. 126
5.2 Principles.................................................................................................................................................................... 126
5.2.1 RIPng....................................................................................................................................................................... 126
5.3 Configuration Task Summary.....................................................................................................................................126
5.4 Configuration Notes................................................................................................................................................... 128
5.5 Default Configuration.................................................................................................................................................130
5.6 Configuring Basic RIPng Functions...........................................................................................................................130
5.6.1 Enabling RIPng........................................................................................................................................................131
5.6.2 Enabling RIPng on Interfaces..................................................................................................................................131
5.6.3 Checking the Configuration.....................................................................................................................................132
5.7 Avoiding Routing Loops.............................................................................................................................................132
5.7.1 Configuring Split Horizon....................................................................................................................................... 132
5.7.2 Configuring Poison Reverse.................................................................................................................................... 133
5.7.3 Checking the Configuration.....................................................................................................................................134
5.8 Controlling RIPng Routing.........................................................................................................................................134
5.8.1 Configuring RIPng Preference................................................................................................................................ 134
5.8.2 Configuring Additional Metrics of an Interface...................................................................................................... 135
5.8.3 Setting the Maximum Number of Equal-Cost Routes.............................................................................................136
5.8.4 Checking the Configuration.....................................................................................................................................136
5.9 Controlling RIPng Route Advertisement................................................................................................................... 137
5.9.1 Configuring RIPng Route Summarization.............................................................................................................. 137
5.9.2 Advertising a Default Route.................................................................................................................................... 138
5.9.3 Configuring a RIPng Process to Import External Routes........................................................................................139
5.9.4 Disabling Sending of RIPng Packets on an Interface..............................................................................................139
5.9.5 Disabling Receiving of RIPng Packets on an Interface...........................................................................................140
5.9.6 Checking the Configuration.....................................................................................................................................141
5.10 Controlling the Receiving of RIPng Routes............................................................................................................. 141
5.11 Improving RIPng Network Performance..................................................................................................................142
5.11.1 Configuring RIPng Timers.................................................................................................................................... 142
5.11.2 Setting the Interval for Sending Update Packets and Maximum Number of Sent Packets................................... 143
5.11.3 Enabling Zero Field Check for RIPng Packets......................................................................................................144
5.11.4 Checking the Configuration...................................................................................................................................144
5.12 Maintaining RIPng................................................................................................................................................... 145
5.12.1 Clearing RIPng...................................................................................................................................................... 145
5.13 Configuration Examples........................................................................................................................................... 145
5.13.1 Example for Configuring RIPng to Filter the Received Routes............................................................................ 145
6 OSPF Configuration..................................................................................................................151
6.1 Introduction to OSPF..................................................................................................................................................153
6.2 Principles.................................................................................................................................................................... 153
6.2.1 Fundamentals of OSPF............................................................................................................................................ 153
6.2.2 OSPF TE..................................................................................................................................................................164
6.2.3 BFD for OSPF......................................................................................................................................................... 166
6.2.4 OSPF GTSM............................................................................................................................................................167
6.2.5 OSPF Smart-Discover............................................................................................................................................. 167
6.2.6 OSPF VPN...............................................................................................................................................................168
6.2.7 OSPF NSSA............................................................................................................................................................ 174
6.2.8 OSPF Fast Convergence.......................................................................................................................................... 175
6.2.9 Priority-based OSPF Convergence.......................................................................................................................... 176
6.2.10 OSPF Neighbor Relationship Flapping Suppression.............................................................................................176
6.2.11 OSPF-BGP Synchronization..................................................................................................................................182
6.2.12 OSPF GR............................................................................................................................................................... 183
6.2.13 OSPF-LDP Synchronization..................................................................................................................................187
6.2.14 OSPF Database Overflow......................................................................................................................................188
6.2.15 OSPF Mesh-Group................................................................................................................................................ 189
6.3 OSPF Applications..................................................................................................................................................... 191
6.3.1 OSPF GR................................................................................................................................................................. 191
6.3.2 OSPF GTSM............................................................................................................................................................191
6.4 Configuration Task Summary.....................................................................................................................................192
6.5 Configuration Notes................................................................................................................................................... 195
6.6 Default Configuration.................................................................................................................................................197
6.7 Configuring Basic OSPF Functions........................................................................................................................... 197
6.7.1 Creating an OSPF Process....................................................................................................................................... 197
6.7.2 Creating an OSPF Area........................................................................................................................................... 198
6.7.3 Enabling OSPF........................................................................................................................................................ 199
6.7.4 (Optional) Creating OSPF Virtual Links................................................................................................................. 200
6.7.5 (Optional) Restricting the Flooding of LSA Packets...............................................................................................201
6.7.6 Checking the Configuration.....................................................................................................................................202
6.8 Configuring Session Parameters for OSPF Neighbor Relationships..........................................................................202
6.8.1 Setting an OSPF Packet Retransmission Limit....................................................................................................... 203
6.8.2 Configuring an Interface to Insert the Actual MTU into DD Packets.....................................................................203
6.8.3 Checking the Configuration.....................................................................................................................................204
6.9 Configuring OSPF Attributes on Different Types of Networks................................................................................. 205
6.9.1 Configuring Network Types for an OSPF Interface................................................................................................ 206
6.9.2 Configuring P2MP Network Attributes...................................................................................................................207
6.9.3 Configuring NBMA Network Attributes.................................................................................................................208
6.9.4 Checking the Configuration.....................................................................................................................................209
6.10 Configuring OSPF Stub Areas................................................................................................................................. 210
6.17.2 Configuring a Delay After Which LSAs Are Transmitted on an Interface........................................................... 242
6.17.3 Configuring an Interval at Which LSAs Are Retransmitted................................................................................. 243
6.17.4 Configuring Stub Routers...................................................................................................................................... 244
6.17.5 Prohibiting an OSPF Interface from Sending and Receiving Protocol Packets.................................................... 244
6.17.6 Checking the Configuration...................................................................................................................................245
6.18 Improving the Security of an OSPF Network.......................................................................................................... 245
6.18.1 Configuring the OSPF GTSM Functions.............................................................................................................. 246
6.18.2 Configuring an Area Authentication Mode........................................................................................................... 247
6.18.3 Configuring an Interface Authentication Mode.....................................................................................................248
6.18.4 Checking the Configuration...................................................................................................................................249
6.19 Configuring OSPF Neighbor Relationship Flapping Suppression........................................................................... 250
6.20 Configuring Network Management Functions for OSPF.........................................................................................252
6.20.1 Configuring OSPF MIB Binding...........................................................................................................................253
6.20.2 Configuring the OSPF Trap Function....................................................................................................................253
6.20.3 Configuring the OSPF Log Function.....................................................................................................................253
6.20.4 Checking the Configuration...................................................................................................................................254
6.21 Maintaining OSPF.................................................................................................................................................... 254
6.21.1 Clearing OSPF....................................................................................................................................................... 254
6.21.2 Resetting OSPF......................................................................................................................................................255
6.22 Configuration Examples........................................................................................................................................... 255
6.22.1 Example for Configuring Basic OSPF Functions..................................................................................................255
6.22.2 Example for Configuring OSPF DR Election....................................................................................................... 259
6.22.3 Example for Configuring an OSPF Stub Area...................................................................................................... 264
6.22.4 Example for Configuring an OSPF NSSA............................................................................................................ 268
6.22.5 Example for Configuring OSPF Load Balancing..................................................................................................273
6.22.6 Example for Configuring OSPF-BGP Synchronization........................................................................................ 278
6.22.7 Example for Configuring OSPF GR......................................................................................................................286
6.22.8 Example for Configuring BFD for OSPF..............................................................................................................291
6.23 Common Misconfigurations..................................................................................................................................... 296
6.23.1 An OSPF Neighbor Relationship Cannot Be Established..................................................................................... 296
6.23.2 OSPF Cannot Find Routes of a Non-Local Area.................................................................................................. 298
6.24 References................................................................................................................................................................ 299
10 BGP Configuration..................................................................................................................597
10.1 Introduction to BGP..................................................................................................................................................598
10.2 Principles.................................................................................................................................................................. 599
10.2.1 BGP Concepts........................................................................................................................................................599
10.2.2 BGP Working Principles........................................................................................................................................600
10.2.3 Interaction Between BGP and an IGP................................................................................................................... 603
10.2.4 BGP Security......................................................................................................................................................... 603
10.2.5 BGP Route Selection Rules and Load Balancing..................................................................................................604
10.2.6 Route Reflector......................................................................................................................................................608