Huawei AR1200 Series Configuration manual

Category
Networking
Type
Configuration manual
Huawei AR1200 Series Enterprise Routers
V200R002C01
Configuration Guide - MPLS
Issue 01
Date 2012-04-20
HUAWEI TECHNOLOGIES CO., LTD.
Copyright © Huawei Technologies Co., Ltd. 2012. All rights reserved.
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 the 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
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i
About This Document
Intended Audience
This document provides the basic concepts, configuration procedures, and configuration
examples in different application scenarios of the static LSPs configuration, and MPLS LDP
configuration supported by the AR1200 device.
This document describes how to configure the static LSPs configuration, and MPLS LDP
configuration.
This document is intended for:
l Data configuration engineers
l Commissioning engineers
l Network monitoring engineers
l System maintenance engineers
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol
Description
DANGER
Indicates a hazard with a high level of risk, which if not
avoided, will result in death or serious injury.
WARNING
Indicates a hazard with a medium or low level of risk, which
if not avoided, could result in minor or moderate injury.
CAUTION
Indicates a potentially hazardous situation, which if not
avoided, could result in equipment damage, data loss,
performance degradation, or unexpected results.
TIP
Indicates a tip that may help you solve a problem or save
time.
NOTE
Provides additional information to emphasize or supplement
important points of the main text.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS About This Document
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
ii
Command Conventions
The command conventions that may be found in this document are defined as follows.
Convention Description
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.
[ x | y | ... ] Optional items are grouped in brackets and separated by
vertical bars. One item is selected or no item is selected.
{ x | y | ... }
*
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.
[ x | y | ... ]
*
Optional items are grouped in brackets and separated by
vertical bars. Several items or no item can be selected.
&<1-n> The parameter before the & sign can be repeated 1 to n times.
# A line starting with the # sign is comments.
Interface Numbering Conventions
Interface numbers used in this manual are examples. In device configuration, use the existing
interface numbers on devices.
Change History
Updates between document issues are cumulative. Therefore, the latest document issue contains
all updates made in previous issues.
Changes in Issue 01 (2012-04-20)
Initial field trial release.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS About This Document
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
iii
Contents
About This Document.....................................................................................................................ii
1 Static LSPs Configuration............................................................................................................1
1.1 Overview of Static LSPs.....................................................................................................................................2
1.2 Static LSPs Features Supported by the AR1200................................................................................................2
1.3 Configuring Static LSPs.....................................................................................................................................2
1.3.1 Establishing the Configuration Task.........................................................................................................2
1.3.2 Configuring the LSR ID............................................................................................................................3
1.3.3 Enabling MPLS.........................................................................................................................................4
1.3.4 Configuring the Ingress for a Static LSP...................................................................................................4
1.3.5 Configuring the Transit Node for a Static LSP.........................................................................................5
1.3.6 Configuring the Egress for a Static LSP....................................................................................................5
1.3.7 Checking the Configuration.......................................................................................................................6
1.4 Configuring Static BFD for Static LSP..............................................................................................................6
1.4.1 Establishing the Configuration Task.........................................................................................................6
1.4.2 Enable Global BFD Capability..................................................................................................................7
1.4.3 Configuring BFD with Specific Parameters on Ingress............................................................................8
1.4.4 Configuring BFD with Specific Parameters on Egress...........................................................................10
1.4.5 Checking the Configuration.....................................................................................................................11
1.5 Maintaining Static LSPs...................................................................................................................................12
1.5.1 Checking the LSP Connectivity and Reachability..................................................................................12
1.5.2 Enabling the LSP Trap Function.............................................................................................................12
1.6 Configuration Examples...................................................................................................................................13
1.6.1 Example for Configuring Static LSPs.....................................................................................................13
1.6.2 Example for Configuring Static BFD for Static LSP..............................................................................20
2 MPLS LDP Configuration..........................................................................................................27
2.1 Instruction to MPLS LDP.................................................................................................................................29
2.2 MPLS LDP Features Supported by the AR1200..............................................................................................30
2.3 Configuring a Local LDP Session....................................................................................................................31
2.3.1 Establishing the Configuration Task.......................................................................................................31
2.3.2 Configuring Global LDP.........................................................................................................................32
2.3.3 (Optional) Configuring the Dynamic LDP Advertisement Capability....................................................33
2.3.4 Configuring a Local LDP Session...........................................................................................................34
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS Contents
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
iv
2.3.5 (Optional) Configuring an LDP Transport Address................................................................................35
2.3.6 (Optional) Configuring Timers for a Local LDP Session.......................................................................36
2.3.7 Checking the Configuration.....................................................................................................................39
2.4 Configuring a Remote LDP Session.................................................................................................................42
2.4.1 Establishing the Configuration Task.......................................................................................................42
2.4.2 Configuring Global LDP.........................................................................................................................42
2.4.3 (Optional) Configuring the Dynamic LDP Advertisement Capability....................................................43
2.4.4 Configuring a Remote LDP Session........................................................................................................44
2.4.5 (Optional) Configuring Timers for a Remote LDP Session....................................................................45
2.4.6 Checking the Configuration.....................................................................................................................49
2.5 Configuring LDP LSPs.....................................................................................................................................51
2.5.1 Establishing the Configuration Task.......................................................................................................51
2.5.2 Establishing LDP LSPs...........................................................................................................................52
2.5.3 (Optional) Configuring PHP....................................................................................................................52
2.5.4 (Optional) Configuring an LDP Label Advertisement Mode..................................................................53
2.5.5 (Optional) Configuring LDP to Automatically Trigger the Request in DoD Mode................................54
2.5.6 Configuring an MPLS MTU on an Interface...........................................................................................55
2.5.7 (Optional) Configuring LDP MTU Signaling.........................................................................................56
2.5.8 (Optional) Configuring an LDP Split Horizon Policy.............................................................................57
2.5.9 (Optional) Configuring the Inbound and Outbound LDP Policies..........................................................58
2.5.10 (Optional) Configuring a Policy for Triggering LDP LSP Establishment............................................60
2.5.11 (Optional) Configuring a Policy for Triggering Transit LSP Establishment........................................61
2.5.12 Checking the Configuration...................................................................................................................62
2.6 Configuring LDP Extension for Inter-Area LSP..............................................................................................63
2.6.1 Establishing the Configuration Task.......................................................................................................63
2.6.2 Configuring LDP Extension for Inter-Area LSP.....................................................................................64
2.6.3 Checking the Configuration.....................................................................................................................64
2.7 Configuring Static BFD for LDP LSP..............................................................................................................65
2.7.1 Establishing the Configuration Task.......................................................................................................65
2.7.2 Enabling Global BFD Capability............................................................................................................66
2.7.3 Configuring BFD with Specific Parameters on Ingress..........................................................................66
2.7.4 Configuring BFD with Specific Parameters on Egress...........................................................................68
2.7.5 Checking the Configuration.....................................................................................................................70
2.8 Configuring Dynamic BFD for LDP LSP........................................................................................................70
2.8.1 Establishing the Configuration Task.......................................................................................................70
2.8.2 Enabling Global BFD Capability............................................................................................................71
2.8.3 Enabling MPLS to Establish BFD Session Dynamically........................................................................72
2.8.4 Configuring the Triggering Policy of Dynamic BFD for LDP LSP........................................................72
2.8.5 (Optional) Adjusting BFD Parameters....................................................................................................73
2.8.6 Checking the Configuration.....................................................................................................................74
2.9 Configuring Manual LDP FRR........................................................................................................................76
2.9.1 Establishing the Configuration Task.......................................................................................................76
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS Contents
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
v
2.9.2 Enabling Manual LDP FRR....................................................................................................................77
2.9.3 Checking the Configuration.....................................................................................................................77
2.10 Configuring LDP Auto FRR...........................................................................................................................78
2.10.1 Establishing the Configuration Task.....................................................................................................78
2.10.2 Enabling LDP Auto FRR.......................................................................................................................79
2.10.3 Checking the Configuration...................................................................................................................79
2.11 Configuring Synchronization Between LDP and IGP....................................................................................80
2.11.1 Establishing the Configuration Task.....................................................................................................80
2.11.2 Enabling Synchronization Between LDP and IGP................................................................................81
2.11.3 (Optional) Setting the Hold-down Timer Value....................................................................................82
2.11.4 (Optional) Setting the Hold-max-cost Timer Value..............................................................................83
2.11.5 (Optional) Setting the Delay Timer Value............................................................................................84
2.11.6 Checking the Configuration...................................................................................................................84
2.12 Configuring Synchronization Between LDP and Static Routes.....................................................................85
2.12.1 Establishing the Configuration Task.....................................................................................................85
2.12.2 Enabling Synchronization Between LDP and Static Routes.................................................................87
2.12.3 (Optional) Setting a Hold-down Timer.................................................................................................87
2.12.4 Checking the Configuration...................................................................................................................88
2.13 Configuring LDP GTSM................................................................................................................................89
2.13.1 Establishing the Configuration Task.....................................................................................................89
2.13.2 Configuring LDP GTSM.......................................................................................................................89
2.13.3 Checking the Configuration...................................................................................................................90
2.14 Configuring LDP Security Features...............................................................................................................91
2.14.1 Establishing the Configuration Task.....................................................................................................91
2.14.2 Configuring LDP MD5 Authentication.................................................................................................92
2.14.3 Configuring LDP Keychain Authentication..........................................................................................93
2.14.4 Configuring the LDP GTSM.................................................................................................................94
2.14.5 Checking the Configuration...................................................................................................................95
2.15 Configuring LDP GR......................................................................................................................................96
2.15.1 Establishing the Configuration Task.....................................................................................................96
2.15.2 Enabling LDP GR..................................................................................................................................97
2.15.3 (Optional) Configuring GR Helper Timers...........................................................................................98
2.15.4 Checking the Configuration...................................................................................................................98
2.16 Maintaining MPLS LDP.................................................................................................................................99
2.16.1 Resetting LDP........................................................................................................................................99
2.16.2 Checking the LSP Connectivity and Reachability................................................................................99
2.16.3 Enabling the LSP Trap Function.........................................................................................................100
2.17 Configuration Examples...............................................................................................................................100
2.17.1 Example for Configuring Local LDP Sessions...................................................................................101
2.17.2 Example for Configuring a Remote LDP Session...............................................................................104
2.17.3 Example for Using LDP to Establish LSPs.........................................................................................108
2.17.4 Example for Configuring LDP to Automatically Trigger a Request in DoD Mode...........................112
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS Contents
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
vi
2.17.5 Example for Configuring an Inbound LDP Policy..............................................................................118
2.17.6 Example for Configuring an Outbound LDP Policy...........................................................................123
2.17.7 Example for Configuring Transit LSPs Through the Prefix List........................................................128
2.17.8 Example for Configuring LDP Extension for Inter-Area LSP............................................................133
2.17.9 Example for Configuring Static BFD for LDP LSP............................................................................140
2.17.10 Example for Configuring Dynamic BFD for LDP LSP....................................................................146
2.17.11 Example for Configuring Manual LDP FRR....................................................................................150
2.17.12 Example for Configuring LDP Auto FRR.........................................................................................155
2.17.13 Example for Configuring Synchronization Between LDP and IGP..................................................162
2.17.14 Example for Configuring Synchronization Between LDP and Static Routes...................................168
2.17.15 Example for Configuring LDP GTSM..............................................................................................173
3 MPLS TE Configuration...........................................................................................................177
3.1 Introduction to MPLS TE...............................................................................................................................179
3.1.1 MPLS TE Overview..............................................................................................................................179
3.1.2 MPLS TE Features Supported by the AR1200.....................................................................................179
3.2 Configuring Static CR-LSP............................................................................................................................182
3.2.1 Establishing the Configuration Task.....................................................................................................182
3.2.2 Enabling MPLS TE...............................................................................................................................183
3.2.3 (Optional) Configuring Link Bandwidth...............................................................................................184
3.2.4 Configuring the MPLS TE Tunnel Interface.........................................................................................185
3.2.5 Configuring the Ingress of the Static CR-LSP......................................................................................186
3.2.6 Configuring the Transit of the Static CR-LSP.......................................................................................187
3.2.7 Configuring the Egress of the Static CR-LSP.......................................................................................187
3.2.8 Checking the Configuration...................................................................................................................188
3.3 Configuring an RSVP-TE Tunnel..................................................................................................................188
3.3.1 Establishing the Configuration Task.....................................................................................................189
3.3.2 Enabling MPLS TE and RSVP-TE.......................................................................................................189
3.3.3 (Optional) Configuring Link Bandwidth...............................................................................................191
3.3.4 Configuring OSPF TE...........................................................................................................................191
3.3.5 Configuring IS-IS TE............................................................................................................................192
3.3.6 (Optional) Configuring an MPLS TE Explicit Path..............................................................................193
3.3.7 Configuring an MPLS TE Tunnel Interface..........................................................................................195
3.3.8 Configuring Tunnel Constraints............................................................................................................196
3.3.9 (Optional) Configuring an RSVP Resource Reservation Style.............................................................197
3.3.10 Configuring CSPF...............................................................................................................................198
3.3.11 Checking the Configuration.................................................................................................................199
3.4 Adjusting RSVP Signaling Parameters..........................................................................................................200
3.4.1 Establishing the Configuration Task.....................................................................................................201
3.4.2 Configuring RSVP Hello Extension......................................................................................................201
3.4.3 Configuring RSVP Timers....................................................................................................................202
3.4.4 Configuring RSVP Refresh Mechanism................................................................................................203
3.4.5 Enabling Reservation Confirmation Mechanism..................................................................................204
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS Contents
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
vii
3.4.6 Checking the Configuration...................................................................................................................205
3.5 Configuring RSVP Authentication.................................................................................................................205
3.5.1 Establishing the Configuration Task.....................................................................................................205
3.5.2 Configuring RSVP Key Authentication................................................................................................206
3.5.3 (Optional) Configuring the RSVP Authentication Lifetime..................................................................208
3.5.4 (Optional) Configuring the Handshake Function..................................................................................209
3.5.5 (Optional) Configuring the Message Window Function.......................................................................210
3.5.6 Checking the Configuration...................................................................................................................211
3.6 Adjusting the Path of CR-LSP........................................................................................................................211
3.6.1 Establishing the Configuration Task.....................................................................................................211
3.6.2 Configuring Administrative Group and Affinity Property....................................................................213
3.6.3 Configuring SRLG................................................................................................................................214
3.6.4 Configuring CR-LSP Hop Limit...........................................................................................................215
3.6.5 Configuring Metrics for Path Calculation.............................................................................................215
3.6.6 Configuring Tie-Breaking of CSPF.......................................................................................................217
3.6.7 Configuring Failed Link Timer.............................................................................................................218
3.6.8 Configuring Loop Detection..................................................................................................................219
3.6.9 Configuring Route Pinning....................................................................................................................219
3.6.10 Checking the Configuration.................................................................................................................220
3.7 Adjusting the Establishment of MPLS TE Tunnels.......................................................................................220
3.7.1 Establishing the Configuration Task.....................................................................................................220
3.7.2 Configuring the Tunnel Priority............................................................................................................221
3.7.3 Configuring Re-optimization for CR-LSP............................................................................................222
3.7.4 Associating CR-LSP Establishment with the Overload Setting............................................................223
3.7.5 Configuring Tunnel Reestablishment Parameters.................................................................................224
3.7.6 Configuring Route Record and Label Record.......................................................................................225
3.7.7 Configuring the RSVP Signaling Delay-Trigger Function...................................................................225
3.7.8 Checking the Configuration...................................................................................................................226
3.8 Adjusting the Traffic Forwarding of an MPLS TE Tunnel............................................................................226
3.8.1 Establishing the Configuration Task.....................................................................................................226
3.8.2 Configuring IGP Shortcut......................................................................................................................227
3.8.3 Configuring Forwarding Adjacency......................................................................................................228
3.8.4 Configuring Switching Delay and Deletion Delay................................................................................229
3.8.5 Checking the Configuration...................................................................................................................230
3.9 Adjusting Flooding Threshold of Bandwidth Change....................................................................................231
3.9.1 Establishing the Configuration Task.....................................................................................................231
3.9.2 Configuring Flooding Threshold...........................................................................................................232
3.9.3 Checking the Configuration...................................................................................................................232
3.10 Configuring the Limit Rate of MPLS TE Traffic.........................................................................................233
3.10.1 Establishing the Configuration Task...................................................................................................233
3.10.2 Configuring the Limit Rate of MPLS TE Traffic................................................................................234
3.10.3 Checking the Configuration.................................................................................................................234
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS Contents
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
viii
3.11 Configuring TE Manual FRR.......................................................................................................................235
3.11.1 Establishing the Configuration Task...................................................................................................235
3.11.2 Enabling TE FRR................................................................................................................................236
3.11.3 Configuring a Bypass Tunnel..............................................................................................................237
3.11.4 (Optional) Configuring a TE FRR Scanning Timer............................................................................239
3.11.5 (Optional) Changing the PSB and RSB Timeout Multiplier...............................................................239
3.11.6 Checking the Configuration.................................................................................................................240
3.12 Configuring MPLS TE Auto FRR................................................................................................................241
3.12.1 Establishing the Configuration Task...................................................................................................241
3.12.2 Enabling the TE Auto FRR.................................................................................................................242
3.12.3 Enabling the TE FRR and Configuring the Auto Bypass Tunnel Attributes......................................243
3.12.4 (Optional) Configuring the Scanning Timer for FRR.........................................................................244
3.12.5 (Optional) Modifying PSB and RSB Timeout Multiplier...................................................................245
3.12.6 Checking the Configuration.................................................................................................................245
3.13 Configuring CR-LSP Backup.......................................................................................................................246
3.13.1 Establishing the Configuration Task...................................................................................................246
3.13.2 Configuring CR-LSP Backup..............................................................................................................247
3.13.3 (Optional) Configuring Dynamic Bandwidth for Hot-Standby CR-LSPs...........................................249
3.13.4 (Optional) Configuring a Best-Effort Path..........................................................................................250
3.13.5 Checking the Configuration.................................................................................................................250
3.14 Configuring Synchronization of the Bypass Tunnel and the Backup CR-LSP............................................251
3.14.1 Establishing the Configuration Task...................................................................................................251
3.14.2 Enabling Synchronization of the Bypass Tunnel and the Backup CR-LSP........................................252
3.14.3 Checking the Configuration.................................................................................................................253
3.15 Configuring RSVP GR.................................................................................................................................253
3.15.1 Establishing the Configuration Task...................................................................................................253
3.15.2 Enabling the RSVP Hello Extension Function....................................................................................254
3.15.3 Enabling Full GR of RSVP.................................................................................................................255
3.15.4 (Optional) Enabling the RSVP GR Support Function.........................................................................255
3.15.5 (Optional) Configuring Hello Sessions Between RSVP GR Nodes....................................................256
3.15.6 (Optional) Modifying Basic Time.......................................................................................................257
3.15.7 Checking the Configuration.................................................................................................................258
3.16 Configuring Static BFD for CR-LSP............................................................................................................258
3.16.1 Establishing the Configuration Task...................................................................................................258
3.16.2 Enabling BFD Globally.......................................................................................................................259
3.16.3 Configuring BFD Parameters on the Ingress of the Tunnel................................................................260
3.16.4 Configuring BFD Parameters on the Egress of the Tunnel.................................................................261
3.16.5 Checking the Configuration.................................................................................................................262
3.17 Configuring Static BFD for TE....................................................................................................................264
3.17.1 Establishing the Configuration Task...................................................................................................264
3.17.2 Enabling BFD Globally.......................................................................................................................264
3.17.3 Configuring BFD Parameters on the Ingress of the Tunnel................................................................265
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS Contents
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
ix
3.17.4 Configuring BFD Parameters on the Egress of the Tunnel.................................................................266
3.17.5 Checking the Configuration.................................................................................................................267
3.18 Configuring Dynamic BFD for CR-LSP......................................................................................................269
3.18.1 Establishing the Configuration Task...................................................................................................269
3.18.2 Enabling BFD Globally.......................................................................................................................270
3.18.3 Enabling the Capability of Dynamically Creating BFD Sessions on the Ingress...............................270
3.18.4 Enabling the Capability of Passively Creating BFD Sessions on the Egress......................................272
3.18.5 (Optional) Adjusting BFD Parameters................................................................................................272
3.18.6 Checking the Configuration.................................................................................................................274
3.19 Configuring Dynamic BFD for RSVP..........................................................................................................274
3.19.1 Establishing the Configuration Task...................................................................................................274
3.19.2 Enabling BFD Globally.......................................................................................................................276
3.19.3 Enabling BFD for RSVP.....................................................................................................................276
3.19.4 (Optional) Adjusting BFD Parameters................................................................................................277
3.19.5 Checking the Configuration.................................................................................................................278
3.20 Maintaining MPLS TE.................................................................................................................................279
3.20.1 Checking the Connectivity of the TE Tunnel......................................................................................279
3.20.2 Checking Information About Tunnel Faults........................................................................................280
3.20.3 Clearing the Operation Information....................................................................................................280
3.20.4 Resetting the Tunnel Interface.............................................................................................................280
3.20.5 Resetting the RSVP Process................................................................................................................281
3.20.6 Deleting or Resetting the Bypass Tunnel............................................................................................281
3.21 Configuration Examples...............................................................................................................................282
3.21.1 Example for Establishing a Static MPLS TE Tunnel..........................................................................282
3.21.2 Example for Configuring RSVP-TE Tunnel.......................................................................................288
3.21.3 Example for Configuring MPLS TE FRR...........................................................................................295
3.21.4 Example for Configuring MPLS TE Auto FRR..................................................................................306
3.21.5 Example for Configuring CR-LSP Hot Standby.................................................................................314
3.21.6 Example for Configuring Static BFD for CR-LSP..............................................................................320
3.21.7 Example for Configuring Dynamic BFD for CR-LSP........................................................................326
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS Contents
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
x
1 Static LSPs Configuration
About This Chapter
You can set up a static LSP by manually allocating labels to LSRs. The static LSP applies stable,
small-scale networks.
1.1 Overview of Static LSPs
The static LSP cannot be set up using a label distribution protocol but can be set up by an
administrator. The static LSP applies to a stable and small-scaled network with the simple
topology.
1.2 Static LSPs Features Supported by the AR1200
1.3 Configuring Static LSPs
A static LSP can be set up only after each LSR is manually configured.
1.4 Configuring Static BFD for Static LSP
By configuring static BFD for static LSPs, you can monitor connectivity of static LSPs.
1.5 Maintaining Static LSPs
The static LSP maintenance consists of deleting MPLS statistics, detecting connectivity or
reachability of an LSP, and configuring the trap function on an LDP LSP.
1.6 Configuration Examples
The following sections provide several examples of the static LSP configurations. Familiarize
yourself with the configuration procedures against the networking diagram. Each configuration
example consists of the networking requirements, configuration precautions, configuration
roadmap, configuration procedures, and configuration files.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1
1.1 Overview of Static LSPs
The static LSP cannot be set up using a label distribution protocol but can be set up by an
administrator. The static LSP applies to a stable and small-scaled network with the simple
topology.
When configuring a static LSP, the administrator must manually allocate labels for each LSR
by following the rule that the value of the outgoing label of the previous node is equal to the
value of the incoming label of the next node. Each LSR on the static LSP cannot detect the
changes of other LSRs on the LSP. Therefore, the static LSP is a local concept.
A static LSP is set up without using label distribution protocols, and does not need to exchange
control packets. Therefore, the static LSP consumes few resources and applies to small-scale
networks with simple and stable topology. A static LSP cannot vary with the network topology
dynamically. The administrator must adjust the static LSP according to the network topology.
1.2 Static LSPs Features Supported by the AR1200
Static LSPs
Static LSPs must be configured manually by the administrator. Each LSR on the static LSP
cannot sense the status of the entire LSP, because the static LSP is a local concept. A static LSP
cannot vary with the change in a route dynamically. The administrator must adjust the static
LSP.
Static BFD for Static LSPs
The AR1200 supports static BFD for static LSPs. BFD is a bidirectional detection mechanism.
When static BFD is applied to static LSPs which are unidirectional, the reverse links can be
either IP links or static LSPs.
1.3 Configuring Static LSPs
A static LSP can be set up only after each LSR is manually configured.
1.3.1 Establishing the Configuration Task
Before configuring a static LSP, familiarize yourself with the applicable environment, complete
the pre-configuration tasks, and obtain the required data.
Applicable Environment
A static LSP works properly only after all the LSRs along the LSP are configured.
The setup of static LSPs does not require the label distribution protocol or exchange any control
packets. Therefore, the static LSPs consume a few resources and apply to small-scale networks
with a simple and stable topology. The static LSPs cannot vary with the network topology
dynamically. The administrator, therefore, needs to adjust the static LSPs according to the
network topology.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2
Static LSPs are used over MPLS L2VPNs.
For information about the MPLS L2VPN configuration, refer to the Huawei AR1200 Series
Enterprise Routers Configuration Guide - VPN.
Pre-configuration Tasks
Before configuring static LSPs, complete the following task:
l Configuring a static unicast route or an IGP to connect LSRs on the network layer
Data Preparation
To configure static LSPs, you need the following data.
No. Data
1 Name of the static LSP
2 Destination address and mask
3 Value of an incoming or outgoing label on each LSR
4 Next hop address or outgoing interface on the ingress
5 Incoming interface, next hop address, or outgoing interface on a transit node
6 Incoming interface on the egress
1.3.2 Configuring the LSR ID
Before enabling MPLS, configure the LSR ID.
Context
When configuring an LSR ID, note the following issues:
l The LSR ID must be configured before other MPLS commands are run.
l The LSR ID does not have a default value and must be configured manually.
l Using the address of the loopback interface of the LSR as the LSR ID is recommended.
l To modify the configured LSR ID, run the undo mpls command in the system view to
delete all the MPLS configurations.
Perform the following steps on each LSR in an MPLS domain:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
mpls lsr-id lsr-id
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3
The LSR ID of the local node is configured.
lsr-id: A number in dotted decimal notation that identifies an LSR.
----End
1.3.3 Enabling MPLS
MPLS features can be configured only after MPLS is enabled.
Context
Perform the following steps on each LSR in an MPLS domain:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
mpls
MPLS is enabled globally and the MPLS view is displayed.
Step 3 Run:
quit
Return to the system view.
Step 4 Run:
interface interface-type interface-number
The interface to participate in MPLS forwarding is specified.
Step 5 Run:
mpls
MPLS is enabled on the interface.
----End
1.3.4 Configuring the Ingress for a Static LSP
Before setting up a static LSP, configure the ingress manually.
Context
Perform the following steps on the LSR to be configured as the ingress:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4
Step 2 Run:
static-lsp ingress lsp-name destination ip-address { mask-length | mask }
{ nexthop next-hop-address | outgoing-interface interface-type interface-number }
*
out-label out-label
The LSR is configured as the ingress on the specified LSP.
To modify the destination destination-address, nexthop next-hop-address, outgoing-
interface interface-type interface-number, or out-label out-label, run the static-lsp ingress
command to set a new value. There is no need to run the undo static-lsp ingress command
before changing a configured value.
----End
1.3.5 Configuring the Transit Node for a Static LSP
To set up a static LSP, configure the transit node manually.
Context
Perform the following steps on the LSR to be configured as a transit node:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
static-lsp transit lsp-name incoming-interface interface-type interface-number in-
label in-label { nexthop next-hop-address | outgoing-interface interface-type
interface-number }
*
out-label out-label
The LSR is configured as the transit node on the specified LSP.
To modify the incoming-interface interface-type interface-number, in-label in-label, next-hop-
address, outgoing-interface interface-type interface-number, or out-label out-label, run the
static-lsp transit command to set a new value. There is no need to run the undo static-lsp
transit command before changing a configured value.
----End
1.3.6 Configuring the Egress for a Static LSP
To set up a static LSP, configure the egress manually.
Context
Perform the following steps on the LSR to be configured as the egress:
Procedure
Step 1 Run:
system-view
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5
The system view is displayed.
Step 2 Run:
static-lsp egress lsp-name incoming-interface interface-type interface-number in-
label in-label [ lsrid ingress-lsr-id ]
The LSR is configured as the egress on the specified LSP.
To modify the incoming-interface interface-type interface-number orin-label in-label, run the
static-lsp egress command to set a new value. There is no need to run the undo static-lsp
egress command before changing a configured value.
----End
1.3.7 Checking the Configuration
After a static LSP is set up, you can see that the static LSP is Up and the route status is Ready.
Prerequisites
The configurations of the static LSP function are complete.
Procedure
l Run the display mpls static-lsp [ lsp-name ] [ { include | exclude } ip-address mask-
length ] [ verbose ] command to check the static LSP.
l Run the display mpls route-state [ vpn-instance vpn-instance-name ] [ { exclude |
include } { idle | ready | settingup } * | destination-address mask-length ] [ verbose ]
command to check the LSP route on the ingress.
----End
Example
If the configurations have succeeded, run the preceding commands to display information about
the static LSP:
l After the display mpls static-lsp command is run, information about the static LSP
configuration is displayed, including the name of the static LSP, FEC, values of the
incoming label and the outgoing label, and the incoming and outgoing interfaces. In
addition, you can see that the status of the LSP is Up.
<Huawei> display mpls static-lsp
TOTAL : 1 STATIC LSP(S)
UP : 1 STATIC LSP(S)
DOWN : 0 STATIC LSP(S)
Name FEC I/O Label I/O If Status
lsp1 3.3.3.9/32 NULL/100 -/GE1/0/0 Up
1.4 Configuring Static BFD for Static LSP
By configuring static BFD for static LSPs, you can monitor connectivity of static LSPs.
1.4.1 Establishing the Configuration Task
Before configuring static BFD for static LSPs, familiarize yourself with the applicable
environment, complete the pre-configuration tasks, and obtain the required data.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6
Applicable Environment
BFD is used to monitor the connectivity of the static LSP that is established manually.
NOTE
When static BFD works for a static LSP, a static BFD session can be created for non-host routes.
BFD for LSP can function properly though the forward path is an LSP and the reverse path is an IP link.
The forward path and the reverse path must be established over the same link. If they use different links
and a fault occurs, BFD cannot identify the faulty path. Before deploying BFD, ensure that the forward
and reverse paths are over the same link.
Pre-configuration Tasks
Before configuring static BFD for static LSP, complete the following task:
l Configuring a static LSP
NOTE
For the static CR-LSP bound to an MPLS TE tunnel, BFD is available after being bound to the MPLS TE
tunnel.
Data Preparations
Before configuring static BFD for static LSP, you need the following data.
No.
Data
1 Name of a static LSP
2 BFD configuration name
3 Parameters of the reverse link:
l IP link: IP address of egress, outgoing interface (optional), and source IP address
(optional)
l Dynamic LSP: IP address of egress, next hop address of the LSP, and egress
(optional)
l Static LSP: LSP name
l MPLS TE: ID of an MPLS TE tunnel
4
Local and remote discriminators of a BFD session
1.4.2 Enable Global BFD Capability
You can enable BFD globally on both ends of a link to be monitored.
Context
Perform the following steps on each LSR at both ends of the link to be monitored:
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
bfd
This node is enabled with the global BFD function. The global BFD view is displayed.
----End
1.4.3 Configuring BFD with Specific Parameters on Ingress
To monitor a static LSP using a static BFD session, configure BFD parameters on the ingress
of the static LSP.
Context
Perform the following steps on the ingress of the static LSP:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
bfd cfg-name bind static-lsp lsp-name
The BFD session is bound to the static LSP.
Step 3 Configure the discriminators.
l Run:
discriminator local discr-value
The local discriminator is configured.
l Run:
discriminator remote discr-value
The remote discriminator is configured.
Step 4 (Optional) Run the following commands to adjust the local minimum interval between BFD
packet transmissions, the minimum interval between BFD packet receipts, and the local BFD
detection multiplier:
1. Run the quit command to return to the system view.
2. Run the mpls command to globally enable MPLS and enter the MPLS view.
3. Run the mpls bfd min-tx-interval interval command to adjust the minimum interval
between BFD packet transmissions on the local device.
The minimum interval between BFD packet transmissions on the local device is set.
By default, the value is 1000 milliseconds.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8
If the reverse link is an IP link, this parameter is inapplicable.
Actual local interval between BFD packet transmissions = MAX { Locally configured
interval between BFD packet transmissions, Remotely configured interval between BFD
packet receipts}; Actual local interval between BFD packet receipts = MAX {Remotely
configured interval between BFD packet transmissions, Locally configured interval
between BFD packet receipts}; Local detection period = Actual local interval between BFD
packet receipts x Remotely configured BFD detection multiplier.
For example, the following values of parameters are used:
l On the local device, the interval between BFD packet transmissions is set to 200 ms,
the interval between BFD packet receipts is set to 300 ms, and the detection multiplier
is set to 4.
l On the peer device, the interval between BFD packet transmissions is 100 ms, the
interval between BFD packet receipts is 600 ms, and the detection multiplier is 5.
Then,
l On the local device, the actual interval between BFD packet transmissions is 600 ms
calculated using the formula max {200 ms, 600 ms}, the interval between BFD packet
receipts is 300 ms calculated using the formula max {100 ms, 300 ms}, and the detection
period is 1500 ms calculated by 300 ms multiplied by 5.
l On the peer device, the actual local interval between BFD packet transmissions is 300
ms obtained using the formula max {100 ms, 300 ms}, the interval between BFD packet
receipts is 600 ms obtained using the formula max {200 ms, 600 ms}, and the detection
period is 2400 ms obtained by 600 ms multiplied by 4.
4. Run the mpls bfd min-rx-interval interval command to adjust the minimum interval
between BFD packet receipts.
The minimum interval between BFD packet receipts is modified on the local device.
By default, the value is 1000 milliseconds.
If the reverse link is an IP link, this parameter is inapplicable.
5. Run the mpls bfd detect-multiplier multiplier command to modify the local BFD detection
multiplier.
The default value is 3.
6. Run the quit command to return to the system view.
7. Run the bfd cfg-name command to enter the BFD session view.
Step 5 Run:
commit
The configuration is committed.
After configuring the BFD session to monitor the static LSP, the following situations occur:
l If the static LSP status goes Up, a BFD session is reestablished.
l If the static LSP status goes Down, the BFD session goes Down too.
----End
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342

Huawei AR1200 Series Configuration manual

Category
Networking
Type
Configuration manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI