Huawei Quidway NetEngine80E, Quidway NetEngine40E, NE40E, NE80E Configuration Manual

HUAWEI NetEngine80E/40E Router
V600R008C10
Configuration Guide - IP Routing
Issue
Date 2014-09-30
HUAWEI TECHNOLOGIES CO., LTD.
02
No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd.
Trademarks and Permissions
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied.
Huawei Technologies Co., Ltd.
Address: Huawei Industrial Base
Bantian, Longgang Shenzhen 518129 People's Republic of China
Website: http://www.huawei.com
Email: support@huawei.com
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
Purpose
This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the IP routing feature supported by the NE80E/ 40E.

About This Document

About This Document
NOTICE
Note the following precautions:
l The encryption algorithms DES/3DES/SKIPJACK/RC2/RSA (RSA-1024 or lower)/MD2/
MD4/MD5 (in digital signature scenarios and password encryption)/SHA1 (in digital signature scenarios) have a low security, which may bring security risks. If protocols allowed, using more secure encryption algorithms, such as AES/RSA (RSA-2048 or higher)/SHA2/ HMAC-SHA2, is recommended.
l If the plain parameter is specified, the password will be saved in plaintext in the configuration
file, which has a high security risk. Therefore, specifying the cipher parameter is recommended. To further improve device security, periodically change the password.
l Do not set both the start and end characters of a password to "%$%$." This causes the
password to be displayed directly in the configuration file.
Related Versions
The following table lists the product versions related to this document.
Product Name Version
HUAWEI NetEngine80E/40E Router
V600R008C10
Intended Audience
This document is intended for:
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
ii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing About This Document
l Commissioning Engineer
l Data Configuration Engineer
l Network Monitoring Engineer
l System Maintenance Engineer
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol Description
Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.
Command Conventions
The command conventions that may be found in this document are defined as follows.
Convention Description
Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury.
Indicates a potentially hazardous situation which, if not avoided, could result in equipment damage, data loss, performance deterioration, or unanticipated results.
NOTICE is used to address practices not related to personal injury.
Calls attention to important information, best practices and tips.
NOTE is used to address information not related to personal injury, equipment damage, and environment deterioration.
Boldface The keywords of a command line are in boldface.
Italic Command arguments are in italics.
[ ] Items (keywords or arguments) in brackets [ ] are optional.
{ x | y | ... } Optional items are grouped in braces and separated by
vertical bars. One item is selected.
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
iii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing About This Document
Convention Description
[ x | y | ... ] Optional items are grouped in brackets and separated by
vertical bars. One item is selected or no item is selected.
{ x | y | ... }
[ x | y | ... ]
&<1-n> The parameter before the & sign can be repeated 1 to n times.
# A line starting with the # sign is comments.
*
*
Change History
Changes between document issues are cumulative. The latest document issue contains all the changes made in earlier issues.
Changes in Issue 02 (2014-09-30)
This issue is the second official release.
Optional items are grouped in braces and separated by vertical bars. A minimum of one item or a maximum of all items can be selected.
Optional items are grouped in brackets and separated by vertical bars. Several items or no item can be selected.
Changes in Issue 01 (2014-06-30)
This issue is the first official release.
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
iv
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing

Contents

Contents
About This Document.....................................................................................................................ii
1 IP Routing Basic Configuration..................................................................................................1
1.1 Routing Management.....................................................................................................................................................3
1.1.1 Displaying of the Routing Table.................................................................................................................................3
1.1.2 Displaying of the Routing Management Module........................................................................................................4
1.1.3 FRR Principle..............................................................................................................................................................4
1.2 Configuring IPv4 Multi-Topology.................................................................................................................................5
1.2.1 Before You Start..........................................................................................................................................................5
1.2.2 Creating an IPv4 Topology Instance...........................................................................................................................6
1.2.3 Binding an Interface to an IPv4 Topology Instance....................................................................................................7
1.2.4 Checking the Configurations.......................................................................................................................................8
1.3 Configuring IPv6 Multi-Topology.................................................................................................................................9
1.3.1 Before You Start..........................................................................................................................................................9
1.3.2 Creating an IPv6 Topology Instance.........................................................................................................................10
1.3.3 Binding an Interface to an IPv6 Topology Instance..................................................................................................11
1.3.4 Checking the Configurations.....................................................................................................................................11
1.4 Configuring Public Network IP FRR...........................................................................................................................12
1.4.1 Before You Start........................................................................................................................................................12
1.4.2 Configuring a Route-Policy.......................................................................................................................................13
1.4.3 Enabling Public Network IP FRR.............................................................................................................................14
1.4.4 Checking the Configurations.....................................................................................................................................15
1.5 Configuring Public Network IPv6 FRR.......................................................................................................................15
1.5.1 Before You Start........................................................................................................................................................16
1.5.2 Configuring a Route-Policy.......................................................................................................................................16
1.5.3 Enabling Public Network IPv6 FRR.........................................................................................................................17
1.5.4 Checking the Configurations.....................................................................................................................................18
1.6 Configuring VRRP for Direct Routes..........................................................................................................................19
1.6.1 Before You Start........................................................................................................................................................19
1.6.2 Configuring a VRRP Backup Group.........................................................................................................................20
1.6.3 Associating an Interface with a VRRP Backup Group..............................................................................................21
1.6.4 Checking the Configurations.....................................................................................................................................22
1.7 Configuring an IPv4 Direct Route to Respond to L3VE Interface Status Changes After a Delay..............................23
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
v
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
1.8 Configuring an IPv6 Direct Route to Respond to L3VE Interface Status Changes After a Delay..............................26
1.9 Configuring the Association Between the IPv4 Direct Route and PW Status.............................................................28
1.10 Configuring the Association Between the IPv6 Direct Route and PW Status...........................................................31
1.11 Configuring the Association Between the IPv4 Direct Routes and IPSec Instance Status........................................33
1.12 Configuring a Device to Deactivate the IPv4 Network Segment Route That Corresponds to an L3VE Sub-interface
............................................................................................................................................................................................35
1.13 Configuring a Device to Deactivate the IPv6 Network Segment Route That Corresponds to an L3VE Sub-interface
............................................................................................................................................................................................38
1.14 Configuring AGGs to Load-Balance RNC-to-CSG Traffic.......................................................................................42
1.15 Configuring the Advertisement of IPv4 ARP Vlink Direct Routes on the Public Network......................................46
1.15.1 Before You Start......................................................................................................................................................46
1.15.2 Enabling the Advertisement of IPv4 ARP Vlink Direct Routes.............................................................................47
1.15.3 Checking the Configurations...................................................................................................................................48
1.16 Configuring the Advertisement of IPv6 NDP Vlink Direct Routes on the Public Network......................................49
1.16.1 Before You Start......................................................................................................................................................49
1.16.2 Enabling the Advertisement of IPv6 NDP Vlink Direct Routes.............................................................................50
1.16.3 Checking the Configurations...................................................................................................................................51
1.17 Maintaining the Route Management Module.............................................................................................................52
1.17.1 Configuring Thresholds for the Number of IPv4 Route Prefixes............................................................................52
1.17.2 Configuring Thresholds for the Number of IPv6 Route Prefixes............................................................................53
1.17.3 Configuring a Limit on the Number of IPv4 Public Route Prefixes.......................................................................54
1.17.4 Configuring a Limit on the Number of IPv6 Public Route Prefixes.......................................................................55
1.18 Configuration Example...............................................................................................................................................57
1.18.1 Example for Configuring Public Network IP FRR.................................................................................................57
1.18.2 Example for Configuring Public Network IPv6 FRR.............................................................................................60
1.18.3 Example for Configuring VRRP for Direct Routes.................................................................................................65
1.18.4 Example for Importing IPv4 ARP Vlink Direct Routes to BGP.............................................................................72
1.18.5 Example for Importing IPv6 NDP Vlink Direct Routes to BGP4+........................................................................79
Contents
2 IP Static Route Configuration...................................................................................................89
2.1 Introduction..................................................................................................................................................................91
2.1.1 Static Route................................................................................................................................................................91
2.1.2 Static Routing Features Supported by the NE80E/40E.............................................................................................91
2.2 Configuring an IPv4 Static Route.................................................................................................................................93
2.2.1 Before You Start........................................................................................................................................................93
2.2.2 Configuring an IPv4 Static Route on the Public Network.........................................................................................94
2.2.3 (Optional) Setting the Default Preference for IPv4 Static Routes.............................................................................95
2.2.4 (Optional) Configuring Static Route Selection Based on Relay Depth.....................................................................95
2.2.5 (Optional) Configuring Permanent Advertisement of IPv4 Static Routes................................................................96
2.2.6 Configuring Static IPv4 Routes in a Topology Instance...........................................................................................96
2.2.7 Checking the Configurations.....................................................................................................................................97
2.3 Configuring an IPv6 Static Route.................................................................................................................................97
2.3.1 Before You Start........................................................................................................................................................98
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
vi
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
2.3.2 Configuring an IPv6 Static Route on the Public Network.........................................................................................98
2.3.3 (Optional) Setting the Default Preference for IPv6 Static Routes.............................................................................99
2.3.4 Configuring Static IPv6 Routes in a Topology Instance...........................................................................................99
2.3.5 Checking the Configurations...................................................................................................................................100
2.4 Configuring BFD for IPv4 Static Routes on the Public Network..............................................................................100
2.4.1 Before You Start......................................................................................................................................................100
2.4.2 Configuring an IPv4 static route..............................................................................................................................101
2.4.3 Configuring a BFD Session.....................................................................................................................................102
2.4.4 Binding a Static Route to a BFD Session................................................................................................................103
2.4.5 Checking the Configurations...................................................................................................................................103
2.5 Configuring BFD for IPv6 Static Routes on the Public Network..............................................................................104
2.5.1 Before You Start......................................................................................................................................................104
2.5.2 Configuring an IPv6 static route..............................................................................................................................105
2.5.3 Configuring a BFD Session.....................................................................................................................................105
2.5.4 Binding a Static Route to a BFD Session................................................................................................................106
2.5.5 Checking the Configurations...................................................................................................................................107
2.6 Configuring NQA for IPv4 Static Routes...................................................................................................................107
2.6.1 Before You Start......................................................................................................................................................108
2.6.2 Configuring an ICMP Type NQA Test Instance.....................................................................................................109
2.6.3 Binding an IPv4 Static Route to an NQA Test Instance..........................................................................................110
2.6.4 Checking the Configurations...................................................................................................................................111
2.7 Configuring NQA for IPv6 Static Routes...................................................................................................................112
2.7.1 Before You Start......................................................................................................................................................112
2.7.2 Configuring an ICMP NQA Test Instance..............................................................................................................113
2.7.3 Associating a IPv6 Static Route with an NQA Test Instance..................................................................................115
2.7.4 Checking the Configurations...................................................................................................................................116
2.8 Configuring IPv4 Static Routes to Inherit the Costs of Iterated Routes.....................................................................117
2.9 Configuring IPv6 Static Routes to Inherit the Costs of Iterated Routes.....................................................................119
2.10 Configuration Examples...........................................................................................................................................121
2.10.1 Example for Configuring IPv4 Static Routes........................................................................................................122
2.10.2 Example for Configuring IPv6 Static Routes........................................................................................................125
2.10.3 Example for Configuring BFD for IPv4 Static Routes..........................................................................................128
2.10.4 Example for Configuring BFD for IPv6 Static Routes..........................................................................................131
2.10.5 Example for Configuring NQA for IPv4 Static Routes.........................................................................................135
2.10.6 Example for Configuring NQA for IPv6 Static Routes.........................................................................................142
2.10.7 Example for Configuring Permanent Advertisement of IPv4 Static Routes.........................................................148
Contents
3 RIP Configuration.....................................................................................................................155
3.1 Introduction................................................................................................................................................................157
3.1.1 Overview of RIP......................................................................................................................................................157
3.1.2 RIP Features Supported by the NE80E/40E............................................................................................................158
3.2 Configuring Basic RIP Functions...............................................................................................................................158
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
vii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
3.2.1 Before You Start......................................................................................................................................................158
3.2.2 Enabling RIP............................................................................................................................................................159
3.2.3 Enabling RIP on the Specified Network Segment...................................................................................................160
3.2.4 Configuring RIP Version Number...........................................................................................................................160
3.2.5 Checking the Configurations...................................................................................................................................161
3.3 Configuring RIP Route Attributes..............................................................................................................................164
3.3.1 Before You Start......................................................................................................................................................164
3.3.2 Configuring Additional Metrics of an Interface......................................................................................................164
3.3.3 Configuring RIP Preference....................................................................................................................................166
3.3.4 Setting the Maximum Number of Equal-Cost Routes.............................................................................................167
3.3.5 Checking the Configurations...................................................................................................................................167
3.4 Configuring RIP to Import External Routes...............................................................................................................168
3.5 Controlling the Advertising of RIP Routing Information..........................................................................................169
3.5.1 Before You Start......................................................................................................................................................169
3.5.2 Configuring RIP to Advertise Default Routes.........................................................................................................170
3.5.3 Disabling an Interface from Sending RIP Update Packets......................................................................................170
3.5.4 Configuring RIP to Filter the Routes to be Sent......................................................................................................172
3.5.5 Checking the Configurations...................................................................................................................................174
3.6 Controlling the Receiving of RIP Routing Information.............................................................................................174
3.6.1 Before You Start......................................................................................................................................................174
3.6.2 Disabling an Interface from Receiving RIP Update Packets...................................................................................175
3.6.3 Disabling RIP from Receiving Host Routes............................................................................................................175
3.6.4 Configuring RIP to Filter the Received Routes.......................................................................................................176
3.6.5 Checking the Configurations...................................................................................................................................178
3.7 Configuring RIP-2 Features........................................................................................................................................179
3.7.1 Before You Start......................................................................................................................................................179
3.7.2 Configuring RIP-2 Route Summarization...............................................................................................................180
3.7.3 Configuring Packet Authentication of RIP-2..........................................................................................................181
3.7.4 Checking the Configurations...................................................................................................................................188
3.8 Optimizing a RIP Network.........................................................................................................................................189
3.8.1 Before You Start......................................................................................................................................................189
3.8.2 Configuring RIP Timers..........................................................................................................................................190
3.8.3 Setting the Interval for Sending Packets and the Maximum Number of the Sent Packets......................................191
3.8.4 Configuring Split Horizon and Poison Reverse......................................................................................................191
3.8.5 Enabling replay-protect Function............................................................................................................................192
3.8.6 Configuring RIP to Check the Validity of Update Packets.....................................................................................193
3.8.7 Configuring RIP Neighbors.....................................................................................................................................194
3.8.8 Configuring the RIP GTSM Functions....................................................................................................................195
3.8.9 Checking the Configurations...................................................................................................................................195
3.9 Configuring RIP GR...................................................................................................................................................196
3.9.1 Before You Start......................................................................................................................................................196
Contents
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
viii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
3.9.2 Enabling RIP GR.....................................................................................................................................................197
3.9.3 Checking the Configurations...................................................................................................................................197
3.10 Configuring BFD for RIP.........................................................................................................................................198
3.11 Configuring Static BFD for RIP...............................................................................................................................201
3.12 Configuring the Network Management Function in RIP.........................................................................................204
3.12.1 Before You Start....................................................................................................................................................204
3.12.2 Binding RIP to MIBs.............................................................................................................................................204
3.12.3 Checking the Configurations.................................................................................................................................205
3.13 Maintaining RIP.......................................................................................................................................................205
3.13.1 Resetting RIP.........................................................................................................................................................205
3.13.2 Clearing RIP..........................................................................................................................................................205
3.14 Configuration Examples...........................................................................................................................................206
3.14.1 Example for Configuring RIP Version..................................................................................................................206
3.14.2 Example for Configuring RIP to Import External Routes.....................................................................................209
3.14.3 Example for Configuring One-Arm Static BFD for RIP.......................................................................................213
3.14.4 Example for Configuring BFD for RIP.................................................................................................................219
Contents
4 RIPng Configuration.................................................................................................................225
4.1 Introduction................................................................................................................................................................227
4.1.1 RIPng Overview......................................................................................................................................................227
4.1.2 RIPng Features Supported by the NE80E/40E........................................................................................................228
4.2 Configuring Basic RIPng Functions...........................................................................................................................228
4.2.1 Before You Start......................................................................................................................................................228
4.2.2 Enabling RIPng and Entering the RIPng View.......................................................................................................229
4.2.3 Enabling RIPng in the Interface View.....................................................................................................................229
4.2.4 Checking the Configurations...................................................................................................................................230
4.3 Configuring RIPng Route Attributes..........................................................................................................................232
4.3.1 Before You Start......................................................................................................................................................232
4.3.2 Configuring the RIPng Preference..........................................................................................................................233
4.3.3 Configuring Additional Metrics of an Interface......................................................................................................233
4.3.4 Configuring the Maximum Number of Equal-Cost Routes.....................................................................................234
4.3.5 Checking the Configurations...................................................................................................................................235
4.4 Configuring RIPng Route Summarization.................................................................................................................236
4.5 Configuring RIPng to Import External Routes...........................................................................................................236
4.6 Controlling the Advertising of RIPng Routing Information......................................................................................237
4.6.1 Before You Start......................................................................................................................................................237
4.6.2 Configuring RIPng to Advertise the Default Routes...............................................................................................238
4.6.3 Disabling Sending of RIPng Packets on an Interface..............................................................................................238
4.6.4 Configuring RIPng to Filter the Routes to be Sent..................................................................................................239
4.6.5 Checking the Configurations...................................................................................................................................241
4.7 Controlling the Receiving of RIPng Routing Information.........................................................................................242
4.7.1 Before You Start......................................................................................................................................................242
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
ix
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
4.7.2 Disabling Receiving of RIPng Packets on an Interface...........................................................................................243
4.7.3 Configuring RIPng to Filter the Received Routes...................................................................................................244
4.7.4 Checking the Configurations...................................................................................................................................246
4.8 Optimizing a RIPng Network.....................................................................................................................................247
4.8.1 Before You Start......................................................................................................................................................247
4.8.2 Configuring RIPng Timers......................................................................................................................................248
4.8.3 Setting the Interval for Sending Update Packets and the Maximum Number of Packets Sent Each Time.............248
4.8.4 Configuring Split Horizon and Poison Reverse......................................................................................................249
4.8.5 Enabling the Zero Field Check for RIPng Packets..................................................................................................249
4.8.6 Checking the Configurations...................................................................................................................................250
4.9 Configuring IPSec Authentication for RIPng.............................................................................................................250
4.9.1 Before You Start......................................................................................................................................................251
4.9.2 Configuring IPSec Authentication in a RIPng Process...........................................................................................251
4.9.3 Configuring IPSec Authentication on a RIPng Interface........................................................................................252
4.9.4 Checking the Configurations...................................................................................................................................252
4.10 Configuration Examples...........................................................................................................................................253
4.10.1 Example for Configuring RIPng to Filter the Received Routes............................................................................254
Contents
5 OSPF Configuration..................................................................................................................258
5.1 Introduction................................................................................................................................................................260
5.1.1 OSPF Overview.......................................................................................................................................................260
5.1.2 OSPF Features Supported by the NE80E/40E........................................................................................................263
5.2 Configuring Basic OSPF Functions...........................................................................................................................268
5.2.1 Before You Start......................................................................................................................................................268
5.2.2 Enabling OSPF........................................................................................................................................................269
5.2.3 (Optional) Creating OSPF Virtual Links.................................................................................................................271
5.2.4 (Optional) Configuring a Route Selection Rule on the router.................................................................................272
5.2.5 (Optional) Setting the OSPF Priority.......................................................................................................................272
5.2.6 (Optional) Restricting the Flooding of LSA Update Packets..................................................................................273
5.2.7 (Optional) Configuring the Maximum Number of Packet Retransmission Attempts.............................................274
5.2.8 (Optional) Setting an Interval at Which an LSA Packet Is Retransmitted to the Neighboring router....................275
5.2.9 (Optional) Configuring an Interface to Fill in a DD Packet with the Interface MTU.............................................275
5.2.10 Checking the Configurations.................................................................................................................................276
5.3 Configuring OSPF on the NBMA or P2MP Network................................................................................................277
5.3.1 Before You Start......................................................................................................................................................277
5.3.2 Configuring Network Types for OSPF Interfaces...................................................................................................279
5.3.3 Configuring NBMA Network Attributes.................................................................................................................280
5.3.4 Configuring P2MP Network Attributes...................................................................................................................281
5.3.5 Checking the Configurations...................................................................................................................................284
5.4 Configuring an OSPF Route Selection Rule..............................................................................................................285
5.4.1 Before You Start......................................................................................................................................................285
5.4.2 Setting the Interface Cost........................................................................................................................................286
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
x
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
5.4.3 Configuring Equal-Cost Routes...............................................................................................................................287
5.4.4 Configuring a Stub Router.......................................................................................................................................288
5.4.5 Suppressing an Interface from Receiving and Sending OSPF Packets...................................................................289
5.4.6 Configuring an OSPF Interface to Automatically Adjust the Link Cost.................................................................290
5.4.7 Checking the Configurations...................................................................................................................................291
5.5 Controlling OSPF Routing Information.....................................................................................................................291
5.5.1 Before You Start......................................................................................................................................................292
5.5.2 Configuring OSPF to Import External Routes........................................................................................................292
5.5.3 Configuring OSPF to Import a Default Route.........................................................................................................295
5.5.4 Configuring Route Summarization..........................................................................................................................297
5.5.5 Configuring OSPF to Filter Routes Received by OSPF..........................................................................................298
5.5.6 Configuring the router to Filter LSAs to Be Sent....................................................................................................300
5.5.7 (Optional) Configuring OSPF to Filter LSAs in an Area........................................................................................303
5.5.8 (Optional) Enabling the Mesh-Group Function.......................................................................................................307
5.5.9 Setting the Maximum Number of External LSAs in the LSDB..............................................................................308
5.5.10 Checking the Configurations.................................................................................................................................308
5.6 Configuring an OSPF Dynamic Hostname................................................................................................................309
5.7 Configuring an OSPF Stub Area................................................................................................................................311
5.8 Configuring an NSSA.................................................................................................................................................313
5.9 Configuring Local MT................................................................................................................................................316
5.10 Configuring BFD for OSPF......................................................................................................................................318
5.10.1 Before You Start....................................................................................................................................................318
5.10.2 Configuring BFD for OSPF in a Specified Process..............................................................................................319
5.10.3 Configuring BFD for OSPF on a Specified Interface............................................................................................321
5.10.4 Checking the Configurations.................................................................................................................................323
5.11 Configuring OSPF IP FRR.......................................................................................................................................324
5.11.1 Before You Start....................................................................................................................................................324
5.11.2 Enabling OSPF IP FRR.........................................................................................................................................325
5.11.3 (Optional) Binding OSPF IP FRR and BFD.........................................................................................................326
5.11.4 (Optional) Disabling OSPF IP FRR on an Interface.............................................................................................327
5.11.5 Checking the Configurations.................................................................................................................................328
5.12 Configuring OSPF GR..............................................................................................................................................328
5.12.1 Before You Start....................................................................................................................................................328
5.12.2 Enabling OSPF GR................................................................................................................................................329
5.12.3 (Optional) Configuring the GR Session Parameters on the Restarter...................................................................330
5.12.4 (Optional) Configuring GR Session Parameters on the Helper.............................................................................330
5.12.5 Checking the Configurations.................................................................................................................................332
5.13 Improving Security of an OSPF Network................................................................................................................333
5.13.1 Before You Start....................................................................................................................................................333
5.13.2 Configuring the OSPF GTSM Functions..............................................................................................................334
5.13.3 Configuring the Authentication Mode...................................................................................................................335
Contents
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xi
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
5.13.4 Checking the Configurations.................................................................................................................................337
5.14 Configuring the Network Management Function of OSPF......................................................................................338
5.14.1 Before You Start....................................................................................................................................................338
5.14.2 Configuring OSPF MIB Binding...........................................................................................................................338
5.14.3 Configuring OSPF Trap.........................................................................................................................................339
5.14.4 Configuring OSPF Log..........................................................................................................................................339
5.14.5 Checking the Configurations.................................................................................................................................340
5.15 Maintaining OSPF....................................................................................................................................................340
5.15.1 Resetting OSPF......................................................................................................................................................340
5.15.2 Clearing OSPF.......................................................................................................................................................341
5.16 Configuration Examples...........................................................................................................................................341
5.16.1 Example for Configuring Basic OSPF Functions..................................................................................................341
5.16.2 Example for Configuring OSPF Virtual Links......................................................................................................347
5.16.3 Example for Configuring DR Election of OSPF...................................................................................................350
5.16.4 Example for Configuring OSPF Load Balancing..................................................................................................355
5.16.5 Example for Configuring an OSPF Stub Area......................................................................................................360
5.16.6 Example for Configuring an OSPF NSSA............................................................................................................364
5.16.7 Example for Configuring Local OSPF MT...........................................................................................................370
5.16.8 Example for Configuring BFD for OSPF..............................................................................................................378
5.16.9 Example for Configuring OSPF IP FRR...............................................................................................................383
5.16.10 Example for Configuring OSPF GR....................................................................................................................386
5.16.11 Example for Configuring OSPF-BGP.................................................................................................................390
5.16.12 Example for Configuring OSPF GTSM..............................................................................................................399
Contents
6 OSPFv3 Configuration.............................................................................................................404
6.1 Introduction................................................................................................................................................................406
6.1.1 OSPFv3 Overview...................................................................................................................................................406
6.1.2 OSPFv3 Features Supported by NE80E/40E..........................................................................................................406
6.2 Configuring Basic OSPFv3 Functions.......................................................................................................................407
6.2.1 Before You Start......................................................................................................................................................407
6.2.2 Enabling OSPFv3....................................................................................................................................................407
6.2.3 Enabling OSPFv3 on an Interface...........................................................................................................................408
6.2.4 Entering the OSPFv3 Area View.............................................................................................................................409
6.2.5 Checking the Configurations...................................................................................................................................410
6.3 Establishing or Maintaining OSPFv3 Neighbor Relationship....................................................................................410
6.3.1 Before You Start......................................................................................................................................................410
6.3.2 Configuring the Interval for Sending Hello Packets...............................................................................................411
6.3.3 Configuring Dead Time of Neighbor Relationship.................................................................................................412
6.3.4 Configuring the Interval for Retransmitting LSAs to Neighboring Routers...........................................................412
6.3.5 Configuring the Delay for Transmitting LSAs on the Interface..............................................................................413
6.3.6 Checking the Configurations...................................................................................................................................414
6.4 Configuring OSPFv3 Areas........................................................................................................................................414
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
6.4.1 Before You Start......................................................................................................................................................414
6.4.2 Configuring OSPFv3 Stub Areas............................................................................................................................415
6.4.3 Configuring OSPFv3 Virtual Links.........................................................................................................................415
6.4.4 Checking the Configurations...................................................................................................................................416
6.5 Configuring OSPFv3 NSSA Areas.............................................................................................................................417
6.5.1 Before You Start......................................................................................................................................................417
6.5.2 Defining the Current Area to Be an NSSA Area.....................................................................................................417
6.5.3 Checking the Configurations...................................................................................................................................418
6.6 Configuring OSPFv3 Route Attributes.......................................................................................................................418
6.6.1 Before You Start......................................................................................................................................................419
6.6.2 Setting the Cost of the OSPFv3 Interface................................................................................................................419
6.6.3 Setting the Maximum Number of Equal-Cost Routes.............................................................................................420
6.6.4 Checking the Configurations...................................................................................................................................421
6.7 Controlling OSPFv3 Routing Information.................................................................................................................421
6.7.1 Before You Start......................................................................................................................................................421
6.7.2 Configuring OSPFv3 Route Aggregation................................................................................................................422
6.7.3 Configuring OSPFv3 to Filter the Received Routes...............................................................................................423
6.7.4 Configuring OSPFv3 to Import External Routes....................................................................................................426
6.7.5 (Optional) Configuring OSPFv3 to Filter LSAs in an Area....................................................................................429
6.7.6 Checking the Configurations...................................................................................................................................434
6.8 Optimizing an OSPFv3 Network................................................................................................................................434
6.8.1 Before You Start......................................................................................................................................................434
6.8.2 Configuring the SPF Timer.....................................................................................................................................435
6.8.3 Setting the Interval for Receiving LSAs..................................................................................................................436
6.8.4 Configuring an Intelligent Timer for Generating LSAs..........................................................................................436
6.8.5 Suppressing an Interface from Sending and Receiving OSPFv3 Packets...............................................................437
6.8.6 Configuring DR Priority of an Interface..................................................................................................................438
6.8.7 Configuring Stub Routers........................................................................................................................................439
6.8.8 Ignoring MTU Check on DD Packets.....................................................................................................................439
6.8.9 Checking the Configurations...................................................................................................................................440
6.9 Configuration OSPFv3 GR.........................................................................................................................................440
6.9.1 Before You Start......................................................................................................................................................440
6.9.2 Enabling OSPFv3 GR..............................................................................................................................................441
6.9.3 Enabling the Helper of OSPFv3 GR........................................................................................................................441
6.9.4 Checking the Configurations...................................................................................................................................443
6.10 Configuring BFD for OSPFv3..................................................................................................................................443
6.10.1 Before You Start....................................................................................................................................................444
6.10.2 Enabling BFD for OSPFv3....................................................................................................................................444
6.10.3 Configuring OSPFv3 BFD Parameters at Process Level......................................................................................445
6.10.4 Enabling OSPFv3 BFD at Interface Level............................................................................................................446
6.10.5 Configuring OSPFv3 BFD Parameters at Interface Level....................................................................................447
Contents
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xiii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
6.10.6 Checking the Configurations.................................................................................................................................448
6.11 Configuring OSPFv3 IP FRR...................................................................................................................................448
6.11.1 Before You Start....................................................................................................................................................448
6.11.2 Enabling OSPFv3 IP FRR.....................................................................................................................................449
6.11.3 (Optional) Binding OSPFv3 IP FRR and BFD.....................................................................................................450
6.11.4 (Optional) Disabling OSPFv3 IP FRR on an Interface.........................................................................................451
6.11.5 Checking the Configurations.................................................................................................................................452
6.12 Configuring OSPFv3 IPSec......................................................................................................................................453
6.12.1 Before You Start....................................................................................................................................................453
6.12.2 Enabling IPSec in an OSPFv3 Process..................................................................................................................454
6.12.3 Enabling IPSec in an OSPFv3 Area......................................................................................................................454
6.12.4 Enabling IPSec on an Interface.............................................................................................................................455
6.12.5 Enabling IPSec on the Virtual Link.......................................................................................................................455
6.12.6 Enabling IPSec on the Sham Link.........................................................................................................................456
6.12.7 Checking the Configurations.................................................................................................................................456
6.13 Improving OSPFv3 Network Security.....................................................................................................................458
6.13.1 Before You Start....................................................................................................................................................459
6.13.2 Configuring OSPFv3 GTSM.................................................................................................................................460
6.13.3 Configuring an Authentication Mode....................................................................................................................460
6.13.4 Checking the Configurations.................................................................................................................................462
6.14 Configuring the Network Management Function of OSPFv3..................................................................................463
6.14.1 Before You Start....................................................................................................................................................463
6.14.2 Configuring OSPFv3 MIB Binding.......................................................................................................................463
6.14.3 Configuring OSPFv3 Trap.....................................................................................................................................464
6.14.4 Checking the Configurations.................................................................................................................................464
6.15 Maintaining OSPFv3................................................................................................................................................464
6.15.1 Resetting OSPFv3..................................................................................................................................................464
6.16 Configuration Examples...........................................................................................................................................465
6.16.1 Example for Configuring OSPFv3 Areas..............................................................................................................465
6.16.2 Example for Configuring OSPFv3 DR Election...................................................................................................470
6.16.3 Example for Configuring OSPFv3 Virtual Links..................................................................................................475
6.16.4 Example for Configuring OSPFv3 GR..................................................................................................................479
6.16.5 Example for Configuring BFD for OSPFv3..........................................................................................................482
6.16.6 Example for Configuring IPSec for OSPFv3........................................................................................................487
Contents
7 IS-IS Configuration...................................................................................................................493
7.1 Introduction................................................................................................................................................................496
7.1.1 Basic Concepts of IS-IS...........................................................................................................................................496
7.1.2 IS-IS Features Supported by the NE80E/40E..........................................................................................................497
7.2 Configuring Basic IPv4 IS-IS Functions....................................................................................................................504
7.2.1 Before You Start......................................................................................................................................................504
7.2.2 Creating IPv4 IS-IS Processes.................................................................................................................................505
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xiv
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
7.2.3 Configuring IPv4 IS-IS Interfaces...........................................................................................................................507
7.2.4 (Optional) Configuring the IPv4 IS-IS Interfaces...................................................................................................509
7.2.5 (Optional) Configuring IPv4 IS-IS Attributes for Interfaces on Different Types of Networks..............................512
7.2.6 Checking the Configurations...................................................................................................................................515
7.3 Establishing or Maintaining IS-IS Neighbor Relationships or Adjacencies..............................................................517
7.3.1 Before You Start......................................................................................................................................................517
7.3.2 Configuring IS-IS Timers for Packets.....................................................................................................................517
7.3.3 Configuring LSP Parameters...................................................................................................................................520
7.3.4 Checking the Configurations...................................................................................................................................523
7.4 Configuring IPv4 IS-IS Route Selection....................................................................................................................524
7.4.1 Before You Start......................................................................................................................................................524
7.4.2 Configuring IPv4 IS-IS Route Leaking...................................................................................................................525
7.4.3 Configuring Principles for Using Equal-Cost IPv4 IS-IS Routes...........................................................................529
7.4.4 Filtering IPv4 IS-IS Routes.....................................................................................................................................531
7.4.5 Configuring an Overload Bit for an IPv4 IS-IS Device..........................................................................................533
7.4.6 Configuring IS-IS to Generate IPv4 Default Routes...............................................................................................533
7.4.7 Configuring an IPv4 IS-IS Interface to Automatically Adjust the Link Cost.........................................................535
7.4.8 Checking the Configurations...................................................................................................................................536
7.5 Configuring IPv4 IS-IS Route Summarization...........................................................................................................538
7.6 Configuring IPv4 IS-IS to Interact with Other Routing Protocols.............................................................................539
7.6.1 Before You Start......................................................................................................................................................539
7.6.2 Configuring a Preference Value for IPv4 IS-IS.......................................................................................................540
7.6.3 Configuring IPv4 IS-IS to Import External Routes.................................................................................................541
7.6.4 Checking the Configurations...................................................................................................................................544
7.7 Configuring the IPv4 IS-IS Route Convergence Speed.............................................................................................547
7.7.1 Before You Start......................................................................................................................................................547
7.7.2 Configuring the Interval for Detecting IS-IS Neighboring Device Failures...........................................................548
7.7.3 Setting Flooding Parameters of SNPs and LSPs.....................................................................................................549
7.7.4 Setting the SPF Calculation Interval.......................................................................................................................553
7.7.5 Configuring Convergence Priorities for IPv4 IS-IS Routes....................................................................................554
7.7.6 Checking the Configurations...................................................................................................................................555
7.8 Configuring Static BFD for IPv4 IS-IS......................................................................................................................557
7.9 Configuring Dynamic BFD for IPv4 IS-IS.................................................................................................................559
7.10 Configuring Multi-Topology for IPv4 IS-IS............................................................................................................562
7.10.1 Before You Start....................................................................................................................................................562
7.10.2 Enabling Multi-Topology for IPv4 IS-IS Processes..............................................................................................563
7.10.3 Enabling Multi-Topology for IPv4 IS-IS Interfaces..............................................................................................564
7.10.4 Checking the Configurations.................................................................................................................................565
7.11 Configuring IPv4 IS-IS Auto FRR...........................................................................................................................567
7.11.1 Before You Start....................................................................................................................................................567
7.11.2 Enabling IPv4 IS-IS Auto FRR.............................................................................................................................568
Contents
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xv
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
7.11.3 (Optional) Disabling an Interface from Being Involved in IPv4 LFA Calculation...............................................569
7.11.4 Checking the Configurations.................................................................................................................................569
7.12 Configuring Basic IPv6 IS-IS Functions..................................................................................................................571
7.12.1 Before You Start....................................................................................................................................................571
7.12.2 Creating IPv6 IS-IS Processes...............................................................................................................................572
7.12.3 Configuring IPv6 IS-IS Interfaces.........................................................................................................................574
7.12.4 (Optional) Configuring the IPv6 IS-IS Interfaces.................................................................................................575
7.12.5 (Optional) Configuring IPv6 IS-IS Attributes for Interfaces on Different Types of Networks............................578
7.12.6 Checking the Configurations.................................................................................................................................581
7.13 Configuring IPv6 IS-IS Route Selection..................................................................................................................583
7.13.1 Before You Start....................................................................................................................................................583
7.13.2 Configuring IPv6 IS-IS Route Leaking.................................................................................................................584
7.13.3 Configuring Principles for Using Equal-Cost IPv6 IS-IS Routes.........................................................................589
7.13.4 Filtering IPv6 IS-IS Routes...................................................................................................................................590
7.13.5 Configuring an Overload Bit for an IPv6 IS-IS Device........................................................................................592
7.13.6 Configuring IS-IS to Generate IPv6 Default Routes.............................................................................................593
7.13.7 Checking the Configurations.................................................................................................................................594
7.14 Configuring IPv6 IS-IS Route Summarization.........................................................................................................597
7.15 Configuring IPv6 IS-IS to Interact with Other Routing Protocols...........................................................................598
7.15.1 Before You Start....................................................................................................................................................598
7.15.2 Configuring a Preference Value for IPv6 IS-IS.....................................................................................................599
7.15.3 Configuring IPv6 IS-IS to Import External Routes...............................................................................................600
7.15.4 Checking the Configurations.................................................................................................................................603
7.16 Configuring the IPv6 IS-IS Route Convergence Speed...........................................................................................606
7.16.1 Before You Start....................................................................................................................................................606
7.16.2 Configuring the Interval for Detecting IS-IS Neighboring Device Failures.........................................................607
7.16.3 Setting Flooding Parameters of SNPs and LSPs...................................................................................................609
7.16.4 Setting the SPF Calculation Interval.....................................................................................................................613
7.16.5 Configuring Convergence Priorities for IPv6 IS-IS Routes..................................................................................613
7.16.6 Checking the Configurations.................................................................................................................................615
7.17 Configuring Dynamic BFD for IPv6 IS-IS...............................................................................................................616
7.18 Configuring Multi-Topology for IPv6 IS-IS............................................................................................................619
7.18.1 Before You Start....................................................................................................................................................619
7.18.2 Enabling Multi-Topology for IPv6 IS-IS Processes..............................................................................................620
7.18.3 Enabling Multi-Topology for IPv6 IS-IS Interfaces..............................................................................................621
7.18.4 Checking the Configurations.................................................................................................................................622
7.19 Configuring IPv6 IS-IS Auto FRR...........................................................................................................................624
7.19.1 Before You Start....................................................................................................................................................624
7.19.2 Enabling IPv6 IS-IS Auto FRR.............................................................................................................................626
7.19.3 (Optional) Disabling an Interface from Participating in IPv6 LFA Calculation...................................................626
7.19.4 Checking the Configurations.................................................................................................................................627
Contents
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xvi
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
7.20 Configuring Local MT..............................................................................................................................................629
7.20.1 Before You Start....................................................................................................................................................629
7.20.2 Enabling Local MT................................................................................................................................................630
7.20.3 Controlling the Scale of the MIGP Routing Table................................................................................................630
7.20.4 Checking the Configurations.................................................................................................................................633
7.21 Configuring IS-IS GR...............................................................................................................................................633
7.21.1 Before You Start....................................................................................................................................................633
7.21.2 Enabling IS-IS GR.................................................................................................................................................634
7.21.3 Configuring Parameters of an IS-IS GR Session...................................................................................................635
7.21.4 Checking the Configurations.................................................................................................................................636
7.22 Improving Security of an IS-IS Network.................................................................................................................637
7.22.1 Before You Start....................................................................................................................................................637
7.22.2 Configuring IS-IS Authentication.........................................................................................................................638
7.22.3 Configuring the Optional Checksum.....................................................................................................................641
7.22.4 Checking the Configurations.................................................................................................................................642
7.23 Maintaining IS-IS.....................................................................................................................................................643
7.23.1 Resetting IS-IS Data Structure..............................................................................................................................643
7.23.2 Resetting a Specific IS-IS Neighbor......................................................................................................................643
7.24 Configuration Examples...........................................................................................................................................644
7.24.1 Example for Configuring Basic IS-IS Functions...................................................................................................644
7.24.2 Example for Configuring IS-IS in an NBMA Network........................................................................................649
7.24.3 Example for Configuring IS-IS Route Summarization.........................................................................................652
7.24.4 Example for Configuring the DIS Election of IS-IS.............................................................................................656
7.24.5 Example for Configuring IS-IS Load Balancing...................................................................................................661
7.24.6 Example for Configuring IS-IS to Interact with BGP...........................................................................................665
7.24.7 Example for Configuring IS-IS MT......................................................................................................................669
7.24.8 Example for Configuring Local MT......................................................................................................................675
7.24.9 Example for Configuring Basic IS-IS IPv6 Functions..........................................................................................682
7.24.10 Example for Configuring IS-IS Fast Convergence..............................................................................................688
7.24.11 Example for Configuring IS-IS Auto FRR (IP protecting IP).............................................................................691
7.24.12 Example for Configuring IS-IS Auto FRR (TE protecting IP)...........................................................................698
7.24.13 Example for Configuring IS-IS GR.....................................................................................................................714
7.24.14 Example for Configuring Static BFD for IS-IS...................................................................................................717
7.24.15 Example for Configuring Dynamic BFD for IS-IS.............................................................................................721
7.24.16 Example for Configuring Dynamic BFD for IPv6 IS-IS.....................................................................................727
Contents
8 BGP Configuration....................................................................................................................734
8.1 Introduction................................................................................................................................................................737
8.1.1 BGP Overview.........................................................................................................................................................737
8.1.2 BGP Features Supported by the NE80E/40E..........................................................................................................738
8.2 Configuring the Format of BGP 4-Byte AS Numbers...............................................................................................754
8.3 Configuring Basic BGP Functions.............................................................................................................................756
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xvii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
8.3.1 Before You Start......................................................................................................................................................756
8.3.2 Starting a BGP Process............................................................................................................................................757
8.3.3 Configuring BGP Peers...........................................................................................................................................757
8.3.4 Configuring BGP to Import Routes.........................................................................................................................759
8.3.5 Checking the Configurations...................................................................................................................................761
8.4 Configuring BGP Route Attributes............................................................................................................................762
8.4.1 Before You Start......................................................................................................................................................762
8.4.2 Configuring the BGP Preference.............................................................................................................................763
8.4.3 Configuring Preferred Values for BGP Routes.......................................................................................................764
8.4.4 Configuring a Default Local_Pref Attribute for a Device.......................................................................................765
8.4.5 Configuring MED Attributes for BGP Routes........................................................................................................765
8.4.6 Configuring Next_Hop Attributes for Routes.........................................................................................................768
8.4.7 Configuring AS_Path Attributes for Routes............................................................................................................770
8.4.8 Checking the Configurations...................................................................................................................................774
8.5 Configuring BGP to Advertise Routes.......................................................................................................................775
8.5.1 Before You Start......................................................................................................................................................775
8.5.2 Configuring BGP Filters..........................................................................................................................................776
8.5.3 Configuring to Controll the Advertisement of BGP Routing Information..............................................................781
8.5.4 Configuring BGP Soft Reset...................................................................................................................................786
8.5.5 Checking the Configurations...................................................................................................................................788
8.6 Configuring BGP to Receive Routes..........................................................................................................................789
8.6.1 Before You Start......................................................................................................................................................789
8.6.2 Configuring BGP Filters..........................................................................................................................................790
8.6.3 Configuring to Controll the Acceptment of BGP Routing Information..................................................................795
8.6.4 Configuring BGP Soft Reset...................................................................................................................................801
8.6.5 Checking the Configurations...................................................................................................................................802
8.7 Configuring a Device to Advertise BGP Supernet Unicast Routes to BGP Peers.....................................................804
8.8 Configuring BGP Route Aggregation........................................................................................................................806
8.9 Configuring BGP Peer Groups...................................................................................................................................808
8.9.1 Before You Start......................................................................................................................................................808
8.9.2 Creating IBGP Peer Groups....................................................................................................................................809
8.9.3 Creating Pure EBGP Peer Groups...........................................................................................................................809
8.9.4 Creating Mixed EBGP Peer Groups........................................................................................................................810
8.9.5 Checking the Configurations...................................................................................................................................811
8.10 Configuring BGP Route Reflectors..........................................................................................................................812
8.10.1 Before You Start....................................................................................................................................................812
8.10.2 Configuring a Route Reflector and Specifying Clients.........................................................................................813
8.10.3 (Optional) Disabling Route Reflection Between Clients......................................................................................814
8.10.4 (Optional) Configuring the Cluster ID for a Route Reflector................................................................................814
8.10.5 (Optional) Preventing BGP Routes from Being Added into the IP Routing Table...............................................816
8.10.6 (Optional) Enabling the RR to Modify the Route Attributes Using the Export Policy.........................................817
Contents
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xviii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
8.10.7 Checking the Configurations.................................................................................................................................818
8.11 Configuring a BGP Confederation...........................................................................................................................819
8.12 Configuring BGP Community Attributes.................................................................................................................821
8.12.1 Before You Start....................................................................................................................................................821
8.12.2 Configuring Community Attribute-Related Routing Policies...............................................................................822
8.12.3 Configuring a BGP Device to Send Community Attributes to Its Peer................................................................823
8.12.4 Checking the Configurations.................................................................................................................................824
8.13 Configuring Prefix-based BGP ORF........................................................................................................................824
8.14 Configuring to Adjust the BGP Network Convergence Speed................................................................................827
8.14.1 Before You Start....................................................................................................................................................828
8.14.2 Configuring a BGP ConnectRetry Timer..............................................................................................................829
8.14.3 Configuring BGP Keepalive and Hold Timers......................................................................................................830
8.14.4 Configuring a MinRouteAdvertisementIntervalTimer..........................................................................................833
8.14.5 Configuring the Rate at which BGP Updates Routes in Response to Non-critical Iteration Changes..................834
8.14.6 Disabling Fast Reset of EBGP Connections..........................................................................................................835
8.14.7 Enabling BGP Peer Tracking................................................................................................................................836
8.14.8 Checking the Configurations.................................................................................................................................837
8.15 Configuring BGP Route Dampening........................................................................................................................838
8.16 Configuring a BGP Device to Send a Default Route to Its Peer..............................................................................840
8.17 Configuring BGP Load Balancing...........................................................................................................................843
8.18 Configuring Path MTU Auto Discovery..................................................................................................................849
8.19 Configuring the BGP Next Hop Delayed Response.................................................................................................852
8.20 Configuring BFD for BGP.......................................................................................................................................854
8.21 Configuring BGP Auto FRR....................................................................................................................................857
8.22 Configuring BGP GR...............................................................................................................................................860
8.22.1 Before You Start....................................................................................................................................................860
8.22.2 Enabling BGP GR.................................................................................................................................................861
8.22.3 Configuring Parameters for a BGP GR Session....................................................................................................862
8.22.4 Checking the Configurations.................................................................................................................................863
8.23 Configuring BGP Security........................................................................................................................................864
8.23.1 Before You Start....................................................................................................................................................864
8.23.2 Configuring MD5 Authentication.........................................................................................................................865
8.23.3 Configuring Keychain Authentication...................................................................................................................866
8.23.4 Configuring BGP GTSM.......................................................................................................................................867
8.23.5 Checking the Configurations.................................................................................................................................868
8.24 Disabling the BGP-IPv4 Unicast Address Family...................................................................................................871
8.25 Applying BGP AS_Path Regular Expressions.........................................................................................................872
8.26 Maintaining BGP......................................................................................................................................................883
8.26.1 Configuring BGP to Record Peer Status Changes and Event Information...........................................................883
8.26.2 Resetting BGP Connections..................................................................................................................................884
8.26.3 Clearing BGP Information.....................................................................................................................................885
Contents
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xix
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
8.27 BGP Route Selection Rules......................................................................................................................................886
8.27.1 Route Processing on the BGP router.....................................................................................................................886
8.27.2 BGP Route Selection Rules...................................................................................................................................887
8.27.3 BGP Routing Table...............................................................................................................................................891
8.27.4 Route Attributes.....................................................................................................................................................896
8.28 Configuration Examples...........................................................................................................................................959
8.28.1 Example for Configuring Basic BGP Functions...................................................................................................959
8.28.2 Example for Configuring BGP to Interact with an IGP........................................................................................965
8.28.3 Example for Configuring AS_Path Filters............................................................................................................969
8.28.4 Example for Configuring MED Attributes to Control BGP Route Selection.......................................................974
8.28.5 Example for Configuring BGP Routing Policies..................................................................................................978
8.28.6 Example for Configuring BGP Route Reflectors..................................................................................................996
8.28.7 Example for Configuring BGP Confederations...................................................................................................1001
8.28.8 Example for Configuring BGP Community Attributes for Routes.....................................................................1007
8.28.9 Example for Configuring Prefix-based BGP ORF..............................................................................................1011
8.28.10 Example for Configuring BGP Load Balancing................................................................................................1019
8.28.11 Example for Configuring BFD for BGP............................................................................................................1024
8.28.12 Example for Configuring BGP Auto FRR........................................................................................................1030
8.28.13 Example for Configuring BGP GTSM..............................................................................................................1035
Contents
9 BGP4+ Configuration.............................................................................................................1045
9.1 Introduction..............................................................................................................................................................1047
9.1.1 BGP4+ Overview..................................................................................................................................................1047
9.1.2 BGP4+ Features Supported by the NE80E/40E....................................................................................................1047
9.2 Configuring Basic BGP4+ Functions.......................................................................................................................1048
9.2.1 Before You Start....................................................................................................................................................1048
9.2.2 Starting a BGP Process..........................................................................................................................................1048
9.2.3 Configuring an IPv6 Peer......................................................................................................................................1049
9.2.4 (Optional) Configuring the Local Interfaces Used for BGP4+ Connections........................................................1051
9.2.5 Checking the Configurations.................................................................................................................................1052
9.3 Configuring BGP4+ Route Attributes......................................................................................................................1052
9.3.1 Before You Start....................................................................................................................................................1052
9.3.2 Configuring the BGP4+ Preference.......................................................................................................................1054
9.3.3 Configuring BGP4+ Preferred Value for Routing Information.............................................................................1054
9.3.4 Configuring the Default Local_Pref Attribute of the Local Router......................................................................1055
9.3.5 Configuring the MED Attribute............................................................................................................................1055
9.3.6 Configuring the Next_Hop Attribute.....................................................................................................................1056
9.3.7 Configuring the AS_Path Attribute.......................................................................................................................1057
9.3.8 Configuring the BGP4+ Community Attribute.....................................................................................................1059
9.3.9 Checking the Configurations.................................................................................................................................1061
9.4 Controlling the Advertising and Receiving of BGP4+ Routing Information...........................................................1061
9.4.1 Before You Start....................................................................................................................................................1061
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xx
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
9.4.2 Configuring BGP4+ to Advertise Local IPv6 Routes...........................................................................................1062
9.4.3 Configuring BGP4+ Route Aggregation...............................................................................................................1063
9.4.4 Configuring BGP4+ to Import and Filter External Routes....................................................................................1063
9.4.5 Configuring Routers to Advertise a Default Route to a Peer................................................................................1064
9.4.6 Configuring the Policy for Advertising BGP4+ Routing Information..................................................................1065
9.4.7 Configuring the Policy for Receiving BGP4+ Routing Information.....................................................................1068
9.4.8 Configuring BGP4+ Soft Resetting.......................................................................................................................1070
9.4.9 Checking the Configurations.................................................................................................................................1071
9.5 Configuring Parameters of a Connection Between BGP4+ Peers............................................................................1072
9.5.1 Before You Start....................................................................................................................................................1072
9.5.2 Configuring BGP4+ Timers..................................................................................................................................1073
9.5.3 Configuring the Interval for Sending Update Packets...........................................................................................1075
9.5.4 Setting the BGP4+ ConnectRetry Interval............................................................................................................1075
9.5.5 Configuring the Rate at which BGP4+ Updates Routes in Response to Non-critical Iteration Changes.............1076
9.5.6 Checking the Configurations.................................................................................................................................1078
9.6 Configuring BFD for BGP4+...................................................................................................................................1079
9.6.1 Before You Start....................................................................................................................................................1079
9.6.2 Configuring BFD for BGP4+ in the Public Network Instance..............................................................................1080
9.6.3 Configuring BFD for BGP4+ in a Private Network..............................................................................................1082
9.6.4 Checking the Configurations.................................................................................................................................1084
9.7 Configuring BGP4+ PeerTracking...........................................................................................................................1084
9.7.1 Before You Start....................................................................................................................................................1084
9.7.2 Enabling BGP4+ Peer Tracking............................................................................................................................1085
9.7.3 Checking the Configurations.................................................................................................................................1086
9.8 Configuring BGP4+ Route Dampening...................................................................................................................1086
9.8.1 Before You Start....................................................................................................................................................1086
9.8.2 Enabling BGP4+ Route Dampening......................................................................................................................1087
9.8.3 Checking the Configurations.................................................................................................................................1087
9.9 Configuring BGP4+ Load Balancing.......................................................................................................................1088
9.10 Configuring a BGP4+ Peer Group..........................................................................................................................1092
9.10.1 Before You Start..................................................................................................................................................1093
9.10.2 Creating an IBGP Peer Group.............................................................................................................................1093
9.10.3 Creating a Pure EBGP Peer Group......................................................................................................................1094
9.10.4 Creating a Mixed EBGP Peer Group...................................................................................................................1095
9.10.5 Checking the Configurations...............................................................................................................................1096
9.11 Configuring a BGP4+ Route Reflector..................................................................................................................1096
9.11.1 Before You Start..................................................................................................................................................1096
9.11.2 Configuring a Route Reflector and Specifying Clients.......................................................................................1097
9.11.3 (Optional) Disabling a Route Reflection Between Clients..................................................................................1097
9.11.4 (Optional) Configuring the Cluster ID for a Route Reflector..............................................................................1098
9.11.5 (Optional) Preventing BGP4+ Routes from Being Added into the IPv6 Routing Table....................................1098
Contents
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xxi
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
9.11.6 (Optional) Enabling the RR to Modify the Route Attributes Using the Export Policy.......................................1099
9.11.7 Checking the Configurations...............................................................................................................................1100
9.12 Configuring a BGP4+ Confederation.....................................................................................................................1101
9.12.1 Before You Start..................................................................................................................................................1101
9.12.2 Configuring a BGP4+ Confederation Attribute...................................................................................................1101
9.12.3 Checking the Configurations...............................................................................................................................1102
9.13 Configuring BGP4+ 6PE........................................................................................................................................1103
9.13.1 Before You Start..................................................................................................................................................1103
9.13.2 Configuring a 6PE Peer.......................................................................................................................................1104
9.13.3 (Optional) Enabling 6PE Routes Sharing the Explicit Null Label......................................................................1104
9.13.4 Checking the Configurations...............................................................................................................................1105
9.14 Configuring Inter-AS 6PE......................................................................................................................................1106
9.14.1 Before You Start..................................................................................................................................................1106
9.14.2 Configuring Inter-AS 6PE OptionB (with ASBRs as PEs).................................................................................1107
9.14.3 Configuring Inter-AS 6PE OptionB....................................................................................................................1108
9.14.4 Configuring Inter-AS 6PE OptionC....................................................................................................................1110
9.14.5 Checking the Configurations...............................................................................................................................1112
9.15 Configuring BGP4+ 6PE FRR...............................................................................................................................1113
9.15.1 Before You Start..................................................................................................................................................1113
9.15.2 Configuring BGP4+ 6PE Peers...........................................................................................................................1114
9.15.3 Enabling 6PE FRR...............................................................................................................................................1114
9.15.4 Checking the Configurations...............................................................................................................................1115
9.16 Configuring BGP4+ Security.................................................................................................................................1116
9.16.1 Before You Start..................................................................................................................................................1116
9.16.2 Configuring MD5 Authentication.......................................................................................................................1117
9.16.3 Configuring Keychain Authentication.................................................................................................................1118
9.16.4 Configuring Basic BGP4+ GTSM Functions......................................................................................................1119
9.16.5 Checking the Configurations...............................................................................................................................1120
9.17 Maintaining BGP4+................................................................................................................................................1120
9.17.1 Resetting BGP4+ Connections............................................................................................................................1120
9.17.2 Clearing BGP4+ Statistics...................................................................................................................................1121
9.18 Configuration Examples.........................................................................................................................................1122
9.18.1 Example for Configuring Basic BGP4+ Functions.............................................................................................1122
9.18.2 Example for Configuring a BGP4+ Route Reflection.........................................................................................1127
9.18.3 Example for Configuring BFD for BGP4+.........................................................................................................1132
9.18.4 Example for Configuring BGP4+ 6PE................................................................................................................1137
9.18.5 Example for Configuring Inter-AS 6PE OptionB (with ASBRs as PEs)............................................................1144
9.18.6 Example for Configuring Inter-AS 6PE OptionB...............................................................................................1151
9.18.7 Example for Configuring Inter-AS 6PE OptionC (Solution 1)...........................................................................1161
9.18.8 Example for Configuring Inter-AS 6PE OptionC (Solution 2)...........................................................................1173
9.18.9 Example for Configuring BGP4+ 6PE FRR........................................................................................................1184
Contents
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xxii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
Contents
10 Routing Policy Configuration.............................................................................................1193
10.1 Introduction............................................................................................................................................................1194
10.1.1 Overview of the Routing Policy..........................................................................................................................1194
10.1.2 Routing Policy Features Supported by the NE80E/40E......................................................................................1195
10.2 Configuring the IP-Prefix List................................................................................................................................1196
10.2.1 Before You Start..................................................................................................................................................1197
10.2.2 Configuring an IPv4 Prefix List..........................................................................................................................1197
10.2.3 Configuring an IPv6 Prefix List..........................................................................................................................1198
10.2.4 Checking the Configurations...............................................................................................................................1199
10.3 Configuring the Route-Policy.................................................................................................................................1200
10.3.1 Before You Start..................................................................................................................................................1200
10.3.2 Creating a Route-Policy.......................................................................................................................................1201
10.3.3 (Optional) Configuring the If-Match Clause.......................................................................................................1201
10.3.4 (Optional) Configuring the Apply Clause...........................................................................................................1204
10.3.5 Applying a Route-Policy.....................................................................................................................................1206
10.3.6 Checking the Configurations...............................................................................................................................1221
10.4 Applying Filters to Received Routes......................................................................................................................1221
10.4.1 Before You Start..................................................................................................................................................1221
10.4.2 Filtering Routes Received by RIP.......................................................................................................................1223
10.4.3 Filtering Routes Received by OSPF....................................................................................................................1225
10.4.4 Filtering Routes Received by IS-IS.....................................................................................................................1226
10.4.5 Filtering Routes Received by BGP......................................................................................................................1228
10.4.6 Checking the Configurations...............................................................................................................................1232
10.5 Applying Filters to Advertised Routes...................................................................................................................1233
10.5.1 Before You Start..................................................................................................................................................1233
10.5.2 Filtering Routes Advertised by RIP.....................................................................................................................1234
10.5.3 Filtering Routes Advertised by OSPF.................................................................................................................1236
10.5.4 Filtering Routes Advertised by IS-IS..................................................................................................................1238
10.5.5 Filtering Routes Advertised by BGP...................................................................................................................1240
10.5.6 Checking the Configurations...............................................................................................................................1245
10.6 Applying Filters to Imported Routes......................................................................................................................1245
10.6.1 Before You Start..................................................................................................................................................1246
10.6.2 Applying Route-Policy to Routes Imported by RIP............................................................................................1246
10.6.3 Applying Route-Policy to Routes Imported by OSPF.........................................................................................1247
10.6.4 Applying Route-Policy to Routes Imported by IS-IS..........................................................................................1247
10.6.5 Applying Route-Policy to Routes Imported by BGP..........................................................................................1248
10.6.6 Checking the Configurations...............................................................................................................................1249
10.7 Controlling the Valid Time of the Routing policy.................................................................................................1249
10.7.1 Before You Start..................................................................................................................................................1249
10.7.2 Configuring the Delay for Applying the Routing Policy....................................................................................1250
10.7.3 Checking the Configurations...............................................................................................................................1250
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xxiii
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing Contents
10.8 Maintaining the Routing Policy..............................................................................................................................1251
10.9 Configuration Examples.........................................................................................................................................1251
10.9.1 Example for Filtering Received and Advertised Routes.....................................................................................1252
10.9.2 Example for Applying the Routing Policy When Importing Routes...................................................................1257
11 Route Monitoring Group Configuration..........................................................................1262
11.1 Overview................................................................................................................................................................1263
11.1.1 Introduction.........................................................................................................................................................1263
11.1.2 Route Monitoring Group Features Supported by the NE80E/40E......................................................................1263
11.2 Configuring a Route Monitoring Group.................................................................................................................1264
A Glossary....................................................................................................................................1268
B Acronyms and Abbreviations...............................................................................................1272
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
xxiv
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
1 IP Routing Basic Configuration
About This Chapter

1 IP Routing Basic Configuration

This chapter describes IP routing, which functions as the basis for data communication networks.
1.1 Routing Management
To forward data, routers need to establish and refresh routing tables and forward packets according to the information in routing tables.
1.2 Configuring IPv4 Multi-Topology
By configuring multi-topology on an IPv4 network, you can properly allocate network resources.
1.3 Configuring IPv6 Multi-Topology
By configuring multi-topology on an IPv6 network, you can properly allocate network resources.
1.4 Configuring Public Network IP FRR
Public network IP FRR is applicable to the services that are sensitive to packet loss and delay on the public network.
1.5 Configuring Public Network IPv6 FRR
Public network IPv6 FRR is applicable to the services that are very sensitive to packet loss and delay on the public network.
1.6 Configuring VRRP for Direct Routes
If VRRP for direct routes is configured on a master device of an IPv4 network, the master device effectively diagnoses a link fault, improving the security of the IPv4 network.
1.7 Configuring an IPv4 Direct Route to Respond to L3VE Interface Status Changes After a Delay
This section describes how to configure an IPv4 direct route to respond to Layer 3 Virtual Ethernet (L3VE) interface status changes after a delay. During traffic switchback after an L3VE interface recovers, this configuration can reduce traffic loss and improve network reliability.
1.8 Configuring an IPv6 Direct Route to Respond to L3VE Interface Status Changes After a Delay
This section describes how to configure an IPv6 direct route to respond to Layer 3 Virtual Ethernet (L3VE) interface status changes after a delay. During traffic switchback after an L3VE interface recovers, this configuration can reduce traffic loss and improve network reliability.
1.9 Configuring the Association Between the IPv4 Direct Route and PW Status
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
This section describes how to configure the association between the IPv4 direct route and pseudo wire (PW) status. During traffic switchback after the primary PW recovers, this configuration can reduce traffic loss and improve network reliability.
1.10 Configuring the Association Between the IPv6 Direct Route and PW Status
This section describes how to configure the association between the IPv6 direct route and pseudo wire (PW) status. During traffic switchback after the primary PW recovers, this configuration can reduce traffic loss and improve network reliability.
1.11 Configuring the Association Between the IPv4 Direct Routes and IPSec Instance Status
The association between IPv4 direct routes and IP security (IPSec) instance status ensures that data encrypted using IPSec can be transmitted to the correct radio network controller site gateway (RSG).
1.12 Configuring a Device to Deactivate the IPv4 Network Segment Route That Corresponds to an L3VE Sub-interface
To prevent a device from generating black-hole routes and ensure that local cell site gateways (CSGs) can communicate, configure the device to deactivate the IPv4 network segment route that corresponds to the Layer 3 virtual Ethernet (L3VE) sub-interface of the secondary pseudo wire (PW).
1 IP Routing Basic Configuration
1.13 Configuring a Device to Deactivate the IPv6 Network Segment Route That Corresponds to an L3VE Sub-interface
To prevent a device from generating black-hole routes and ensure that local cell site gateways (CSGs) can communicate, configure the device to deactivate the IPv6 network segment route that corresponds to the Layer 3 virtual Ethernet (L3VE) sub-interface of the secondary pseudo wire (PW).
1.14 Configuring AGGs to Load-Balance RNC-to-CSG Traffic
This section describes how to configure access aggregation gateways (AGGs) to load-balance radio network controller (RNC)-to-cell site gateway (CSG) traffic. The load balancing configuration can improve network resource usage and reliability.
1.15 Configuring the Advertisement of IPv4 ARP Vlink Direct Routes on the Public Network
Advertising IPv4 ARP Vlink direct routes on the public network allows precise control of data traffic.
1.16 Configuring the Advertisement of IPv6 NDP Vlink Direct Routes on the Public Network
On an IPv6 public network, advertising IPv6 neighbor discover protocol (NDP) Vlink direct routes allows precise control of data traffic.
1.17 Maintaining the Route Management Module
The operations of Route Management (RM) maintenance include configuring thresholds for the number of route prefixes on a device and configuring a limit on the number of public route prefixes.
1.18 Configuration Example
IP routing configuration examples provide networking requirements, networking diagrams, configuration notes, configuration roadmap, and configuration procedures.
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing

1.1 Routing Management

To forward data, routers need to establish and refresh routing tables and forward packets according to the information in routing tables.

1.1.1 Displaying of the Routing Table

Routing tables are one of the best sources of information about a network. Checking these tables helps you locate faults.
Prerequisites
The following lists common commands for displaying information about the routing table.
Note that display commands can be run in all views.
Procedure
1 IP Routing Basic Configuration
l For IPv4 routing table:
– Run the display ip routing-table command to check brief information about current
active routes.
– Run the display ip routing-table verbose command to check detailed information
about the IP routing table.
– Run the display ip routing-table ip-address [ mask | mask-length ] [ longer-match ]
[ verbose ] command to check the routes to a specified destination address.
– Run the display ip routing-table ip-address1 { mask1 | mask-length1 } ip-address2
{ mask2 | mask-length2 } [ verbose ] command to check the routes whose destination addresses are within a specified address range.
– Run the display ip routing-table acl { acl-number | acl-name } [ verbose ] command
to check the routes filtered by a specified basic ACL.
– Run the display ip routing-table ip-prefix ip-prefix-name [ verbose ] command to
check the routes filtered by a specified IP prefix list.
– Run the display ip routing-table protocol protocol [ inactive | verbose ] command to
check the routes discovered by a specified protocol.
– Run the display ip routing-table statistics command to check statistics about the IP
routing table.
– Run the display ip routing-table vpn-instance vpn-instance-name command to check
brief information about the VPN routing table.
– Run the display ip routing-table vpn-instance vpn-instance-name verbose command
to check detailed information about the VPN routing table.
l For IPv6 routing table:
– Run the display ipv6 routing-table command to check brief information about current
active routes.
– Run the display ipv6 routing-table verbose command to check detailed information
about the IPv6 routing table.
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
– Run the display ipv6 routing-table ipv6-address [ prefix-length ] [ longer-match ]
[ verbose ] command to check the IPv6 routes to a specified destination address.
Run the display ipv6 routing-table ipv6-address1 [ prefix-length1 ] ipv6-address2
prefix-length2 [ verbose ] command to check the routes whose destination addresses
are within a specified address range.
– Run the display ipv6 routing-table acl { acl6-number | acl6-name } [ verbose ]
command to check the IPv6 routes filtered by a specified basic ACL.
– Run the display ipv6 routing-table ipv6-prefix ipv6-prefix-name [ verbose ] command
to check the IPv6 routes filtered by a specified IPv6 prefix list.
– Run the display ipv6 routing-table protocol protocol [ inactive | verbose ] command
to check the routes discovered by a specified protocol.
– Run the display ipv6 routing-table statistics command to check statistics about the IP
routing table.
– Run the display ipv6 routing-table vpn-instance vpn-instance-name command to
check brief information about the IPv6 VPN routing table.
– Run the display ipv6 routing-table vpn-instance vpn-instance-name verbose
command to check detailed information about the IPv6 VPN routing table.
1 IP Routing Basic Configuration
----End

1.1.2 Displaying of the Routing Management Module

You can use display commands of the routing management (RM) module to locate routing problems.
Context
The display commands can be run in all views.
Procedure
l Run the display rm interface [ interface-type interface-number ] command to check RM
information about a specified interface.
l Run the display rm ipv6 interface [ interface-type interface-number ] command to check
IPv6 RM information about a specified interface.
l Run the display rm interface vpn-instance vpn-instance-name command to check RM
information about the private network interface.
l Run the display rm ipv6 interface vpn-instance vpn-instance-name command to check
IPv6 RM information about the private network interface.
----End

1.1.3 FRR Principle

FRR is a technique that allows the physical layer or data link layer to report a fault (if any) to the upper layer routing system so that packets are forwarded over a backup link.
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4
HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing
Context
On traditional IP networks, after a forwarding device such as the router detects a fault on the lower layer link, it takes the routing system several seconds to complete route convergence (to re-select an available route).
A second-level convergence may interrupt the services that are extremely sensitive to packet loss and delay. For example, Voice over IP (VoIP) service can tolerate a maximum of 50 ms of network interruption.
Therefore, to prevent services from being seriously affected by link faults, the forwarding system must be able to detect and rectify faults and restore the affected services immediately.
Fast Reroute (FRR) is applicable to the services that are sensitive to packet loss and delay. After FRR is configured, when a fault is detected at the lower layer (physical layer or link layer), the fault is reported to the upper layer routing system. Meanwhile, packets are forwarded over a backup link. Therefore, the impact of link faults on services is minimized.
According to the application scope, FRR is classified into IP FRR and VPN FRR. IP FRR can be further classified into public network IP FRR and VPN IP FRR.
1 IP Routing Basic Configuration
l Public network IP FRR: protects routers on the public network.
l VPN IP FRR: protects Customer Edges (CEs).
l VPN FRR: protects Provider Edges (PEs).
For detailed introduction of FRR, see the HUAWEI NetEngine80E/40E Router Feature Description- IP Route.
For detailed configuration of VPN IP FRR and VPN FRR, see the HUAWEI NetEngine80E/ 40E Router Configuration Guide - VPN.
FRR can provide backup for direct, static, and dynamic routes (including OSPF, IS-IS, and BGP routes) of NE80E/40Es.

1.2 Configuring IPv4 Multi-Topology

By configuring multi-topology on an IPv4 network, you can properly allocate network resources.

1.2.1 Before You Start

Before configuring IPv4 multi-topology, familiarize yourself with the usage scenario, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
Applicable Environment
On a traditional IP network, only one unicast topology exists, and only one unicast forwarding table exists on the forwarding plane. Services to the same destination IPv4 address share the same per-hop forwarding behavior. This means that various end-to-end services (for example, voice and data services) share the same physical link. Some links may be heavily congested while other links are relatively idle. A solution to this problem is to divide a physical network into different logical topologies for different services. Such a solution is called multi-topology.
Issue 02 (2014-09-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5
Loading...
+ 1271 hidden pages