You are on page 1of 410

ZXR10 M6000-S

Carrier-Class Router

Configuration Guide (MPLS)
Version: 3.00.10

ZTE CORPORATION
No. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://support.zte.com.cn
E-mail: support@zte.com.cn

LEGAL INFORMATION
Copyright © 2014 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or
distribution of this document or any portion of this document, in any form by any means, without the prior written
consent of ZTE CORPORATION is prohibited.

Additionally, the contents of this document are protected by

contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE
CORPORATION or of their respective owners.
This document is provided “as is”, and all express, implied, or statutory warranties, representations or conditions
are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose,
title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the
use of or reliance on the information contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications
covering the subject matter of this document. Except as expressly provided in any written license between ZTE
CORPORATION and its licensee, the user of this document shall not acquire any license to the subject matter
herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit the ZTE technical support website http://support.zte.com.cn to inquire for related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.

Revision History
Revision No.

Revision Date

Revision Reason

R1.0

2014-10-20

First edition.

Serial Number: SJ-20140731105308-012
Publishing Date: 2014-10-20 (R1.0)

SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Contents
About This Manual ......................................................................................... I
Chapter 1 MPLS Configuration ................................................................. 1-1
1.1 MPLS Overview ................................................................................................. 1-1
1.2 MPLS Term........................................................................................................ 1-5
1.3 LSP Establishment ............................................................................................. 1-8
1.4 Label Distribution and Management................................................................... 1-12
1.5 MPLS Configuration ......................................................................................... 1-20
1.6 MPLS Configuration Instance............................................................................ 1-30
1.6.1 Establishing a Basic LDP Neighbour Session .......................................... 1-30
1.6.2 Establishing an LDP Target Session ........................................................ 1-33
1.6.3 Configuring a Label Distribution Policy..................................................... 1-36
1.6.4 Configuring an LDP Multi-Instance ......................................................... 1-39
1.6.5 Establishing an LDP FRR ....................................................................... 1-42
1.6.6 LDP Graceful Restart Configuration Instance ........................................... 1-49
1.6.7 LSP Load-Sharing Configuration Example ............................................... 1-56
1.6.8 LDP BFD Configuration Example ............................................................ 1-60
1.6.9 Peer BFD Configuration Example ............................................................ 1-64
1.6.10 GTSM Configuration Example ............................................................... 1-67
1.6.11 LDP IGP Synchronization Configuration Example (OSPF) ....................... 1-71
1.6.12 LDP IGP Synchronization Configuration Example (IS-IS) ........................ 1-75
1.6.13 Instance with LDPIGP Synchronization Integrated with FRR ................... 1-79
1.6.14 Packet Filtration Configuration Example................................................. 1-85
1.6.15 Label-Distribution Configuration Example............................................... 1-88
1.6.16 Label-Retention Configuration Example ................................................. 1-90
1.6.17 Label-Advertise Configuration Example ................................................. 1-93
1.6.18 Label-Request Configuration Example ................................................... 1-96
1.6.19 LSP-Control Configuration Example ...................................................... 1-99
1.6.20 Longest-Match Configuration Example..................................................1-103

Chapter 2 MPLS TE Configuration............................................................ 2-1
2.1 RSVP Configuration ........................................................................................... 2-1
2.1.1 RSVP Overview ....................................................................................... 2-1
2.1.2 Configuring RSVP .................................................................................... 2-5
2.1.3 RSVP Configuration Instance.................................................................... 2-8

I
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

2.2 TE Summary Refresh Introduction..................................................................... 2-24
2.2.1 TE Summary Refresh Introduction........................................................... 2-24
2.2.2 Configuring TE Summary Refresh ........................................................... 2-25
2.2.3 TE Summary Refresh Configuration Example .......................................... 2-26
2.3 TE Message Acknowledgement and Retransmission .......................................... 2-29
2.3.1 Introduction to TE Message Acknowledgement and Retransmission.......... 2-29
2.3.2 Configuring TE Message Acknowledgement and Retransmission .............. 2-30
2.3.3 TE Message Acknowledgement and Retransmission Configuration
Example ............................................................................................... 2-31
2.4 TE Authentication Configuration ........................................................................ 2-34
2.4.1 TE Authentication Overview .................................................................... 2-34
2.4.2 Configuring TE Authentication ................................................................. 2-35
2.4.3 TE Authentication Configuration Instance................................................. 2-37
2.5 Confiugration of MPLS TE Crossing Several AS Domains................................... 2-40
2.5.1 MPLS TE Crossing Several AS Domains Overview .................................. 2-40
2.5.2 Configuring the MPLS TE Crossing Several AS Domains.......................... 2-42
2.5.3 MPLS TE Crossing Several AS Domains Configuration Instance............... 2-43
2.6 TE-FRR Configuration ...................................................................................... 2-58
2.6.1 TE-FRR Overview .................................................................................. 2-58
2.6.2 Configuring TE-FRR ............................................................................... 2-61
2.6.3 TE-FRR Configuration Instance............................................................... 2-63
2.7 FRR Promotion Introduction.............................................................................2-103
2.7.1 FRR Promotion Introduction...................................................................2-103
2.7.2 Configuring FRR Promotion ...................................................................2-104
2.7.3 FRR Promotion Configuration Examples .................................................2-105
2.8 FRR-Hello Configuration.................................................................................. 2-114
2.8.1 FRR Hello Introduction .......................................................................... 2-114
2.8.2 Configuring FRR Hello........................................................................... 2-114
2.8.3 FRR Hello Configuration Example .......................................................... 2-116
2.9 MPLS TE End-to-End Protection Path Configuration..........................................2-121
2.9.1 MPLS TE End-to-End Path Protection Overview......................................2-121
2.9.2 Path Configuration for MPLS TE End-to-End Protection...........................2-121
2.9.3 Establishing an MPLS TE End-to-End Path Protection.............................2-122
2.10 Loose Node Re-optimization ..........................................................................2-128
2.10.1 Loose Node Re-optimization Introduction ..............................................2-128
2.10.2 Configuring Loose Node Re-optimization ..............................................2-128
2.10.3 Loose Node Re-optimization Configuration Instance ..............................2-129
2.11 Automatic Bandwidth Regulation on an MPLS TE ...........................................2-135
II
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

2.11.1 Introduction to Automatic Bandwidth Regulation Function of the MPLS
TE.......................................................................................................2-135
2.11.2 Configuring Automatic MPLS TE Bandwidth Regulation .........................2-135
2.11.3 Instances of Automatic Bandwidth Regulation Configuration for the
MPLS TE.............................................................................................2-137
2.12 TE GR Configuration .....................................................................................2-140
2.12.1 GR Introduction ...................................................................................2-140
2.12.2 Configuring GR ...................................................................................2-143
2.12.3 GR Configuration Example...................................................................2-144
2.13 TE Tunnel FA Configuration ...........................................................................2-148
2.13.1 TE Tunnel FA Introduction....................................................................2-148
2.13.2 Configuring TE Tunnel FA ....................................................................2-148
2.13.3 TE Tunnel FA Configuration Example ...................................................2-149
2.14 TE Tunnel AR Configuration...........................................................................2-152
2.14.1 TE Tunnel AR Introduction ...................................................................2-152
2.14.2 Configuring TE Tunnel AR ...................................................................2-153
2.14.3 TE Tunnel AR Configuration Example...................................................2-154
2.15 TE Metric Configuration .................................................................................2-157
2.15.1 TE Metric Introduction..........................................................................2-157
2.15.2 Configuring TE Metric .........................................................................2-157
2.15.3 TE Metric Configuration Example .........................................................2-158
2.16 TE SRLG Configuration .................................................................................2-162
2.16.1 TE SRLG Introduction..........................................................................2-162
2.16.2 Configuring TE SRLG ..........................................................................2-163
2.16.3 TE SRLG Configuration Example .........................................................2-163
2.17 TE Tunnel Reoptimization Configuration .........................................................2-168
2.17.1 Introduction to TE Tunnel Reoptimization ..............................................2-168
2.17.2 Configuring TE Tunnel Re-optimization .................................................2-168
2.17.3 TE Tunnel Reoptimization Configuration Example .................................2-170
2.18 TE HOTSTANDBY Configuration....................................................................2-173
2.18.1 Tunnel Establishment With Only TE HOTSTANDBY ..............................2-173
2.18.2 Configuring the TE HOTSTANDBY Function .........................................2-174
2.18.3 TE HOTSTANDBY Function Configuration Instance...............................2-174
2.19 WTR Configuration for a TE Tunnel ................................................................2-179
2.19.1 Introduction to TE Tunnel WTR ............................................................2-179
2.19.2 Configuring the WTR Function of a TE Tunnel.......................................2-179
2.19.3 TE Tunnel WTR Configuration Instance ................................................2-180
2.20 TE Tunnels Supporting Soft Preemption .........................................................2-185
III
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

2.20.1 TE Tunnels Supporting Soft-Preemption ..............................................2-185
2.20.2 Configuring a TE Tunnel Supporting Priorities and Soft Preemption ........2-187
2.20.3 Instance of TE Tunnels Supporting Soft Preemption ..............................2-188
2.21 Equal Load Sharing on the TE-ECMP .............................................................2-198
2.21.1 Equal Load Sharing on the TE-ECMP ...................................................2-198
2.21.2 Configuring Equal Load Sharing on the TE-ECMP .................................2-198
2.21.3 Instance of Equal Load Sharing Configuration on the TE-ECMP .............2-199
2.22 TE Affinity .....................................................................................................2-202
2.22.1 TE Affinity Introduction.........................................................................2-202
2.22.2 Configuring the TE Affinity....................................................................2-202
2.22.3 TE Affinity Configuration Instance .........................................................2-203
2.23 Binding Interfaces Supporting TE Bandwidth Reservation ................................2-214
2.23.1 Binding Interfaces Supporting TE Bandwidth Reservation ......................2-214
2.23.2 Configuring Binding Interfaces Supporting TE Bandwidth
Reservation .........................................................................................2-214
2.23.3 Configuration Instance for Binding Interfaces Supporting TE Bandwidth
Reservation .........................................................................................2-215
2.24 RSVP-TEs Supporting Resource Reservation .................................................2-220
2.24.1 Resource Reservation in FF Mode on the RSVP-TE ..............................2-220
2.24.2 Configuring RSVP-TE Supporting Resource Reservation .......................2-220
2.24.3 Instance for Resource Reservation in FF Mode on the RSVP-TE............2-221

Chapter 3 MPLS OAM Configuration ........................................................ 3-1
3.1 MPLS OAM Overview......................................................................................... 3-1
3.2 Configuring MPLS OAM...................................................................................... 3-1
3.3 MPLS OAM Configuration Example ..................................................................... 3-4

Chapter 4 Static Tunnel Configuration ..................................................... 4-1
4.1 Static Tunnel Overview ....................................................................................... 4-1
4.1.1 Associated Bidirectional Tunnels for a Static TE Tunnel ............................. 4-1
4.1.2 Static TE Tunnels Supporting DS-TE ......................................................... 4-2
4.1.3 Reserved Bandwidth Sharing on Static TE Tunnels .................................... 4-3
4.2 Configuring a Static Tunnel ................................................................................. 4-4
4.2.1 Configuring Bidirectional BFD for a Static Tunnel........................................ 4-5
4.2.2 Configuring the FA Function on a Static Tunnel .......................................... 4-6
4.2.3 Configuring the AR Function for a Static Tunnel ......................................... 4-7
4.2.4 Configuring an Associated Bidirectional Tunnel for a Static TE Tunnel ......... 4-7
4.2.5 Configuring a Static TE Tunnel Supporting DS-TE ...................................... 4-8
4.2.6 Configuring Reserved Bandwidth Sharing on Static TE Tunnels .................4-11

IV
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 5 Tunnel Protection Group Configuration ................................. 5-1
5.1 Tunnel Protection Group Overview ...................................................................... 5-1
5.2 Configuring a Tunnel Protection Group ................................................................ 5-6
5.3 Tunnel Protection Group Configuration Example .................................................. 5-9

Chapter 6 APS Configuration .................................................................... 6-1
6.1 APS Overview.................................................................................................... 6-1
6.2 Configuring APS ................................................................................................ 6-5
6.2.1 Configuring APS for a Tunnel Protection Group.......................................... 6-6
6.2.2 Configuring APS for a PW Protection Group .............................................. 6-8
6.3 APS Configuration Example................................................................................ 6-9
6.3.1 APS Configuration Example (Tunnel Protection Group) .............................. 6-9
6.3.2 APS Configuration Example (PW Protection Group) ................................. 6-15

Figures............................................................................................................. I
Glossary .........................................................................................................V

V
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

This page intentionally left blank.

VI
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 6. configuration commands and configuration examples. APS Configuration Describes the APS principles. Chapter 2. window names. Conventions This manual uses the following conventions: Italics Variables in commands. function names. input fields. Chapter 1. width [] Optional parameters. Bold Menus. MPLS OAM Describes the MPLS OAM principles. Chapter 4. Chapter 3. {} Mandatory parameters. directory names. It may also refer to other related manuals and documents. I SJ-20140731105308-012|2014-10-20 (R1. configuration commands and Configuration configuration examples. dialog box names. parameters. and commands. configuration commands and Configuration configuration examples. program codes. and function names. check boxes. Intended Audience This manual is intended for: l l l Network planning engineers Commissioning engineers Maintaining engineers What Is in This Manual This manual contains the following chapters. Chapter 5. Tunnel Protection Describes the principles for tunnel protection group. menu options. Static Tunnel Describes the Static Tunnel principle. configuration commands and Configuration configuration examples. configuration commands Configuration and configuration examples. option button names. Constant Text that you type. filenames.0) ZTE Proprietary and Confidential .About This Manual Purpose This manual describes the principles. configuration Group Configuration commands and configuration examples. MPLS Describes the MPLS principle. MPLS TE Describes the MPLS TE-related principle. drop-down lists. configuration commands and configuration examples that are related to MPLS services of the ZXR10 M6000-S system.

Failure to comply can result in serious injury.| Separates individual parameter in series of parameters. equipment damage. Danger: indicates an imminently hazardous situation. Note: provides additional information about a certain topic. Caution: indicates a potentially hazardous situation. equipment damage. equipment damage. Warning: indicates a potentially hazardous situation. or interruption of minor services. II SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential . or site breakdown. or interruption of major services. Failure to comply can result in moderate injury. Failure to comply can result in death or serious injury.

..................... Multi-Protocol Label Switching (MPLS) technology comes into being.....................................0) ZTE Proprietary and Confidential ........ Therefore......... and people would establish a pure ATM network that people could reach through the core network.............................................Chapter 1 MPLS Configuration Table of Contents MPLS Overview .................. Therefore............. IP and ATM technologies meet difficulties in their own fields............ It integrates the advantages of switching technology in network core and IP routing technology in network edge.............. Among existing network technologies............................... As the Internet Protocol (IP) protocol is a connectionless protocol and there is no quality of service in the Internet...........................1 MPLS Overview MPLS Introduction With the rapid development of network scale of the Internet and user number....1-1 MPLS Term .. which leads to hard development of ATM now............... 1-1 SJ-20140731105308-012|2014-10-20 (R1.......................1-5 LSP Establishment ........ although ATM switches are widely used as backbone nodes in networks...... ATM was considered as a technology that could be used everywhere......................... practice proves that the thought is wrong..................... However....................... it is impossible to develop new services in large scale. in terms of Quality of Service (QoS)................... For IP protocol... Asynchronous Transfer Mode (ATM) has a lot of advantages......... so routers only need to judge the labels before they forward packets..............1-12 MPLS Configuration .............. MPLS protocol uses label switching...1-20 MPLS Configuration Instance .... and they need each other to have further development......................... The pure ATM network is too complicated and expensive for people to establish... MPLS supports any protocol at the network layer (such as IPv6.. it is difficult to provide enough throughputs and time delay that meet the requirements....................... it just uses best-effort mechanism to satisfy the users.....1-8 Label Distribution and Management ... services that take ATM cells to desktop develop very slowly...... Without other measures to improve the current network conditions.............. In addition................................................ people pay more and more attention to the problem that how to extend service further on the network and how to improve the quality of services..... as a rapid packet switching technology that is developed after IP............................1-30 1... Corresponding services do not catch the ATM network development.. There is inevitability to combine the two technologies..........

When a packet reaches a router. IP Forwarding Characteristic Routing devices collect network segment information in the network through different routing protocols to establish routing tables. The longest matching means to use the route with the longest subnet mask that matches the destination in the routing table. IP network is connectionless. as shown in Figure 1-2. When an ATM switch receives a message. so they cannot realize high speed forwarding.0) ZTE Proprietary and Confidential . 1-2 SJ-20140731105308-012|2014-10-20 (R1. Once the packet is forwarded.ZXR10 M6000-S Configuration Guide (MPLS) Internetwork Packet Exchange protocol (IPX). VPI/VCI is valid on local devices. Frame Relay (FR). Figure 1-1 IP Forwarding Traditional IP forwarding has the following characteristics: l l Routers search routing tables according to the longest matching principle. The procedure of traditional IP forwarding is shown in Figure 1-1. The switches do not judge routing information when forwarding ATM cells. ATM Forwarding Characteristic ATM switches forward data through Virtual Path Identifier (VPI)/Virtual Channel Identifier (VCI). Whether the packet can be forwarded to the destination correctly depends on whether there is correct routing information on all routers along the path. IP and so on) and data link layer (such as ATM. the router decides the interface to forward the packet and the next hop device according to the routing information in the routing table. it is not controlled by the router. Point to Point Protocol (PPP) and so on). so QoS cannot be ensured. it looks up VPI/VCI table and then forwards the message by switching.

IP communication distinguishes QoS data flow through quintuple groups (including source IP. Before forwarding the IP packet. an MPLS router reads the top label in the packet instead of the IP address in each IP packet. As the implementation of ATM is complicated and expensive and the development of services do not catch the step. It can implement QoS according to different VPIs/VCIs. Therefore. The label decides the transmission path and priority of the IP packet. source port number and destination port number). While IP communication need to comply with the longest matching principle. ATM is developed slowly. VPI/VCI is valid on local switch.5 protocol. destination IP. It is brought forward by the Internet Engineering Task Force (IETF). ATM forwarding has the following characteristics: l l l l ATM chooses the path on the base of data link layer. as shown in Figure 1-3. and MPLS is called a layer 2. 1-3 SJ-20140731105308-012|2014-10-20 (R1. the speed to forward packets is much faster. protocol number. ATM network is connection-oriented. It provides a label for each IP packet. ATM supports traffic control mechanism. It is a new switching standard of IP high-speed backbone network. MPLS Forwarding Characteristic MPLS belongs to the third generation of network architecture. ATM supports different kinds of services. so the fast looking-up can be implemented through hardware. and encapsulates the label together with the packet to form a new MPLS packet.0) ZTE Proprietary and Confidential .Chapter 1 MPLS Configuration Figure 1-2 ATM Forwarding The handling of messages on ATM switches is easier than that on routers. such as real-time service. MPLS uses simplified ATM switching technology to implement switching at Layer 2 and Layer 3.

MPLS task force has implemented standardization of identifiers used in FR. as shown in Figure 1-4. and provides Internet services of high quality. which provides high speed IP forwarding. An advantage to run MPLS in FR and ATM is that it carries free connectivity in IP network to these connection-orientated technologies. When providing IP services. traffic engineering can be implemented effectively.3 Local Area Networks (LANs). MPLS has the following characteristics: l l l l l l MPLS provides connection-orientated services for IP network. Figure 1-4 MPLS Working Principle 1-4 SJ-20140731105308-012|2014-10-20 (R1. ATM. MPLS uses accurate matching instead of the longest matching method to choose paths through the short and fixed labels. MPLS establishes Constraint-based Routing Label Switched Path (CR-LSP) through explicit routing function and signaling protocols with QoS parameters.ZXR10 M6000-S Configuration Guide (MPLS) Figure 1-3 Position of MPLS MPLS can use different Layer 2 protocols. Till now. MPLS Brief Principles MPLS uses a traditional IP forwarding mode outside the MPLS domain and uses label switching mode in the MPLS domain without looking up the IP information. By integrated technologies of data link layer (ATM and FR) and network layer. MPLS also provides high reliability and QoS assurance.0) ZTE Proprietary and Confidential . MPLS supports Virtual Private Network (VPN) through label nesting technology. Therefore. The working mechanism of MPLS network is that it implements routing through IP outside the MPLS network and implements Layer 2 switching through looking up labels within the MPLS network. MPLS solves the problems about Internet extension and QoS. PPP link and IEEE802.

3. containing the actual value of a label. 2. The ingress Label Edge Router (LER) receives the IP packet. A label maps to a Forwarding Equivalence Class (FEC) through binding. it searches its label forwarding table and replaces the label in the packet with an new outbound label. l S field 1-5 SJ-20140731105308-012|2014-10-20 (R1. 1. such as Label Distribution Protocol (LDP) and resource ReSerVation Protocol (RSVP). When the backbone Label Switched Router (LSR) receives the identified packet. It is a CoS. it removes the label and implements traditional IP forwarding on the third layer. devices in the MPLS domain will be distributed with corresponding labels. an MPLS label is a fixed-length integer. Figure 1-5 MPLS Label Structure The MPLS label is encapsulated after the data link layer header and before network layer header. used as MPLS QoS. l EXP field This field is 3-bit long. Through these protocol. The length is 32 bits. all routers run MPLS label distribution protocol. The label usually exists between the Layer 2 encapsulation header and Layer 3 packet. It contains the following fields: l Label field This field is 20-bit long. 1. When the egress LER receives the packet. it is mpls exp. The procedure of forwarding an IP packet in the MPLS domain is described below. As shown in Figure 1-5. A label is used to identify a specific FEC.0) ZTE Proprietary and Confidential .2 MPLS Term MPLS Label MPLS label is a fixed-length and locally valid identifier.Chapter 1 MPLS Configuration Within the MPLS domain. and distributes a label to this packet for identification. At present.

MPLS can be applied in different services. MPLSCP. different FECs correspond to different labels. l TTL Field This field is 8-bit long. LSRs just forward the message according to the top label rather than the inner labels. 1-6 SJ-20140731105308-012|2014-10-20 (R1. When the value of this field is 0. During the binding of LDP labels. MPLS is a classification forwarding technology.0) ZTE Proprietary and Confidential . is identified by value 0x8281. FEC FEC is a group of data performed by equivalence method during forwarding. As MPLS providing label nesting technology. In fact. The S field of a label is shown in Figure 1-6. MPLS supports different protocols at data link layer.ZXR10 M6000-S Configuration Guide (MPLS) When the value of this field is 1. MPLS label is encapsulated after data link layer information and before Layer 3 data. It classifies the packets with the same handling method (such as the same destination. In PPP. Figure 1-6 MPLS Label Stack When a message is encapsulated with multiple labels. MPLS packets are identified by value 0x8847 (for unicast) and value 0x8848 (for multicast). a message can be nested with multiple labels. the same service class and so on) into a class. used for coding time to live. The same labels are distributed to an FEC on a device. same forwarding path. It is created by address. that is. a new Network Control Protocol (NCP). In the MPLS network. that is. Different protocols define different protocol numbers for MPLS. the FEC. In Ethernet networks. it means that this label is not the stack bottom label. LSRs handle the message according to First In First Out principle. In an MPLS domain. it means that this label is stack bottom label. That is. tunnel or Class of Service (CoS). Two or more MPLS labels form a label stack. Packets belonging to the same FEC are handled completely the same in the MPLS network. MPLS VPN and traffic engineering are realized based on the nesting of multiple layer labels. the nodes identify the FEC to which the packets belong according to the labels.

It distributes corresponding labels for the traffic to MPLS domain. MPLS domain is the range in which nodes run MPLS. The path that data flow passes through is the LSP. and the path is established before data transmission. l Label Switched Router (LSR) LSR is the core router in MPLS network. packets are in the same FEC (such as Layer 3 searching) on each router. MPLS treats the groups in different ways (including paths resource reservations). l Label Switched Path (LSP) Data flow of an FEC traffic are distributed with different labels on different nodes. LSP is connection-oriented. the egress node pops out the labels. 1-7 SJ-20140731105308-012|2014-10-20 (R1. MPLS domain contains LSR and LER. Data forwarding is implemented according to these labels.0) ZTE Proprietary and Confidential .Chapter 1 MPLS Configuration When two groups of packets with the same source address but different destination addresses enter an MPLS domain. When the packets leave the MPLS domain. It provides the function of label switching and label distribution. label mapping and label removing. LSP and LDP Terms in MPLS network are described below. In MPLS. When finding that the packets belong to two FECs. MPLS judges the packets according to FEC. l Label Edge Router (LER) LER is the router at the MPLS edge. It provides functions of traffic classification. As shown in Figure 1-7. The nodes in the MPLS domain forward the packets according to labels. The two groups of packets will be forwarded according to the requirements of networks that they go to. LSR. The ingress node adds different labels for the two groups of packets and then transmit the packets to the MPLS domain. FEC is defined for packets at the ingress of the network. LER. l Label Distribution Protocol (LDP) Routers in MPLS domain run LDP to distribute labels for packets. In traditional routing forwarding.

ZXR10 M6000-S Configuration Guide (MPLS) Figure 1-7 MPLS Special Terms MPLS consists of LER and LSR. An LSP is similar with a virtual circuit of ATM. topology-driven and application-driven. As long as there is a route. 1-8 SJ-20140731105308-012|2014-10-20 (R1. meanwhile the LSR distributes labels for these entries. the cost for label distribution is in direct proportion to the traffic. 1. It is composed of LSRs and links between the source LSR and the destination LSR. flow-driven mode should be used. the LSR modifies the entries in label forwarding table. To distribute specific labels to specific network resources to support specific programs. l l LER is responsible for FEC classification. Therefore.3 LSP Establishment LSP Introduction Label Switched Path (LSP) is a forwarding path established according to MPLS. Diff-Serv and so on. In this mode. Time delay exists for label distribution. There are three drive modes to establish an LSP: flow-driven. label distribution is implemented according to normal routing protocols. label distribution is finished in advance.0) ZTE Proprietary and Confidential . LSR eis responsible for LSP establishment and label switching. When an LSR handles route update of Open Shortest Path First (OSPF) or Border Gateway Protocol (BGP). traffic engineering and LSP establishment initiation. l Topology-driven In this mode. IP packet forwarding. l Flow-driven Packet flow triggers the label distribution. there is no time delay when LSR forwards packets. The establishment of LSP is also the process of label distribution to each node along the path.

1.Chapter 1 MPLS Configuration l Application-driven In this mode. LSR distributes labels on the base of normally requested control service traffic. This mode requires application programs to bring forward label requests and flow rules in advance to obtain labels. meanwhile the LSR distributes labels for these entries.0. topology-driven has the following advantages: l l Label value assignment and distribution correspond to control message.0/16 to the network edge. l l l l Label Distribution Protocol (LDP) (the most common signaling protocol) Constraint based Routing Label Distribution Protocol (CR-LDP) RSVP with Traffic Engineering extensions (RSVP-TE) (usually used in traffic engineering) Multiprotocol BGP (MP-BGP) (usually used in BGP/MPLS VPN to distribute inner layer labels) LSP Establishment The establishment of an LSP in MPLS network contains three steps: 1. 1-9 SJ-20140731105308-012|2014-10-20 (R1. Compared with flow-driven. each node establishes a Label Information Base (LIB) under the control of LDP. The corresponding protocol is RSVP. An LSP is established through the interactions of signaling protocol. The detailed procedure is described below. OSPF or Intermediate System-to-Intermediate System (IS-IS) to generate a routing table. the LSR modifies the entries in the label forwarding table. It also distributes labels for existed routes. However. so this mode is seldom used. intermediate LSRs and egress LSR are mapped to each other. According to the routing table. 3. so there is no time delay. The protocol used between LSRs to distribute labels is the signaling protocol. RB and RC learn the route 47. An LSP is established after "out" labels and "in" labels on ingress LSR. it is difficult to implement RSVP in the whole network. Each node runs a dynamic routing protocol such as BGP. topology-driven is usually used in networks to distribute labels. When an LSR handles RSVP. each router runs a dynamic routing protocol such as OSPF to generate a routing table.0) ZTE Proprietary and Confidential . so there is no time delay. RA. Common signaling protocols are described below. 2. Label is assigned and distributed before traffic arrives.1. Therefore. so network cost is little. Routing table generation As shown in Figure 1-8.

0.1. it knows that this message is to 47.0. When RB receives the binding information of 47. Therefore.1.0.0/16 and sends this information to neighbors except the neighbor connecting to the receiving interface. RA acts in the same way as RB does. IntfIn 1 LabelIn 50 Dest 47. Figure 1-9 LIB Generation As an egress LSR to 47.0. there is such a piece of information in LIB of RB. 1-10 SJ-20140731105308-012|2014-10-20 (R1.1. RB distributes a label for 47.0/16.0. Suppose that RB sends a label "50" to RA.0 IntfOut 2 LabelOut 40 This information means when RB receives a message with label "50" from interface 1. as shown below.1. RB does not look up routing information in its routing table. the routers run LDP to distribute labels.ZXR10 M6000-S Configuration Guide (MPLS) Figure 1-8 Routing Table Generation 2.0) ZTE Proprietary and Confidential . When RA receives binding information. Meanwhile.1. This information is recorded in LIB. it changes the label to "40" and sends the message from interface 2. LIB generation As shown in Figure 1-9. RC distributes a label "40" and sends it to upstream neighbor RB. When RC receives a message with label "40". it keeps the label information and the receiving interface in LIB.0/16.0/16 and label "40" from RC.

1-11 SJ-20140731105308-012|2014-10-20 (R1. then it looks up routing table and forwards the IP message.1. This decreases the performance of the LER and increases forwarding complexity. LSR does not distribute labels for BGP routes by default. RC pops out the label and sends the IP message. The egress LER looks up label forwarding table first and removes the label. RC finds that the destination of the message is a network segment connecting to itself directly. and then it looks up label forwarding table.1. it looks up its routing table first. Penultimate hop popping mechanism solves this problem.0) ZTE Proprietary and Confidential . LER has to look up routing table to get next hop information before it forwards messages to destinations connecting to it directly. LSP generation After the interaction of labels finishes. as shown in Figure 1-10. When RC receives the message with label "40" from interface 1.0. When RB receives the message with label "50" from interface 1. Once a new non-BGP route is generated in the routing table. it looks up the label forwarding table. and then RB changes the label to "40" and sends the message from interface 2. For direct routes. a LSP is established.0/16 corresponds to the label "50". it looks up the label forwarding table. RA adds the label to the header of the message and sends it from interface 2. When LSRs forward messages.Chapter 1 MPLS Configuration LIB is always synchronous with IP routing tables. Therefore. 3.1. Figure 1-10 LSP Generation When RA receives a message with destination address 47. when the egress LER receives packets from its neighbor.1. Penultimate Hop Popping In an MPLS domain. LSR distributes a label for this route. they forward them according to labels instead of looking up routing tables. When it finds that the FEC 47. It is only necessary to use penultimate hop popping mechanism for direct routes and aggregated routes. it implements searching twice.

Figure 1-11 Penultimate Hop Popping During forwarding procedure.0. it looks up routing table directly and forwards the message. so there is no need to look up routing table. when RB receives a message with a label "50" from RA. l l Liberal mode Conservative mode By default.0/16. RB finds that the "out" label is "3". so it pops out the label in the message and sends the message to RC. Layer 2 information of messages has been recorded in LFIB. Label distribution modes are as follows: l l DoD DU There are two label control modes. independent label control mode and liberal label retention mode. RB knows that it is the penultimate hop popping LSR. 1. 1-12 SJ-20140731105308-012|2014-10-20 (R1. ZXR10 M6000-S use DU label distribution mode.0/16. LER has to look up routing table for accurate routes.0. When RC receives the message without a label.1. it looks up the label forwarding table. The messages are switched directly.4 Label Distribution and Management MPLS has different modes of label distribution and management. In other situations. When RB receives the label "3" distributed by RC. RC is an egress LER to 47. so RC distributes a particular label "3" (means implicit-null) for messages to 47.ZXR10 M6000-S Configuration Guide (MPLS) For aggregated routes. As shown in Figure 1-11.1. l l Ordered label control mode Independent label control mode There are two label retention modes.0) ZTE Proprietary and Confidential .

RC has to wait for the request messages from the upstream. For a specific FEC. This is the DoD label distribution. Figure 1-12 shows that RC is the egress LER to 171. RB does not need to wait for label request message from RA before sending binding information of the FEC and label to RC. l the ordered mode and Ordered mode 1-13 SJ-20140731105308-012|2014-10-20 (R1. Figure 1-12 Downstream on Demand (DoD) For a specific FEC. This is the DU label distribution.Chapter 1 MPLS Configuration Label Distribution Mode There are two label distribution modes: DoD and DU. an LSR does not need to get request messages for labels from upstream neighbors before distributing labels. RC cannot send label binding information to upstream neighbor RB forwardly.68. Figure 1-13 illustrates that RC does not need to wait for label request message from upstream before sending binding information of the FEC and label to the downstream LSR. Figure 1-13 Downstream Unsolicited Label Control Mode There are two label control modes in an MPLS network: independent mode.0/24.10. an LSR distributes labels after receiving label requests.0) ZTE Proprietary and Confidential . The upstream LSR and downstream LSR having neighbor relationship should agree on the label distribution mode in order to distribute the labels. In the same way.

ZXR10 M6000-S Configuration Guide (MPLS) Only when an LSR receives specific label mapping messages of a particular FEC. In liberal label retention mode. labels are distributed to the LSR and then the LSR sends label mapping messages to upstream LSR. but it has weak ability to adapt itself to route changes. but this takes up more memory. For a specific FEC. Therefore. The packets are transmitted correctly through routing protocol. distributed by downstream LSR for local router Dest: destination network segment or host Pfxlen: prefix length Interface: egress interface NextHop: next hop When an LSR receives a message. when an LSR is required to adapt itself to route changes quickly. an LSR can reduce the memory. it looks up the label forwarding table. l Independent mode Each LSR can bind labels to messages independently and send label mapping messages to the upstream neighbor when the LSR receives an FEC. an LSR can adapt itself to route changes quickly. A LSR maintains the label forwarding table through label distribution protocol dynamically.0) ZTE Proprietary and Confidential . use liberal label retention mode. or when the LSR is the egress of the FEC. Each router forwards packets independently based on its routing table. If LSR1 discards these binding messages. Label Forwarding Table A label forwarding table (that is. A label forwarding table contains the following items: l l l l l l InLabel: in label. Ordered mode is a strict mode which can be used in explicit route and multicast. the label forwarding information base) is a database where binding information of FECs and labels is stored. When LSR2 and LSR3 are not the next hop LSR1. and then the LSR replaces the old label with the Outlabel and sends the message from the exiting interface. distributed by local router for upstream LSR OutLabel: out label. In conservative label retention mode. LSR1 receives label binding messages from LSR2. if LSR1 saves these binding messages. 1-14 SJ-20140731105308-012|2014-10-20 (R1. LSR1 uses conservative label retention mode. When an LSR is required to save few labels. use conservative label retention mode. no matter whether the LSR receives label mapping messages from the downstream neighbor. It searches for the OutLabel based on the InLabel of the message. LSR1 uses liberal label retention mode. LSR3 and LSR4. This process is similar to the route packet forwarding of traditional routers. Label Retention Mode There are two label retention modes: liberal and conservative.

label withdraw. Session withdraw: When session hold-time expires. LSP establishment and maintenance: LSRs distribute labels for FECs and establish LSPs. Session establishment and maintenance: LSRs establish TCP connections and finish session initialization (negotiation of different parameters).Chapter 1 MPLS Configuration Label Distribution Protocol There are the following types of protocols that can implement label distribution function. 1-15 SJ-20140731105308-012|2014-10-20 (R1. usually used in traffic engineering MP-BGP. generates LSP at last. the LSRs can agree on the label bindings. the session is interrupted.0) ZTE Proprietary and Confidential . including neighbor discovery. label mapping. l l l l LDP. LDP peers need to establish an LDP session. label request. Therefore. The ZXR10 M6000-S supports LDP regulations defined in RFC. Before switching labels. The main function of LDP is to make LSR implement binding of FEC and labels and advertise the binding to LSR neighbor. Figure 1-14 shows the LDP session establishment procedure. LDP Session Establishment and Maintenance LSR establishes and maintains an LIB based on label and binding information between FECs. usually used in BGP/MPLS VPN for inner layer label distribution LDP is a protocol that generates labels dynamically. The protocol messages are routed hop by hop based on routing tables. Two LSRs that use LDP to switch FEC/label binding information are called LDP Peers. It is based on UDP and TCP. LDP advertises FEC (network prefix) and marks mapping relationship between LSRs. most widely used label distribution protocol CR-LDP RSVP-TE. label release and error management. l l l l Neighbor discovery: LSR sends Hello messages to neighbors periodically to discover LDP peers automatically.

3. 6.0) ZTE Proprietary and Confidential . The messages are encapsulated by UDP and port number is 646. R2 checks the message from R1. R2 sends an initialization message to establish the session. they prepare to establish a session. the session will be closed and the TCP connection is disconnected. Parameters to be negotiated are included in the initialization message. The message contains parameters to be negotiated. During the procedure. R1 will send an initialization message and a keepalive message to R2. Meanwhile. R2 sends TCP connection request. The master initiates the TCP connection. After R1 and R2 receive Hello messages. Before establishing the TCP connection. If parameters pass the check. The establishment procedure of a session is to establish a TCP connection through port number 646. they judge whether a session has been established with the peer. Here suppose that transmission address of R2 is larger. if any error messages are received. When R1 receives the message from R2. Therefore. The router with bigger IP address will acts as the master. 5. 2. LDP Multi-Instance Market competition arouses the appearance of Level 2 carriers. 4. it checks the parameters. If parameters pass the check. protocol interfaces on R1 and R2 detect Hello messages in real time to discover neighbors. R1 and R2 send multicast Hello messages to protocol interfaces before establishing the session.ZXR10 M6000-S Configuration Guide (MPLS) Figure 1-14 LDP Session Establishment 1. R2 will send a keepalive message to R1. R1 and R2 elect a master based on transmission addresses. and then they provide the services to users. To 1-16 SJ-20140731105308-012|2014-10-20 (R1. Level 2 carriers rely on the services provided by Level 1 carriers. If a session has not been established. The session is established after R1 and R2 receive keepalive messages.

Level 1 carriers need to differentiate the paths that are provided for a specific Level 2 carrier. VPN traffic is switched over from the active LSP to the standby LSP. This is the application of Carrier Of Carrier (COC). For example. If the P3→PE2 link comes up again. The instances are independent of each other. all of the links that the shortest IP path passes through should have operational LDP sessions. a black hole is generated.Chapter 1 MPLS Configuration manage and control the service. standby LSP: PE1→P1→P2→PE2).0) ZTE Proprietary and Confidential . LDP IGP Synchronization Some services may be deployed to pass the LDP-enabled network. It provides the following functions: l l l All devices and links on the backbone network have the LDP function enabled. Figure 1-15 shows the network topology for LDP IGP synchronization. and the VPN traffic is immediately switched back to the active LSP. If the P3→PE2 link is broken. the route is soon converged to the active path (PE1→P3→PE2). several LDP instances can be configured on an LSR. It may take a long time to establish LDP sessions and distribute label binding information between P3 and PE2. the resources used by all the instances should not be beyond the resources provided by LDP performance parameters. If one of these links is not covered by LDP sessions. The resources used by all the instances are limited by LDP performance parameters. that is. Each instance belongs to a VPN domain and it is bound to VRF. Figure 1-15 Network Topology for IGP Synchronization 1-17 SJ-20140731105308-012|2014-10-20 (R1. Each instance creates FECs for the addresses and routes in the VPN domain on its own. between PE routers. There are two LDP LSPs from PE1 to PE2 (active LSP: PE1→P3→PE2. and it binds and distributes labels for the FECs. and each link has the same cost. This means that. and these services rely on end-to-end LSPs. In LDP multi-instance. and the label binding information of these sessions have been exchanged between PE routers. ZXR10 M6000-S provides LDP multi-instance function to support the applications of COC. which causes VPN traffic to be interrupted for a long time. and services related to MPLS forwarding are interrupted. an MPLS path is required between PE routers to carry VPN traffic. in the L2VPN or L3VPN service scenario.

if the associated LDP sessions are not fully operational. The LDP sessions associated with the link have been established. The OSPF-advertised cost is 0xFFFF. the device then determines whether the TTL of the received packets is within the permitted range. and the AN is directly connected to the subscriber side. If not. If a match is not found. The GTSM mechanism prevents attacks by detecting the TTL field in IP packets. à If the device has the GTSM function disabled. This results in a great amount of AN nodes on a network. When a link that has LDP enabled comes up. MPLS applications are required to be extended from the carrier's core backbone network to the subscriber side. ensure that the following requirements are met: l l l LDP hello neighbors have been established. If the IGP operates across areas. the aggregated route mode should be used to advertise routes to reduce the loads caused by running the IGP on the core-domain or other access devices. the forwarding plane of the device detects whether the received packets are LDP packets. and the device takes one of the following actions based on the detection result: l l For non-LDP packets. the GTSM policy-based matching is performed first. After attackers keeps on sending packets to a network device by simulating actual LDP packets. and the IS-IS-advertised cost is 0xFFFFFE. the link cost advertised by IGP has the highest value. and the longest matching rule rather than the traditional exact matching rule is used to match routes. When a GR occurs.ZXR10 M6000-S Configuration Guide (MPLS) The ZXR10 M6000-S provides LDP IGP synchronization to achieve synchronization convergence between LDP LSPs and IGP routes. the device forwards or discards them based on the default processing policy. which prevents routes converging to the link. If a match is found.0) ZTE Proprietary and Confidential . This requires that the LDP can learn labels. the packets are discarded or forwarded based on the default policy. 1-18 SJ-20140731105308-012|2014-10-20 (R1. Supported IGP protocols include OSPF and IS-IS. Implementation of Longest Matching Routes in LSP In an MPLS Seamless network. To make LDP sessions fully operational. The LDP label binding information has been exchanged between LDP neighbors. GTSM The GTSM-based TTL hack can effectively reduce the loss caused by attacks (such as the DoS attack). the packets are considered to be attack packets and are discarded. The following illustrate the working principles of GTSM. and the advertisement of loopback addresses of AN nodes within their associated IGP-running areas only. the packets are directly sent to the control plane. For LDP packets: à If the device has the GTSM function enabled. sessions are kept in the statuses before the GR occurs until the GR timeout is reached.

both ABR1 and PE1 learn the aggregated route (10. The broken line refers to the route advertisement flow. 3.1.1. All the nodes that the LSP passes through advertise the label mapping information of the 10.1. and advertise the label mapping information.1.1.1/32). assign a label to the FEC.Chapter 1 MPLS Configuration Figure 1-16 shows that PE2 and PE3 (edge routers) advertise their loopback addresses (10.1. ABR1 is then used to forward the FEC (10. Figure 1-16 Implementation of Longest Matching Routes in LSP This problem can be resolved by using the longest matching mode to establish LSPs. Upon receipt of the label mapping information. Upon receipt of the label mapping information. PE2 assigns a label (3) to an FEC (10.1.1.1/32 and 10. and advertises the label mapping information to the upstream.1/32 FEC to the upstream and the corresponding forwarding entries are generated. This results in that PE1 cannot obtain the exact routing information of PE2 and PE3.1.1.0/24) to another domain.0/24 route. and cross-domain LSPs (from PE1 to PE2 or PE3 in the remote domain) cannot be established. 4.1. and advertises the label mapping information to ABR2.1/32). ABR1 searches for the longest match (10. assign a label (17) to an FEC (10.1.1/32) to the upstream.1.1. A cross-domain LSP (PE1→ABR1→ABR2→PE2) is established.2/32) to ABR2 (border router).1. The flow is as follows: When an LSR receives the label mapping information of an FEC from a downstream LSR.1. and finds that ABR2 is the next-hop of the 10. 1-19 SJ-20140731105308-012|2014-10-20 (R1.0/24) only. ABR2 assigns a label (16) to the FEC (10.1. 2.0) ZTE Proprietary and Confidential .1. The solid lines in Figure 1-16 illustrate the label distribution procedure.1.1. Figure 1-16 shows the flow of matching a route and establishing an LSP: 1. and ABR2 only advertises the aggregated route (10.0/24) in its local routing module.1/32).1.1. and advertises the label mapping information related to the FEC (10.0/24).1. In this scenario. if the longest match corresponding to the FEC is found from local routes and the next-hop of the route is the LSR that sends the label mapping information.1. the upstream LSR is then used to forward the FEC.

255. after this command is executed. Then the LDP sends Hello messages on the interfaces periodically.255.190. The <vrf-name>] instance-id parameter is in a range of 1 to 65535.1 255.5 MPLS Configuration This procedure describes how to enable MPLS to distribute labels between network nodes and then establish an LSP.0 1-20 SJ-20140731105308-012|2014-10-20 (R1. Enable MPLS LDP. Add interfaces in LDP configuration mode.255. Step Command Function 1 ZXR10(config)#mpls ldp instance <instance-id>[vrf Enables MPLS LDP. A configuration example is shown below: ZXR10(config)#interface loopback1 ZXR10(config-if-loopback1)#ip address 210. When the device obtains the "out" label for the specific destination network segment on an interface. 2 ZXR10(config-ldp-instance-id)#interface Adds interfaces in LDP <interface-name> configuration mode. Packet Filtration The ZXR10 M6000-S supports the filtration of LDP UDP/TCP packets that do not meet the ACL policy requirements for security concerns.255 ZXR10(config-if-loopback1)#exit ZXR10(config)#interface gei-0/1/0/1 ZXR10(config-if-gei-0/1/0/1)#no shutdown ZXR10(config-if-gei-0/1/0/1)#ip address 190.255.190.210. This means that label switching should be implemented on these interfaces.210. 1.255. Execute the mpls ldp instance command to enable the LDP function and enter the LDP configuration mode.ZXR10 M6000-S Configuration Guide (MPLS) The above flow is also applicable to the establishment of another cross-domain LSP (PE1→ABR1→ABR2→PE3).2 255.191. label switching is implemented on the specified interface.2 255.0) ZTE Proprietary and Confidential . the device adds the label to the packets to the destination and forwards the packets on this interface. Note that.0 ZXR10(config-if-gei-0/1/0/1)#exit ZXR10(config)#interface gei-0/1/0/2 ZXR10(config-if-gei-0/1/0/2)#no shutdown ZXR10(config-if-gei-0/1/0/2)#ip address 190.255. Steps 1.190.

1-21 SJ-20140731105308-012|2014-10-20 (R1. users can control label generation. Configure label generation and distribution. 2 ZXR10(config-ldp-instance-id)#access-fec { Controls generation of labels ip-prefix { for < prefix-access-list>| host-route-only}| bgp} for the specified network segment and creates an FEC. label range and label distribution. This router-id <interface-name> command can be used to configure the address on a specific interface as the LDP router-ID in the VPN domain. all labels are distributed to all neighbors.0) ZTE Proprietary and Confidential . Command Function ZXR10(config-ldp-instance-id)#mpls ldp Configures the LDP router-ID. it is recommended to use the loopback interface address as the router-ID of an LDP instance.Chapter 1 MPLS Configuration ZXR10(config-if-gei-0/1/0/2)#exit ZXR10(config)#mpls ldp instance 1 ZXR10(config-ldp-1)#router-id loopback1 ZXR10(config-ldp-1)#interface gei-0/1/0/2 ZXR10(config-ldp-1-if-gei-0/1/0/2)#discovery transport-address interface ZXR10(config-ldp-1-if-gei-0/1/0/2)#exit ZXR10(config-ldp-1)#interface gei-0/1/0/1 ZXR10(config-ldp-1-if-gei-0/1/0/1)#discovery transport-address interface ZXR10(config-ldp-1-if-gei-0/1/0/1)#exit 2. 3 ZXR10(config-ldp-instance-id)#label-advertise Controls the labels generated {disable | old-style | for < prefix-access-list>[to < locally ("in" labels) to be prefix-access-list>]} distributed through LDP. Configure the LDP router-ID. By default. 3. Considering the stability of an LDP connection. Through the configuration. This command can control the labels for the specified destination network segments to be advertised to the specified neighbors. Step Command Function 1 ZXR10(config)#mpls ldp instance <instance-id>[vrf Enables LDP to establish <vrf-name>] an LSP along common hop-by-hop routes and enters LDP configuration mode.

default: 1.201.200. holdtime <holdtime>: This is the hold-time (in seconds) when an LDP instance finds that a neighbor cannot receive following Hello messages. The interval range is 1–65535 and the unit is second. the default is 45. 3 ZXR10(config-ldp-instance-id)#discovery hello { Configures the interval for holdtime <holdtime>| interval <interval>} sending Hello messages and the holdtime of an LDP neighbor. 4. 2 ZXR10(config-ldp-instance-id)#target-session Configures the session {<ip-address>| ipv6 < X:X::X:X >}[dod] address of non-directly connected remote target to establish a session.0) ZTE Proprietary and Confidential . Configure an LDP neighbor. The default value of targeted-hello is 15 seconds.255 ZXR10(config-ipv4-acl)#rule 20 permit any ZXR10(config-ipv4-acl)#exit ZXR10(config)#mpls ldp instance 1 ZXR10(config-ldp-1)#access-fec for 2 ZXR10(config-ldp-1)#exit Based on the configuration in the example.0.201. A configuration example is shown below. ZXR10(config)#ipv4-access-list 2 ZXR10(config-ipv4-acl)#rule 10 deny 200.0. bgp means to create FECs for route network segments obtained through BGP.0 0. A configuration example is shown below. For targeted-hello packets. 4 ZXR10(config-ldp-instance-id)#discovery Configures the interval for targeted-hello {holdtime <holdtime>| interval <interval>} sending Hello messages and the time-out of LDP neighbor discovery between non-directly connected LSRs in an LDP instance.ZXR10 M6000-S Configuration Guide (MPLS) host-route-only means to create FECs for host addresses only.200.0/24 network segment. Step Command Function 1 ZXR10(config)#mpls ldp instance <instance-id>[vrf Enables an LDP instance <vrf-name>] to establish an LSP along common hop-by-hop routes and enters LDP configuration mode. range: 1–65535. 1-22 SJ-20140731105308-012|2014-10-20 (R1. interval <interval>: This configures an LDP instance to send Hello messages periodically. LDP does not distribute labels for routes on the 200. The default value is 5 seconds.

in unit of second. Step Command Function 1 ZXR10(config)#mpls ldp instance <instance-id>[vrf Enables LDP to establish <vrf-name>] an LSP along common hop-by-hop routes and enters LDP configuration mode.Chapter 1 MPLS Configuration ZXR10(config)#mpls ldp instance 1 ZXR10(config-ldp-1)#discovery hello holdtime 20 ZXR10(config-ldp-1)#show mpls ldp parameters instance 1 Protocol version: 1 Session holdtime: 180 sec. interval: 15 sec LDP for targeted sessions Downstream on Demand max hop count: 255 LDP used lsp control mode: Independent LDP configred lsp control mode: Independent LDP used label retention mode: Liberal LDP configred label retention mode: Liberal LDP loop detection: off LDP IGP sync delay: 5 sec 5. 5 ZXR10(config-ldp-instance-id)#neighbor <ip-address Configures the MD5 password > password {sealed <sealed-password>|<password>} for TCP establishment between LDP peers. 4 ZXR10(config-ldp-instance-id)#holdtime <seconds> Configures the hold-time when LDP session cannot receive following LDP messages.0) ZTE Proprietary and Confidential . 1-23 SJ-20140731105308-012|2014-10-20 (R1. By default. The default value is 180 seconds. implicit-null label is used. interval: 5 sec Discovery targeted hello: holdtime: 45 sec. 3 ZXR10(config-ldp-instance-id)#explicit-null [for Makes the LDP instance <prefix-acl>][to <peer-acl>] advertise explicit-null label when it should advertise implicit-null label. Configure other LDP functions. 2 ZXR10(config-ldp-instance-id)#egress { for Controls LDP to distribute <prefix-access-list>| nexthop <nexthop-access-list>} popping labels for the specified non-directly connected destination network segment. keep alive interval: 60 sec Discovery hello: holdtime: 20 sec. that is. the egress control policy. It is in a range of 15 to 65535.

ZXR10(config-ldp-instance-id)#igp sync delay Configures a delay time <para> for MPLS LDP and IGP synchronization.0) ZTE Proprietary and Confidential . <para>: delay time. 6. range: 1–254. 10 ZXR10(config-ldp-instance-id)#label-retention Sets the retention mode of conservative all LDP labels associated with the LDP instance to conservative. It is optional. 12 ZXR10(config-ldp-instance-id)#lsp-control ordered Sets the control mode of all LSPs associated with the LDP instance to ordered. <prefix-acl>: It is to use explicit-null label to advertise the prefix that is advertised by implicit-null label. <hop-num>: TTL value. Configure LDP BFD.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 6 ZXR10(config-ldp-instance-id)#label-request for Configures the prefix and <prefix-access-list> downstream neighbor for request messages sent by LDP. It is optional. range: 1–31 characters. range: 1–31 characters. 11 ZXR10(config-ldp-instance-id)#longest-match {ipv4 Enables the use of the longest for <acl-name>|ipv6 for <acl-name>} matching rule to establish and remove LSPs. range: 1–65535. <acl-name>: ACL name. <ip-address>: address of the peer LSR. <acl-name>: ACL name. 7 ZXR10(config-ldp-instance-id)#gtsm Enables the checking of target-neighbor < ip-address > hop-count <hop-num> the TTL value of LDP ZXR10(config-ldp-instance-id-if-ifname)#gtsm packets from the peer end (for directly-connected or non-directly-connected sessions) 8 9 ZXR10(config-ldp-instance-id)#filter packet for Configures a packet filtration <word> policy. 13 ZXR10(config-ldp-instance-id-if-ifname)#label- Enables the DoD mode on the distribution dod LDP interface. <peer-acl>: It is to designate the neighbors to which explicit-null label is advertised. 1-24 SJ-20140731105308-012|2014-10-20 (R1.

1-25 SJ-20140731105308-012|2014-10-20 (R1. range: 10–990. range: 3–50. Step Command Function 1 ZXR10(config)#mpls ldp instance <1-65535>[vrf Creates an LDP instance <vrf-name>] and enters LDP configuration mode. a BFD session establishment is delayed 60 seconds after a LDP session is up.0) ZTE Proprietary and Confidential . establishment of a PeerBFD session with a specified neighbor is immediately triggered. 2 ZXR10(config-ldp-instance-id)#bfd <FEC-addres Configures parameters of s><mask-length> interval <interval> min_rx <min_rx> LDP LSP BFD and triggers multiplier <multiplier> the establishment of LSP BFD session. If a specific duration is set to the delay field. <ip-address>: router-id of the LDP neighbor. <time>: delay duration after an LDP session gets up. After an LDP session is up. 4 ZXR10(config-ldp-instance-id)#peer bfd If only the delay field is remote-routerid <ip-address>[delay [<time>]] configured. Configure LDP GR. <multiplier>: multiple of detection time-out. <interval>: minimum interval (in milliseconds) for sending messages. <min_rx>: minimum interval (in milliseconds) for receiving messages. 3 ZXR10(config-ldp-instance-id)#peer bfd Configures parameters remote-routerid < ip-address > related to LDPPeerBFD. the BFD session establishment is delayed for the configured duration after the LDP session is up. delay: Delay duration after an LDP session is up.Chapter 1 MPLS Configuration Step Command Function 1 ZXR10(config)#mpls ldp instance <instance-id>[vrf Enables LDP to establish <vrf-name>] an LSP along common hop-by-hop routes and enters LDP configuration mode. range: 10–990. range: 0-720. unit: seconds. 7.

2 Configures LDP IGP ZXR10(config-ospf-instance-id)#mpls ldp sync synchronization. 10. LSP Ping/LSP Trace is a simple and efficient method used to detect the fault of the MPLS LSP data plane. refer to the Network Layer Detection section in ZXR10 M6000-S Configuration Guide (System Management). and enters the IS-IS configuration mode. 9. which needs to be negotiated. Enable LDP IGP synchronization (IS-IS-based): Step Command Function 1 ZXR10(config)#router isis <1-65535>[vrf <vrf-name>] Creates an IS-IS instance. that are not found by some control planes in a short time. default: 120 8. default: 120 neighbor-liveness <interval>: maximum time (in seconds) that the LSR waits for LDP session recovery.0) ZTE Proprietary and Confidential . Different ZXR10(config-ospf-instance-id)#area configuration commands <0-4294967295> mpls ldp sync determine whether IGP ZXR10(config-ospf-instance-id-if-interfacename)#mpls ldp sync synchronization is valid for an entire OSPF instance.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 2 ZXR10(config-ldp-instance-id)#graceful-restart Configures LDP GR. and enters the OSPF configuration mode. Configure LSP Ping/LSP trace detection. range: 5–300. It can detect and isolate some faults. area<0–4294967295>: OSPF area ID. which needs to be negotiated. 1-26 SJ-20140731105308-012|2014-10-20 (R1. an area of the OSFP instance. Enable LDP IGP synchronization (OSPF-based): Step Command Function 1 ZXR10(config)#router ospf <1-65535>[vrf <vrf-name>] Creates an OSPF instance. such as route black-hole and route loss. or an OSPF interface. the LSP Ping/LSP Trace function is put forwarded. To ensure that the routers in the network can report the errors related to the MPLS LSP data plane or provide some exceptional information. range: 15–600. [timer {max-recovery <interval>| neighbor-liveness <interval>}] max-recovery <interval>: maximum time (in seconds) that the LSR waits for label recovery at the peer end. For the details about LSP Ping/LSP Trace.

12. Configure a delay timer for LDP IGP synchronization. default: 5. Different configuration commands name)#mpls ldp sync determine whether IGP synchronization is valid for an entire ISIS instance or an ISIS interface. 11. After disabling the automatic configuration function of the LDP interfaces. This is a global configuration command. igp sync delay <1–65535>: delay time (in seconds) for LDP IGP synchronization. 2 ZXR10(config-ldp-instance-id)#igp sync delay Configure a delay timer for <1-65535> LDP IGP synchronization. Step Command Function 1 ZXR10(config)#mpls ldp instance <1-65535>[vrf Creates an LDP instance and <vrf-name>] enters the LDP configuration mode.Chapter 1 MPLS Configuration Step Command Function 2 ZXR10(config-isis-instance-id)#mpls ldp sync Configures LDP IGP ZXR10(config-isis-instance-id-if-interface- synchronization. 2 ZXR10(config-ldp-instance-id)#auto-config interface Enables or disables the global { enable | disable } automatic configuration function on all LDP IPv4 interfaces of an LDP instance. Configure the automatic configuration function of the LDP interface.0) ZTE Proprietary and Confidential . no LDP interface can be automatically created. 1-27 SJ-20140731105308-012|2014-10-20 (R1. Step Command Function 1 ZXR10(config)#mpls ldp instance <1-65535>[vrf Creates an LDP instance and <vrf-name>] enters the LDP configuration mode. and the LDP Hello messages can be received and sent and LDP sessions can be created on all interfaces are determined by the LDP interface configuration.

that is. is enabled on an LDP instance. this interface cannot be automatically created. 3 ZXR10(config-ldp-instance-id)#auto-config interface Enables or disables the <interface-name>{enable | disable} automatic configuration function on specific LDP IPv4 interfaces of an LDP instance. check whether the automatic configuration function is disabled on singe interface.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function without being affected by the IGP status of the interfaces. <interface-name>: interface name 13. 1-28 SJ-20140731105308-012|2014-10-20 (R1. If the function is disabled on any single interface.0) ZTE Proprietary and Confidential . enable: Enables the global automatic IPv4 configuration function or the automatic configuration function on a specific LDP IPv4 interface of an LDP instance. Verify that the configurations are correct. this configuration has the highest priority no matter whether the automatic configuration function is enabled or disabled on the interface. If the automatic configuration function is not globally disabled. If the automatic configuration function is globally disabled on an LDP instance. disable: disables the global automatic IPv4 configuration function or the automatic configuration function on a specific LDP IPv4 interface of an LDP instance. Command Function ZXR10#show mpls ldp interface [<interface-name>] instance Displays the information about <instance id> the interfaces on which LDP is enabled in the VPN domain of an LDP instance.

0) ZTE Proprietary and Confidential . ZXR10#show mpls ldp neighbor [<neighbor>|<interface-name Displays the session information >][detail] instance <instance-id> of an LDP instance.Chapter 1 MPLS Configuration Command Function ZXR10#show mpls ldp backoff instance <instance-id> Displays the configuration of session backoff parameters and the sessions in backoff state in an LDP instance. ZXR10#debug ldp bindings instance <instanc-id> Monitors the addresses and labels advertised by LDP neighbors. ZXR10#show mpls ldp graceful-restart instance <1-65535> Displays the current LDP GR configuration of the router. <label>[<label>]][remote-label <label>[<label>]][neighbor <ip-address>][detail] instance <instance-id> ZXR10#show mpls ldp bindings summary instance <instance-id> Displays the brief label binding information of an LDP instance. ZXR10#show mpls ldp discovery [ detail ] instance Displays the discovery <instance-id> information of an LDP instance. 1-29 SJ-20140731105308-012|2014-10-20 (R1. 14. ZXR10#show debug ldp instance <instance-id> Displays the debugging information of an LDP instance. ZXR10#show mpls ldp igp sync [interface <interface-name>] Displays the status of LDP IGP instance <instance-id> synchronization. ZXR10#debug ldp all [instance < instance-id>] Enables all debugging functions related to LDP. Command Function ZXR10#debug ldp advertisements instance <instance-id> Monitors the addresses and labels advertised to LDP neighbors. Maintain MPLS. ZXR10#show mpls ldp bindings [{( X:X::X:X <0-128> ) | (<ip- Displays label binding address>{<net-mask>|<length>}[longer-prefixes])}][local-label information of an LDP instance. ZXR10#show mpls ldp parameters instance <instance-id> Displays the current parameter information of an LDP instance. ZXR10#show mpls ldp neighbor [[<neighbor-ipaddress>][detai Displays GR neighbor l]|[graceful-restart]] instance <instance-id> information. Run the no command to cancel the monitoring.

an LDP neighbor is established between the R1 router and the R2 router to forward the MPLS label.ZXR10 M6000-S Configuration Guide (MPLS) Command Function ZXR10#debug ldp messages {received | sent} instance Monitors the messages sending <instance-id> to LDP neighbors or received from LDP neighbors. Figure 1-17 Establishing a Basic LDP Neighbour Session Configuration Flow The thought to establish a basic LDP neighbor session between the R1 router and the R2 router is described below: 1.1.255.255 1-30 SJ-20140731105308-012|2014-10-20 (R1.6 MPLS Configuration Instance 1.6. – End of Steps – 1.1 Establishing a Basic LDP Neighbour Session Configuration Descriptions As shown in Figure 1-17. Configure the LDP label distribution between the R1 router and the R2 router 3. Set the IP address of the loopback interface as the router-ID of the LSR Configuration Commands The configuration of the R1 router is as follows: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1. ZXR10#debug ldp graceful-restart instance <1-65535> Monitors LDP GR debugging information. Enable the MPLS hop-by-hop forwarding between the R1 router and the R2 router.34 255. <instance-id> ZXR10#debug ldp transport {connections | events} instance Monitors information discovered <instance-id> by LDP.0) ZTE Proprietary and Confidential .1. ZXR10#debug ldp session {io | state-machine} instance Monitors LSP sessions.255. 2.

100.0002 R2(config-isis-0)#system-id 0002.255.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100.255.255.35 255.1.0) ZTE Proprietary and Confidential .1.0035 R2(config-isis-0)#interface gei-0/3/0/7 R2(config-isis-0-if-gei-0/3/0/7)#ip router isis R2(config-isis-0-if-gei-0/3/0/7)#exit R2(config-isis-0)#interface loopback1 R2(config-isis-0-if-loopbck1)#ip router isis R2(config-isis-0-if-loopbck1)#exit R2(config-isis-0)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/3/0/7 1-31 SJ-20140731105308-012|2014-10-20 (R1.255.0034 R1(config-isis-0)#interface gei-0/2/0/7 R1(config-isis-0-if-gei-0/2/0/7)#ip router isis R1(config-isis-0-if-gei-0/2/0/7)#exit R1(config-isis-0)#interface loopback1 R1(config-isis-0-if-loopback1)#ip router isis R1(config-isis-0-if-loopback1)#exit R1(config-isis-0)#exit R1(config)#mpls ldp instance 1 /*Configure the Router-ID and the interface for the LDP*/ R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#exit The configuration of the R2 router is as follows: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.0001 R1(config-isis-0)#system-id 0001.255.1 255.0002.100.Chapter 1 MPLS Configuration R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis R1(config-isis-0)#area 00.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis R2(config-isis-0)#area 00.255.2 255.100.100.0002.

34:0.1. KA interval: 60000 ms LDP Peer BFD not register. the route of the loopback interface addresses) of each LSR. Src IP addr: 100.1.100. Downstream Up Time: 00:24:57 LDP discovery sources: gei-0/3/0/7.34 (R1) has been established. LDP dynamic capability enable: LDP send capability: LDP dynamic capability LDP Typed Wildcard FEC Cap LDP Unrecognized Noti Cap LDP received capability: LDP dynamic capability negotiate success LDP Typed Wildcard FEC Cap negotiate success LDP Unrecognized Noti Cap negotiate success If the session is in Oper status. hello interval: 5000 ms Addresses bound to peer LDP Ident: 1.ZXR10 M6000-S Configuration Guide (MPLS) R2(config-ldp-1-if-gei-0/3/0/7)#exit R2(config-ldp-1)#exit l l Note: In the above configuration.34 100.1.1.1. the purpose of running the IS-IS protocol is to advertise the Router-IDs (that is.100. Using the loopback interface addresses as the router-IDs of LDP instances can ensure the stability of LDP ID on routers. because the state of loopback interface addresses will not change (unless users shut down the interfaces manually).1. Local LDP Ident: 1.1.35:0 TCP connection: 1.646 . it means that the parameters are negotiated correctly and the neighbor relationship between R2 and 1.1.35.1.100.100.26408 State: Oper.1.1.1.1 holdtime: 15000 ms. 1-32 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential . Msgs sent/rcvd: 31/31.1. Configuration Verification Show the neighbor information on the R2 router: R2(config)#show mpls ldp neighbor detail instance 1 Peer LDP Ident: 1.1 Session holdtime: 180000 ms.34.

0 R1(config-if-gei-0/2/0/7)#exit R1(config)#interface gei-0/2/0/8 R1(config-if-gei-0/2/0/8)#no shutdown R1(config-if-gei-0/2/0/8)#ip address 200.255.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.100.0 R1(config-if-gei-0/2/0/8)#exit R1(config)#router isis R1(config-isis-0)#area 00. the R1 router. Set the IP address of the loopback interface as the router-ID of the LSR Configuration Commands The configuration of the R1 router is as follows: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1.0) ZTE Proprietary and Confidential . Figure 1-18 Establishing an LDP Target Session Configuration Flow The thought to configure an LDP target session between the R2 router and the R3 router is described below: 1. The target LDP session is established between the R2 router and the R3 router. and between the R1 router and the R3 router.1. Direc-connected LDP sessions are established between the R1 router and the R2 router. 3. 2.34 255.1.255.2 Establishing an LDP Target Session Configuration Descriptions As shown in Figure 1-18.0002.255.0034 1-33 SJ-20140731105308-012|2014-10-20 (R1. Establish the LDP target neighbor relationship between the R2 router and the R3 router.200.255.0001 R1(config-isis-0)#system-id 0001.1 255. the R2 router and the R3 router support MPLS.255.100.Chapter 1 MPLS Configuration 1.6. Establish the LDP neighbor relationships between the R1 router and the R2 router.200.1 255.255. and between the R1 router and the R3 router.

35 255.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis R2(config-isis-0)#area 00.255.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100.255.255.0) ZTE Proprietary and Confidential .2 255.39 1-34 SJ-20140731105308-012|2014-10-20 (R1.100.100.1.1.1.1.0002.0035 R2(config-isis-0)#interface gei-0/3/0/7 R2(config-isis-0-if-gei-0/3/0/7)#ip router isis R2(config-isis-0-if-gei-0/3/0/7)#exit R2(config-isis-0)#interface loopback1 R2(config-isis-0-if-loopback1)#ip router isis R2(config-isis-0-if-loopback1)#exit R2(config-isis-0)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/3/0/7 R2(config-ldp-1-if-gei-0/3/0/7)#exit R2(config-ldp-1)#target-session 1.0002 R2(config-isis-0)#system-id 0002.255.ZXR10 M6000-S Configuration Guide (MPLS) R1(config-isis-0)#interface gei-0/2/0/7 R1(config-isis-0-if-gei-0/2/0/7)#ip router isis R1(config-isis-0-if-gei-0/2/0/7)#exit R1(config-isis-0)#interface gei-0/2/0/8 R1(config-isis-0-if-gei-0/2/0/8)#ip router isis R1(config-isis-0-if-gei-0/2/0/8)#exit R1(config-isis-0)#interface loopback1 R1(config-isis-0-if-loopback1)#ip router isis R1(config-isis-0-if-loopback1)#exit R1(config-isis-0)#exit R1(config)#mpls ldp instance 1 R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#interface gei-0/2/0/8 R1(config-ldp-1-if-gei-0/2/0/8)#exit R1(config-ldp-1)#exit /*Configure the Router ID and the interface for the LDP*/ The configuration of the R2 router is as follows: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.

200.200.1.0 R3(config-if-gei-0/3/0/7)#exit R3(config)#router isis R3(config-isis-0)#area 00.200.200. Msgs sent/rcvd: 9/9.2.0003.39:0 TCP connection: 1.35:0.1.26412 . Downstream 1-35 SJ-20140731105308-012|2014-10-20 (R1.1.1.35 R3(config-ldp-1)#exit Configuration Verification Use the show mpls ldp neighbor command to show the neighbor information on the R3 router.1.646 State: Oper.1.1.1.1 Peer LDP Ident: 1. Src IP addr: 200.1.0039 R3(config-isis-0)#interface gei-0/3/0/7 R3(config-isis-0-if-gei-0/3/0/7)#ip router isis R3(config-isis-0-if-gei-0/3/0/7)#exit R3(config-isis-0)#interface loopback1 R3(config-isis-0-if-loopback1)#ip router isis R3(config-isis-0-if-loopback1)#exit R3(config-isis-0)#exit R3(config)#mpls ldp instance 1 R3(config-ldp-1)#router-id loopback1 R3(config-ldp-1)#interface gei-0/3/0/7 R3(config-ldp-1-if-gei-0/3/0/7)#exit R3(config-ldp-1)#target-session 1.2.1.0003 R3(config-isis-0)#system-id 0003.200.1.200.35.0) ZTE Proprietary and Confidential .1.1.26406 .255 R3(config-if-loopback1)#exit R3(config)#interface gei-0/3/0/7 R3(config-if-gei-0/3/0/7)#no shutdown R3(config-if-gei-0/3/0/7)#ip address 200. Msgs sent/rcvd: 10/10.1.1 Addresses bound to peer LDP Ident: 1. Local LDP Ident: 1.1.255.100.2 255.1 200.1.39 255.1.1. Downstream Up Time: 00:01:38 LDP discovery sources: gei-0/3/0/7.1.255.255.1.1.Chapter 1 MPLS Configuration R2(config-ldp-1)#exit The configuration of the R3 router is as follows: R3(config)#interface loopback1 R3(config-if-loopback1)#ip address 1.255.34:0.646 State: Oper.1.34. R3(config)#show mpls ldp neighbor instance 1 Peer LDP Ident: 1.1.34 100.39:0 TCP connection: 1. Local LDP Ident: 1.1.100.

100. The R1 router will not distribute labels for FECs in network segments 5.6.1.1.0/16 Configuration Steps The configuration of the R1 router is as follows: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1.100.0.255.1. 1. 4.3 Configuring a Label Distribution Policy Configuration Descriptions As shown in Figure 1-19.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.1.1.6).1.6 Addresses bound to peer LDP Ident: 1.0/8 and 110.1.1.255. 3.0) ZTE Proprietary and Confidential .0/16.0.2 If the session is in Oper status.100.1.255. it means that the parameters are negotiated correctly and the neighbor relationship between R3 and 1. No label is distributed to FECs in network segments 5. Enable the MPLS hop-by-hop forwarding between the R1 router and the R2 router Configure the LDP label distribution between R1 and R2 Set the IP address on loopback interface as the router-ID of an LDP instance on LSR Configure the label distribution policy on the R1 router.34 255.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis R1(config-isis-0)#area 00.0.1.1.1.0/8 and 110.100.255.0.0.35 100.1 255.ZXR10 M6000-S Configuration Guide (MPLS) Up Time: 00:00:39 LDP discovery sources: Targeted Hello (1. a label distribution policy is configured on the R1 router.0001 1-36 SJ-20140731105308-012|2014-10-20 (R1. 1.35 (R2) has been established. Src IP addr: 1.0. Figure 1-19 Configuring a Label Distribution Policy Configuration Flow The thought to configure a label distribution policy on the R1 router is described below. 2.

0034 R1(config-isis-0)#interface gei-0/2/0/7 R1(config-isis-0-if-gei-0/2/0/7)#ip router isis R1(config-isis-0-if-gei-0/2/0/7)#exit R1(config-isis-0)#interface loopback1 R1(config-isis-0-if-loopback1)#ip router isis R1(config-isis-0-if-loopback1)#exit R1(config-isis-0)#exit R1(config)#mpls ldp instance 1 R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#access-fec ip-prefix for zte R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#exit /*Configure the label distribution policy.2 255.Chapter 1 MPLS Configuration R1(config-isis-0)#system-id 0001.0.255 R1(config-ipv4-acl)#rule 20 deny 110.0.255.1. Do not allocate labels for FEC in the 5.0) ZTE Proprietary and Confidential .0.255.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis R2(config-isis-0)#area 00.0.0 0.1.0 0.1.1.0035 R2(config-isis-0)#interface gei-0/3/0/7 R2(config-isis-0-if-gei-0/3/0/7)#ip router isis R2(config-isis-0-if-gei-0/3/0/7)#exit R2(config-isis-0)#interface loopback1 R2(config-isis-0-if-loopback1)#ip router isis R2(config-isis-0-if-loopback1)#exit R2(config-isis-0)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 1-37 SJ-20140731105308-012|2014-10-20 (R1.0/8 and the 110.0.255.0002.35 255.0/16 network segment*/ R1(config)#ipv4-access-list zte R1(config-ipv4-acl)#rule 10 deny 5.0.100.0002.255.255.0002 R2(config-isis-0)#system-id 0002.255.255.0.100.255 R1(config-ipv4-acl)#rule 30 permit any R1(config-ipv4-acl)#exit The configuration of the R2 router is as follows: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100.

1.35:0.1.0/16 network segments.39:0.ZXR10 M6000-S Configuration Guide (MPLS) R2(config-ldp-1)#interface gei-0/3/0/7 R2(config-ldp-1-if-gei-0/3/0/7)#exit R2(config-ldp-1)#exit Configuration Verification Show the result on the R1 router after the policy is applied.1.1.0/24 local binding: label: 4108 remote binding: lsr: 1.3.1.39:0.1.0. label: 6149(inuse) remote binding: lsr: 1.1.1.1.1. label: imp-null 60.34/32 local binding: label: imp-null remote binding: lsr: 1.1. label: imp-null(inuse) remote binding: lsr: 1.0. label: 60 The result shows that R1 does not distribute FECs for the 5.1.1.1.1.1.18/32 local binding: label: 4128 remote binding: lsr: 1.1.1. label: 10175 remote binding: lsr: 1.1. label: 10167 remote binding: lsr: 1.1.39:0.1.39:0. label: 51 1.1.1. label: 36 1.35:0.0.1. label: 10164 remote binding: lsr: 1. R1(config)#show mpls ldp bindings instance 1 1.35:0.39:0.35:0. label: UnTag 1.2. label: imp-null(inuse) remote binding: lsr: 1.1.39:0. label: imp-null 60.1.1.0.0) ZTE Proprietary and Confidential .39:0. label: 49 1.1.35:0.35:0.39:0.35:0.1.1.0.35/32 local binding: label: 4101 remote binding: lsr: 1.1.1.1.1.1. label: 4143(inuse) remote binding: lsr: 1.0/8 and 110.1.31/32 (no route) remote binding: lsr: 1.0/32 local binding: label: 4126 remote binding: lsr: 1.1. label: 54 1.1.39/32 local binding: label: 4119 remote binding: lsr: 1.1.1.1. 1-38 SJ-20140731105308-012|2014-10-20 (R1.1.1.0/24 local binding: label: 4109 remote binding: lsr: 1.

6..255.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis R1(config-isis-0)#area 00. 2. The R1 router. the R2 router and the R3 router support the MPLS.0034 R1(config-isis-0)#interface gei-0/2/0/7 R1(config-isis-0-if-gei-0/2/0/7)#ip router isis R1(config-isis-0-if-gei-0/2/0/7)#exit R1(config-isis-0)#interface loopback1 R1(config-isis-0-if-loopback1)#ip router isis R1(config-isis-0-if-loopback1)#exit R1(config-isis-0)#exit R1(config)#mpls ldp instance 1 1-39 SJ-20140731105308-012|2014-10-20 (R1. Figure 1-20 LDP Multi-Instance Topology Configuration Flow The thought to configure an LDP multi-instance between the R2 router and the R3 router is described below: 1. Establish a public network session between the R1 router and the R2 router.255.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 64.2.4 Configuring an LDP Multi-Instance Configuration Descriptions The LDP session network is shown in Figure 1-20.2. and establish a private network session between the R1 router and the R3 router.1 255.2. Establish an LDP private network neighbor between the R1 router and the R3 router.1 255. Configuration Commands The configuration of the R1 router is as follows: /*The following configuration is for the LDP public network*/ R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1.255.0002.Chapter 1 MPLS Configuration 1. Establish an LDP public network neighbor between the R1 router and the R2 router.255.0001 R1(config-isis-0)#system-id 0001.1.0) ZTE Proprietary and Confidential .

2.2 255.0001 R1(config-isis-1)#system-id 1111.255.255 R1(config-if-loopback2)#exit R1(config)#interface gei-0/2/0/2 R1(config-if-gei-0/2/0/2)#no shutdown R1(config-if-gei-0/2/0/2)#ip vrf forwarding a R1(config-if-gei-0/2/0/2)#ip address 64.0002 1-40 SJ-20140731105308-012|2014-10-20 (R1.2.255.2.ZXR10 M6000-S Configuration Guide (MPLS) R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#exit /*The following configuration is for the LDP private network*/ R1(config)#ip vrf a R1(config-vrf-a)#rd 1:1 R1(config-vrf-a)#address-family ipv4 R1(config-vrf-a-af-ipv4)#exit R1(config-vrf-a)#exit R1(config)#interface loopback2 R1(config-if-loopback2)#ip vrf forwarding a R1(config-if-loopback2)#ip address 2.255.255.0) ZTE Proprietary and Confidential .5 255.0002.1.255.0034 R1(config-isis-1)#interface gei-0/2/0/2 R1(config-isis-1-if-gei-0/2/0/2)#ip router isis R1(config-isis-1-if-gei-0/2/0/2)#exit R1(config-isis-1)#interface loopback2 R1(config-isis-1-if-loopback2)#ip router isis R1(config-isis-1-if-loopback2)#exit R1(config-isis-1)#exit R1(config)#mpls ldp instance 2 vrf a R1(config-ldp-2)#router-id loopback2 R1(config-ldp-2)#interface gei-0/2/0/2 R1(config-ldp-2-if-gei-0/2/0/2)#exit R1(config-ldp-2)#exit The configuration of the R2 router is as follows: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.0 R1(config-if-gei-0/2/0/2)#exit R1(config)#router isis 1 vrf a R1(config-isis-1)#area 00.13.1.2 255.255.1 255.255.0 R2(config-if-gei-0/2/0/9)#exit R2(config)#router isis R2(config-isis-0)#area 00.2.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/2/0/9 R2(config-if-gei-0/2/0/9)#no shutdown R2(config-if-gei-0/2/0/9)#ip address 64.2.255.

255.Chapter 1 MPLS Configuration R2(config-isis-0)#system-id 0002.1.255.255.0039 R3(config-isis-0)#interface gei-0/2/0/6 R3(config-isis-0-if-gei-0/2/0/6)#ip router isis R3(config-isis-0-if-gei-0/2/0/6)#exit R3(config-isis-0)#interface loopback1 R3(config-isis-0-if-loopbck1)#ip router isis R3(config-isis-0-if-loopbck1)#exit R3(config-isis-0)#exit R3(config)#mpls ldp instance 1 R3(config-ldp-1)#router-id loopback1 R3(config-ldp-1)#interface gei-0/2/0/6 R3(config-ldp-1-if-gei-0/2/0/6)#exit R3(config-ldp-1)#exit Configuration Verification Show the neighbor establishment result of the public network and the private network on the R1 router: R1(config)#show mpls ldp neighbor instance 1 Peer LDP Ident: 1. Local LDP Ident 1.1:0 TCP connection: 1.2.1054 .10 255.255 R3(config-if-loopback1)#exit R3(config)#interface gei-0/2/0/6 R3(config-if-gei-0/2/0/6)#no shutdown R3(config-if-gei-0/2/0/6)#ip address 64.0035 R2(config-isis-0)#interface gei-0/2/0/9 R2(config-isis-0-if-gei-0/2/0/9)#ip router isis R2(config-isis-0-if-gei-0/2/0/9)#exit R2(config-isis-0)#interface loopback1 R2(config-isis-0-if-loopbck1)#ip router isis R2(config-isis-0-if-loopbck1)#exit R2(config-isis-0)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/2/0/9 R2(config-ldp-1-if-gei-0/2/0/9)#exit R2(config-ldp-1)#exit The configuration of the R3 router is as follows: R3(config)#interface loopback1 R3(config-if-loopback1)#ip address 2.2.1.0) ZTE Proprietary and Confidential .1.0002.2.10.0003.2.2.1.255.1.2:0.2.646 1-41 SJ-20140731105308-012|2014-10-20 (R1.1.0 R3(config-if-gei-0/2/0/6)#exit R3(config)#router isis R3(config-isis-0)#area 00.2 255.1.2.0003 R3(config-isis-0)#system-id 0003.

2. Msgs sent/rcvd: 47/48.2. Src IP addr: 64.2 64.2.ZXR10 M6000-S Configuration Guide (MPLS) state: Oper.1.1. R1(config)#show mpls ldp neighbor instance 1 Peer LDP Ident: 1.1054 .1.2.5 If the session is in Oper status. establish an MP-BGP neighbor between PEs and an MPLS LDP neighbor between the public networks.2.0) ZTE Proprietary and Confidential .2.1.2.2 64.2:0. Src IP addr: 64.2. router 1.1.5 If the session is in Oper status.2. it means that the parameters are negotiated correctly and the private network neighbor relationship has been established with the R3. based on the L3VPN environment and the LDP FRR networking mode for the public network.2.5 Addresses bound to peer LDP Ident: 1.1:0 TCP connection: 1. Msgs sent/rcvd: 47/48.1.1.2.1.2.5 Establishing an LDP FRR Configuration Descriptions As shown in Figure 1-21.2.2. it means that the parameters are negotiated correctly and the public network neighbor relationship has been established with the R2 router.5 Addresses bound to peer LDP Ident: 1. Downstream Up Time: 00:00:30 LDP discovery sources: gei-0/2/0/7. Downstream Up Time: 00:00:30 LDP discovery sources: gei-0/2/0/7.2.646 state: Oper. Figure 1-21 Establishing an LDP FRR 1-42 SJ-20140731105308-012|2014-10-20 (R1. Local LDP Ident 1.6.

0.1 CE1(config-ospf-1)#network 40. 3.5 255.0.0.1.1.255.255.255.0.255.2.2 255.2.0.1 0.1 255.0. Configuration Commands Access the CE1 router through the OSPF protocol.0 CE1(config-if-gei-0/2/1/1)#exit CE1(config)#interface loopback1 CE1(config-if-loopback1)#ip address 12.0 area 16 CE1(config-ospf-1)#exit The configuration of the CE2 router is as follows: CE2(config)#interface gei-0/2/1/1 CE2(config-if-gei-0/2/1/1)#no shutdown CE2(config-if-gei-0/2/1/1)#ip address 60.0) ZTE Proprietary and Confidential .1.255. Enable the FRR on the PE1 router.0.2. 2. the CE2 router through the IS-IS protocol and the middle IPG router through the IS-IS protocol.0 CE2(config-if-gei-0/2/1/1)#exit CE2(config)#interface loopback1 CE2(config-if-loopback1)#ip address 12.255.Chapter 1 MPLS Configuration Configuration Flow 1.0.255.1.255 CE1(config-if-loopback1)#exit CE1(config)#router ospf 1 CE1(config-ospf-1)#router-id 12.0.2 255.0001 CE2(config-isis-0)#interface loopback1 CE2(config-isis-0-if-loopback1)#ip router isis CE2(config-isis-0-if-loopback1)#exit CE2(config-isis-0)#interface gei-0/2/1/1 CE2(config-isis-0-if-gei-0/2/1/1)#ip router isis CE2(config-isis-0-if-gei-0/2/1/1)#exit CE2(config-isis-0)#exit 1-43 SJ-20140731105308-012|2014-10-20 (R1.255 area 16 CE1(config-ospf-1)#network 12. Configure the LDP neighbor. Configure an IGP route between the PE1 router and the PE2 router for communication.255.255 CE2(config-if-loopback1)#exit CE2(config)#router isis CE2(config-isis-0)#area 10 CE2(config-isis-0)#system-id 0000. The configuration is as follows: The configuration of the CE1 router is as follows: CE1(config)#interface gei-0/2/1/1 CE1(config-if-gei-0/2/1/1)#no shutdown CE1(config-if-gei-0/2/1/1)#ip address 40.0. 4. Configure the MP-BGP neighbor.2.0 0.0000.

255 PE1(config-if-loopback1)#exit PE1(config)#interface gei-0/2/1/1 PE1(config-if-gei-0/2/1/1)#no shutdown PE1(config-if-gei-0/2/1/1)#ip vrf forwarding zte1 PE1(config-if-gei-0/2/1/1)#ip address 40.255.1.2 255.0.1.0.3 activate PE1(config-bgp-af-vpnv4)#exit PE1(config-bgp)#address-family ipv4 vrf zte1 PE1(config-bgp-af-ipv4-vrf)#redistribute ospf-int 1 PE1(config-bgp-af-ipv4-vrf)#exit PE1(config-bgp)#exit 1-44 SJ-20140731105308-012|2014-10-20 (R1.255.2 255.ZXR10 M6000-S Configuration Guide (MPLS) The configuration of the PE1 router is as follows: PE1(config)#ip vrf zte1 PE1(config-vrf-zte1)#rd 100:1 PE1(config-vrf-zte1)#route-target import 100:1 PE1(config-vrf-zte1)#route-target export 100:1 PE1(config-vrf-zte1)#address-family ipv4 PE1(config-vrf-zte1-af-ipv4)#exit PE1(config-vrf-zte1)#exit PE1(config)#interface loopback1 PE1(config-if-loopback1)#ip address 1.0 PE1(config-if-gei-0/2/1/1)#exit PE1(config)#interface gei-0/2/1/2 PE1(config-if-gei-0/2/1/2)#no shutdown PE1(config-if-gei-0/2/1/2)#ip address 10.255.1.1.255.0.2 255.0) ZTE Proprietary and Confidential .255.255.1 255.255.0 PE1(config-if-gei-0/2/1/3)#exit PE1(config)#mpls ldp instance 1 PE1(config-ldp-1)#router-id loopback1 PE1(config-ldp-1)#interface gei-0/2/1/2 PE1(config-ldp-1-if-gei-0/2/1/2)#exit PE1(config-ldp-1)#interface gei-0/2/1/3 PE1(config-ldp-1-if-gei-0/2/1/3)#exit PE1(config-ldp-1)#exit PE1(config)#router bgp 100 PE1(config-bgp)#neighbor 1.1.255.0.0.0.3 remote-as 100 PE1(config-bgp)#neighbor 1.0 PE1(config-if-gei-0/2/1/2)#exit PE1(config)#interface gei-0/2/1/3 PE1(config-if-gei-0/2/1/3)#no shutdown PE1(config-if-gei-0/2/1/3)#ip address 11.1.1.3 update-source loopback1 PE1(config-bgp)#address-family vpnv4 PE1(config-bgp-af-vpnv4)#neighbor 1.1.

255.255.255.1.c200 PE1(config-isis-0)#interface gei-0/2/1/2 PE1(config-isis-0-if-gei-0/2/1/2)#ip router isis PE1(config-isis-0-if-gei-0/2/1/2)#exit PE1(config-isis-0)#interface gei-0/2/1/3 PE1(config-isis-0-if-gei-0/2/1/3)#ip router isis PE1(config-isis-0-if-gei-0/2/1/3)#metric 20 PE1(config-isis-0-if-gei-0/2/1/3)#exit PE1(config-isis-0)#fast-reroute enable PE1(config-isis-0)#interface loopback1 PE1(config-isis-0-if-loopback1)#ip router isis PE1(config-isis-0-if-loopback1)#exit PE1(config-isis-0)#exit The configuration of the PE2 router is as follows: PE2(config)#ip vrf zte1 PE2(config-vrf-zte1)#rd 100:1 PE2(config-vrf-zte1)#route-target import 100:1 PE2(config-vrf-zte1)#route-target export 100:1 PE2(config-vrf-zte1)#address-family ipv4 PE2(config-vrf-zte1-af-ipv4)#exit PE2(config-vrf-zte1)#exit PE2(config)#interface loopback1 PE2(config-if-loopback1)#ip address 1.255.255.0 PE2(config-if-gei-0/2/1/2)#exit PE2(config)#interface gei-0/2/1/3 PE2(config-if-gei-0/2/1/3)#no shutdown PE2(config-if-gei-0/2/1/3)#ip address 14.0.255 area 16 PE1(config-ospf-1)#exit PE1(config)#router isis PE1(config-isis-0)#area 10 PE1(config-isis-0)#system-id 0000.0.1 255.0.Chapter 1 MPLS Configuration PE1(config)#router ospf 1 vrf zte1 PE1(config-ospf-1)#network 40.0 0.0 PE2(config-if-gei-0/2/1/1)#exit PE2(config)#interface gei-0/2/1/2 PE2(config-if-gei-0/2/1/2)#no shutdown PE2(config-if-gei-0/2/1/2)#ip address 15.0 1-45 SJ-20140731105308-012|2014-10-20 (R1.2 255.0.70d0.255.255 PE2(config-if-loopback1)#exit PE2(config)#interface gei-0/2/1/1 PE2(config-if-gei-0/2/1/1)#no shutdown PE2(config-if-gei-0/2/1/1)#ip vrf forwarding zte1 PE2(config-if-gei-0/2/1/1)#ip address 60.0.0.255.0.255.0.2 255.0.3 255.0) ZTE Proprietary and Confidential .0.1.

2 remote-as 100 PE2(config-bgp)#neighbor 1.1.1.2 activate PE2(config-bgp-af-vpnv4)#exit PE2(config-bgp)#exit PE2(config)#router isis 1 vrf zte1 PE2(config-isis-1)#area 10 PE2(config-isis-1)#system-id 0000.2 update-source loopback1 PE2(config-bgp)#address-family ipv4 vrf zte1 PE2(config-bgp-af-ipv4-vrf)#redistribute isis-1-2 PE2(config-bgp-af-ipv4-vrf)#exit PE2(config-bgp)#address-family vpnv4 PE2(config-bgp-af-vpnv4)#neighbor 1.1.dd00.ZXR10 M6000-S Configuration Guide (MPLS) PE2(config-if-gei-0/2/1/3)#exit PE2(config)#mpls ldp instance 1 PE2(config-ldp-1)#router-id loopback1 PE2(config-ldp-1)#interface gei-0/2/1/2 PE2(config-ldp-1-if-gei-0/2/1/2)#exit PE2(config-ldp-1)#interface gei-0/2/1/3 PE2(config-ldp-1-if-gei-0/2/1/3)#exit PE2(config-ldp-1)#exit PE2(config)#router bgp 100 PE2(config-bgp)#neighbor 1.1.1.0) ZTE Proprietary and Confidential .0002 PE2(config-isis-0)#interface gei-0/2/1/2 PE2(config-isis-0-if-gei-0/2/1/2)#ip router isis PE2(config-isis-0-if-gei-0/2/1/2)#exit PE2(config-isis-0)#interface gei-0/2/1/3 PE2(config-isis-0-if-gei-0/2/1/3)#ip router isis PE2(config-isis-0-if-gei-0/2/1/3)#exit PE2(config-isis-0)#interface loopback1 PE2(config-isis-0-if-loopback1)#ip router isis PE2(config-isis-0-if-loopback1)#exit PE2(config-isis-0)#exit The configuration of the P1 router is as follows: P1(config)#interface loopback1 1-46 SJ-20140731105308-012|2014-10-20 (R1.0000.1.0002 PE2(config-isis-1)#interface gei-0/2/1/1 PE2(config-isis-1-if-gei-0/2/1/1)#ip router isis PE2(config-isis-1-if-gei-0/2/1/1)#exit PE2(config-isis-1)#exit PE2(config)#router isis PE2(config-isis-0)#area 10 PE2(config-isis-0)#system-id 0000.

255.0.255 P2(config-if-loopback1)#exit P2(config)#interface gei-0/2/1/1 P2(config-if-gei-0/2/1/1)#no shutdown P2(config-if-gei-0/2/1/1)#ip address 11.1 255.0.255.1.0.0 P1(config-if-gei-0/2/1/1)#exit P1(config)#interface gei-0/2/1/2 P1(config-if-gei-0/2/1/2)#no shutdown P1(config-if-gei-0/2/1/2)#ip address 14.0.0) ZTE Proprietary and Confidential .255.255.0.Chapter 1 MPLS Configuration P1(config-if-loopback1)#ip address 1.255.dd00.1000 P1(config-isis-0)#interface gei-0/2/1/1 P1(config-isis-0-if-gei-0/2/1/1)#ip router isis P1(config-isis-0-if-gei-0/2/1/1)#exit P1(config-isis-0)#interface gei-0/2/1/2 P1(config-isis-0-if-gei-0/2/1/2)#ip router isis P1(config-isis-0-if-gei-0/2/1/2)#exit P1(config-isis-0)#interface loopback1 P1(config-isis-0-if-loopback1)#ip router isis P1(config-isis-0-if-loopback1)#exit P1(config-isis-0)#exit P1(config)#mpls ldp instance 1 P1(config-ldp-1)#router-id loopback1 P1(config-ldp-1)#interface gei-0/2/1/1 P1(config-ldp-1-if-gei-0/2/1/1)#exit P1(config-ldp-1)#interface gei-0/2/1/2 P1(config-ldp-1-if-gei-0/2/1/2)#exit P1(config-ldp-1)#exit The configuration of the P2 router is as follows: P2(config)#interface loopback1 P2(config-if-loopback1)#ip address 1.1 255.4 255.0.0.255.0 P1(config-if-gei-0/2/1/2)#exit P1(config)#router isis P1(config-isis-0)#area 10 P1(config-isis-0)#system-id 0000.0.1.255.1.1 255.255.5 255.255.255.0 P2(config-if-gei-0/2/1/1)#exit P2(config)#interface gei-0/2/1/2 P2(config-if-gei-0/2/1/2)#no shutdown P2(config-if-gei-0/2/1/2)#ip address 15.255.1 255.255.0 P2(config-if-gei-0/2/1/2)#exit 1-47 SJ-20140731105308-012|2014-10-20 (R1.1.255 P1(config-if-loopback1)#exit P1(config)#interface gei-0/2/1/1 P1(config-if-gei-0/2/1/1)#no shutdown P1(config-if-gei-0/2/1/1)#ip address 10.

2 gei-0/2/1/3 ISIS_LEVEL1 115 40 S U Check the configuration result of the LDP FRR.1. The FRR information on the PE1 through the IS-IS protocol is as follows: PE1#show isis fast-reroute-topology IS-IS ipfrr paths to Level-1 routers System id Interface Ipfrr interface Ipfrr type metric 0000.1.3/32 10.0.0002 gei-0/2/1/2 gei-0/2/1/3 node 30 PE1#show ip forwarding backup route IPv4 Backup Routing Table: status codes: *valid.1.1.dd00. PE1(config)#show mpls ldp bindings 1.0. S:Slave Dest Gw Interface Owner Pri Metric M/S Status 1.dd00.0.0002 gei-0/2/1/2 gei-0/2/1/3 node 30 IS-IS ipfrr paths to Level-2 routers System id Interface Ipfrr interface Ipfrr type metric 0000.1.3 32 detail instance 1 1.0) ZTE Proprietary and Confidential .1.3/32 1-48 SJ-20140731105308-012|2014-10-20 (R1.3/32 11.dd00.0.2 gei-0/2/1/2 ISIS_LEVEL1 115 40 M I 1.1. >best.3000 P2(config-isis-0)#interface gei-0/2/1/1 P2(config-isis-0-if-gei-0/2/1/1)#ip router isis P2(config-isis-0-if-gei-0/2/1/1)#exit P2(config-isis-0)#interface gei-0/2/1/2 P2(config-isis-0-if-gei-0/2/1/2)#ip router isis P2(config-isis-0-if-gei-0/2/1/2)#exit P2(config-isis-0)#interface loopback1 P2(config-isis-0-if-loopback1)#ip router isis P2(config-isis-0-if-loopback1)#exit P2(config)#mpls ldp instance 1 P2(config-ldp-1)#router-id loopback1 P2(config-ldp-1)#interface gei-0/2/1/1 P2(config-ldp-1-if-gei-0/2/1/1)#exit P2(config-ldp-1)#interface gei-0/2/1/2 P2(config-ldp-1-if-gei-0/2/1/2)#exit P2(config-ldp-1)#exit Configuration Verification Show the configuration result to see whether the FRR configuration takes effect through the show ip forwarding backup route command.1. M:Master.ZXR10 M6000-S Configuration Guide (MPLS) P2(config)#router isis P2(config-isis-0)#area 10 P2(config-isis-0)#system-id 0000.

PE1#show ip bgp summary Neighbor Ver 1. and R3 in the network are main control devices.1. and then establish the LDP neighbor.1. and the communication among them are implemented through OSPF .1.0. Configure MPLS LDP for each interface of the node.1 M 16399 16399 1.1.5:0 remote binding: lsr: 1. three nodes R1. label: 16399(inuse_slv_ip) PE1(config)#show mpls forwarding-table 1.1 S Check the IBGP connection between the PE1 router and the PE2 router. 3.3/32 gei-0/2/1/3 11.1.1.1. and notify the network segment and the LSR ID main route connected to each interface and through the OSPF protocol.5:0. Enable the LDP GR capability for each node.0) ZTE Proprietary and Confidential .0.1. and the Loopback address for the LSR ID. R2. and R3.3/32 gei-0/2/1/2 10.1.0.4:0. Configure the OSPF GR function on reach node.0. 1-49 SJ-20140731105308-012|2014-10-20 (R1. You need to establish a session among R1. Figure 1-22 Network Architecture of LDP Graceful Restart Configuration Instance Configuration Flow 1. 4.3 4 As 100 MsgRcvd 195 MsgSend 201 Up/Down(s) 01:37:23 State 2 1.1.1.1.1. These three nodes provide GR mechanism. label: 16394(inuse) remote binding: lsr: 1.Chapter 1 MPLS Configuration local binding: label: 16399 advertised to: 1. you need to synchronize the neighbor node thorough the LP GR mechanism. Configure the IP address for each node.1.4:0 1.6 LDP Graceful Restart Configuration Instance Configuration Description As shown in Figure 1-22. R2.6.1.3 Local Outgoing Prefix or Outgoing label label Tunnel Id interface Next Hop M/S 16399 16394 1. When the main board of R2 is faulty. 2.1.

0.15.0 R1(config-if-gei-0/1/0/6)#exit R1(config)#interface loopback10 R1(config-if-loopback10)#ip address 10.5 R2(config-ospf-2)#network 103.0 R2(config-ospf-2)#network 10.0 R1(config-ospf-2)#network 10.255.0 area 0.0) ZTE Proprietary and Confidential .15.0.255.ZXR10 M6000-S Configuration Guide (MPLS) Configuration Commands Run the following commands on R1: R1(config)#interface gei-0/1/0/6 R1(config-if-gei-0/1/0/6)#no shutdown R1(config-if-gei-0/1/0/6)#ip address 106.1 R1(config-ospf-2)#network 106.255.10.0.15.15.255.0.1 0.0.0 R2(config-ospf-2)#nsf R2(config-ospf-2)#exit 1-50 SJ-20140731105308-012|2014-10-20 (R1.255 R2(config-if-loopback10)#exit R2(config)#router ospf 2 R2(config-ospf-2)#router-id 10.0 R2(config-if-gei-0/1/0/6)#exit R2(config)#interface loopback10 R2(config-if-loopback10)#ip address 10.0.3.10.10.0 0.0 0.0 R2(config-ospf-2)#network 106.255.255 R1(config-if-loopback10)#exit R1(config)#router ospf 2 R1(config-ospf-2)#router-id 10.0.10.3.3.0.0.5 255.0 area 0.0 R1(config-ospf-2)#nsf R1(config-ospf-2)#exit R1(config)#mpls ldp instance 1 R1(config-ldp-1)#interface gei-0/1/0/6 R1(config-ldp-1-if-gei-0/1/0/6)#exit R1(config-ldp-1)#router-id loopback10 R1(config-ldp-1)#graceful-restart R1(config-ldp-1)#end Run the following commands on R2: R2(config)#interface gei-0/1/0/3 R2(config-if-gei-0/1/0/3)#no shutdown R2(config-if-gei-0/1/0/3)#ip address 103.1 255.10.15.15.0.15.255 area 0.3.1 255.255 area 0.0 0.10.10.255.10.10.255.0.0.10.0.15.5 0.255 area 0.0.5 255.0.0.255.0.10.255.255.2 255.10.0.0.0 R2(config-if-gei-0/1/0/3)#exit R2(config)#interface gei-0/1/0/6 R2(config-if-gei-0/1/0/6)#no shutdown R2(config-if-gei-0/1/0/6)#ip address 106.0.

255.0 R3(config-ospf-2)#network 10.10.3.0.10.3. check the transferring table and binding information on R1.15.255.10.0.10.0 R3(config-if-gei-0/1/0/3)#exit R3(config)#interface loopback10 R3(config-if-loopback10)#ip address 10.10.Chapter 1 MPLS Configuration R2(config)#mpls ldp instance 1 R2(config-ldp-1)#interface gei-0/1/0/3 R2(config-ldp-1-if-gei-0/1/0/3)#exit R2(config-ldp-1)#interface gei-0/1/0/6 R2(config-ldp-1-if-gei-0/1/0/6)#exit R2(config-ldp-1)#router-id loopback10 R2(config-ldp-1)#graceful-restart R2(config-ldp-1)#end Run the following commands on R3: R3(config)#interface gei-0/1/0/3 R3(config-if-gei-0/1/0/3)#no shutdown R3(config-if-gei-0/1/0/3)#ip address 103. R2.0.10.2 Local Outgoing Prefix or Outgoing label label Tunnel Id interface 16395 16388 10.0.0 area 0.2/32 gei-0/1/0/6 Next Hop M/S 106. and R3.2/32 1-51 SJ-20140731105308-012|2014-10-20 (R1.255.0) ZTE Proprietary and Confidential .10.0.255 R3(config-if-loopback10)#exit R3(config)#router ospf 2 R3(config-ospf-2)#router-id 10.3.10.2 255.2 R3(config-ospf-2)#network 103.0.0.2 255.0 0.10.0.0 R3(config-ospf-2)#nsf R3(config-ospf-2)#exit R3(config)#mpls ldp instance 1 R3(config-ldp-1)#interface gei-0/1/0/3 R3(config-ldp-1-if-gei-0/1/0/3)#exit R3(config-ldp-1)#router-id loopback10 R3(config-ldp-1)#graceful-restart R3(config-ldp-1)#exit Configuration Verification Before the active/standby changeover on R2 or the LDP restart.2 32 instance 1 10.10.15.10.5 M R1#show mpls ldp bindings 10.3. Run the following commands to check the information on R1: R1#show mpls forwarding-table 10.2 0.10.255.10.255 area 0.10.

35.8.28.48.1:0.5.44.5:0.25.33.5 39.5 17. label: 16388(inuse) R1#show mpls ldp graceful-restart instance 1 LDP Graceful Restart is enabled Neighbor Liveness Timer: 120 seconds Max Recovery Timer: 120 seconds Graceful Restart enabled Sessions: Peer LDP Ident: 10.10.5 33.39.5 26. Downstream Up Time: 00:02:21 LDP discovery sources: gei-0/1/0/6.ZXR10 M6000-S Configuration Guide (MPLS) local binding: label: 16395 remote binding: lsr: 10.38.26.34.40.5 45.46.5 44.646 State: Oper.27.8.31.45.10.31.9.5:0.49.5 41.1:0 TCP connection: 10.5 47.10.49.5 29.42.State:Oper R2#show mpls ldp neighbor graceful-restart instance 1 Peer LDP Ident: 10.5 46.21.32.3.5 49.5 27.5 25.State:Oper Peer LDP Ident: 10.9. Msgs sent/rcvd: 23/127.5 106.13.5 34.10.10.646 .29.5 43.27.42.10.19.39.41.50.10.6739 State: Oper.10.5 48.5 19.10.3.5.20.19.1:0.48.24.10.1 32.15.18.5 Addresses bound to peer LDP Ident: 5.10.5 20.5.10.5 23.15.5 18.15.5.10.5 9.25.43.10.5 103.10.5 16.5 42.14.10.50.40.5 28.26. Local LDP Ident: 10.5 35.36.5:0 TCP connection: 10.5 Graceful Restart enabled.45.16.10.18.23.5 15.5 13.46.13.5 50.34.15.5 24. Peer reconnect time (msecs): 120000 Run the following commands to check the information on R2: R2#show mpls ldp graceful-restart instance 1 LDP Graceful Restart is enabled Neighbor Liveness Timer: 120 seconds Max Recovery Timer: 120 seconds Graceful Restart enabled Sessions: Peer LDP Ident: 10.10.6739 .5 37.10.5.36.33.15.37.32.16.0) ZTE Proprietary and Confidential .38.5 38.24.10. Msgs sent/rcvd: 127/22. Downstream Up Time: 00:02:15 1-52 SJ-20140731105308-012|2014-10-20 (R1.5 21.5.5 14.10.47.20.2:0.37.10.29.41.5 31.64 8.14.23.10.10.10. Src IP addr: 106.5 10.21.10.47.5 36.44. Local LDP Ident: 10.35.10.1.28.10.State:Oper R1#show mpls ldp neighbor graceful-restart instance 1 Peer LDP Ident: 10.1.5:0.43.15.5 40.

37.50.10.2.10.5 Addresses bound to peer LDP Ident: 5.37.2.1.5:0.10.15.5 49.5 29.2.10.10.5. Msgs sent/rcvd: 88/127.10.40. Src IP addr: 103.10.48.10.5 40.2 90.5 47.64 10.26.5 36.64 10.5 34.3.10.24.10. Peer reconnect time (msecs): 120000 Run the following commands to check the information on R3: R3#show mpls ldp graceful-restart instance 1 LDP Graceful Restart is enabled Neighbor Liveness Timer: 120 seconds Max Recovery Timer: 120 seconds Graceful Restart enabled Sessions: Peer LDP Ident: 10.19.46.1.27. Src IP addr: 106.43. Src IP addr: 103.3.10.9.15.5.1 32.5 17.15.64 8.15.16.6738 .23.State:Oper R3#show mpls ldp neighbor graceful-restart instance 1 Peer LDP Ident: 10.5 13.18.3.14.42.5 24.49.1 Graceful Restart enabled.5 37.5 19.3.43.13. Msgs sent/rcvd: 127/87.5 44.25.29.45.21.35.29.3.39.5 25.5 10.5 14.38.1 Addresses bound to peer LDP Ident: 1.4.20.10. Local LDP Ident: 10.5 28.0) ZTE Proprietary and Confidential .34.5 103.5 50.1.14.13.20.2 Graceful Restart enabled.28.5 39.5 31.10.24.5 27.646 .36.15.5 42.28.5:0.5 48.25.5.2 101.3.5 15.2:0 TCP connection: 10.21. Local LDP Ident: 10.10.6738 State: Oper.26.33.38.2.50.8.10.5 Graceful Restart enabled.10. Downstream Up Time: 00:02:15 LDP discovery sources: gei-0/1/0/3.41.5 26.5 16.42.5 41.2 103.5.5 23.5 38.8.10.15.27.10.9.15.5 9.46.39.1 106.5.44.10.646 State: Oper.31.5 20.15.5 43.18.10.16.5:0 TCP connection: 10.5 35.23.31.10.32.45.5. Downstream Up Time: 00:03:11 LDP discovery sources: gei-0/1/0/3.33.1.10.10.5 106.44.5 21.5 45.Chapter 1 MPLS Configuration LDP discovery sources: gei-0/1/0/6.40.47.41.10.10.2 Addresses bound to peer LDP Ident: 2.5 33.48.2.49.32. Peer reconnect time (msecs): 120000 1-53 SJ-20140731105308-012|2014-10-20 (R1.34.3.5 18.3.36.5 46.10. Peer reconnect time (msecs): 120000 Peer LDP Ident: 10.47.2:0.19.35.

0) ZTE Proprietary and Confidential . and restart the GR Recovery timer.5 16.10.5:0 R1 MPU-0/20/0 2012-4-28 01:15:59 mpls_ldp_1:GR: 10.120 secs R1 MPU-0/20/0 2012-4-28 01:15:59 mpls_ldp_1:GR: 10.5:0:: established R1 MPU-0/20/0 2012-4-28 01:15:59 mpls_ldp_1:GR: ptcl_adj: 10.9.10. Downstream Up Time: 00:01:58 LDP discovery sources: gei-0/1/0/6. and R1 acting as the Helper party perceives the operations of R2. rcov 120) R1 MPU-0/20/0 2012-4-28 01:15:56 mpls_ldp_1:GR: Added FT Sess TLV (Rconn 120000.5:0:: recovery timer started.10. Src IP addr: 106.16.10.15.10.5 Addresses bound to peer LDP Ident: 5.5:0:: bindings retained R1 MPU-0/20/0 2012-4-28 01:15:56 mpls_ldp_1:GR: Received FT Sess TLV from 10.10.5 1-54 SJ-20140731105308-012|2014-10-20 (R1.10.1/-1:: refreshing stale binding from 10.10.10.5:0:: reconnect timer stopped R1 MPU-0/20/0 2012-4-28 01:15:59 mpls_ldp_1:GR: GR session 10.10.5:0:: reconnect timer started [120 secs] R1 MPU-0/20/0 2012-4-28 01:15:36 mpls_ldp_1:GR: GR session 10.10.5:0 R1 MPU-0/20/0 2012-4-28 01:15:59 mpls_ldp_1:GR: 10.10.10.5:0 Run the following commands to check the Graceful Restart instance on R1: R1#show mpls ldp neighbor graceful-restart instance 1 Peer LDP Ident: 10.10.10.8.5:0.15.10.10.5/-1:: refreshing stale binding from 10.5 14.10.1:0 TCP connection: 10.10.10.5.5:0:: wait for reconnecting R1 MPU-0/20/0 2012-4-28 01:15:36 mpls_ldp_1:GR: GR session 10.10.13.10.646 State: Oper.15.10.the items of the forwarding table related to the Restarter party will be saved.5:0 (rconn 120.10.1.9.6751 . Rcov 120000) to INIT msg to 10.10.10.10. If the LDP session between the Restarter party and the Helper party is established again before the GR Reconnect timer of the Helper party times out.8.5 10.10.13.10.5 15.5 13. R1 will restart the GR Reconnet timer.10.5.10.10.5.5:0 R1 MPU-0/20/0 2012-4-28 01:15:59 mpls_ldp_1:GR: GR session 10. Msgs sent/rcvd: 22/126.10.ZXR10 M6000-S Configuration Guide (MPLS) When R2 acting as the Restarter party performs the active/standby changeover or restarts the LDP protocol.10.10.10.10.10. R1 MPU-0/20/0 2012-4-28 01:15:36 mpls_ldp_1:GR: down nbr 10.5:0: lost R1 MPU-0/20/0 2012-4-28 01:15:36 mpls_ldp_1:GR: down neighbor 10.10.10.2/-1:: refreshing stale binding from 10.14.10.10.5:0:: state change (Reconnect-Wait -> Recovering) R1 MPU-0/20/0 2012-4-28 01:15:59 mpls_ldp_1:GR: ptcl_adj: 10. the Helper party will delete the GR Reconnect timer.64 8.16. Local LDP Ident: 10.10.15. Before the GR Reconnect timer times out.14.5 9.

29.5 39.3.10.5 Status: recovering (2 seconds left) Run the following commands to check the LDP label on R1: R1#show mpls forwarding-table 10.24.10.47.5/32 local binding: label: 16388 advertised to: 10. label: 16388(inuse)(stale) 10.21.5 24.50.10.10.45.5 28.31.33. and the Restarter party also associates the Helper party to restore the items of the forwarding table.19.5 103.10.10.42.34.32.28. Run the following commands to check the information of the LDP label on R1: R1#show mpls ldp bindings detail instance 1 10.Chapter 1 MPLS Configuration 17.37.5 49.15.44.20.27.10.5.5:0.10.5 40.10.5 36.5.26.5 35.37.8.41.23.8.24.9.10.10.15.26. label: exp-null(inuse)(stale) The above output information indicates that the Helper party marks the forwarding table related to GR Restarter with stale.35.25. Msgs sent/rcvd: 23/126.10.1 32.31.646 State: Oper.5 43.15.10.45.1:0 TCP connection: 10.6751 .20. Src IP addr: 106.43.19.41.1.40.35.5 10.10.10.5 45.3.29.10.5 46.10.23.5 20.44.38. Downstream Up Time: 00:01:59 LDP discovery sources: gei-0/1/0/6.2/32 local binding: label: 16395 advertised to: 10.48.5 42.15.5 48.5 37.10.2/32 gei-0/1/0/6 Next Hop M/S 106.10.40.34.5 M The above output indicates that the LDP label of Graceful Restart is not changed.10.10.10.5.5 27.38.5:0(deleting) remote binding: lsr: 10.18.36. Local LDP Ident: 10.43.21.39.27.9.50.5 38.46.28.46.5 25.42.64 8.32.10.10.5.5 34.5 Addresses bound to peer LDP Ident: 5.15.5 23.5 9.5 44.10.10.5.5:0.36.10.2 Local Outgoing Prefix or Outgoing label label Tunnel Id interface 16395 16388 10. the Helper party associates the Restarter party to restore the items of the forwarding table.0) ZTE Proprietary and Confidential .5 33.18.25.5 21.5 41.49.47.48.5 18.5 47.15.5 29.5 50.5 26. Before the GR Recovery timer of the Helper party times out.5:0(deleting) remote binding: lsr: 10.33. R1#show mpls ldp neighbor graceful-restart instance 1 Peer LDP Ident: 10.39.5 31.5 19.5 1-55 SJ-20140731105308-012|2014-10-20 (R1.5 106.5:0.49.

2 32 instance 1 10.33.35.25.5 45.29.10.42.5 24.16.34. Figure 1-23 LSP Load-Sharing Configuration Example Configuration Flow 1.5 25.5 40. label: 16388(inuse) 1. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1.32.50.33.255.10.27.25.19.1.5 41.2/32 local binding: label: 16395 remote binding: lsr: 10.5 15.10.49.5 29.27.5 Graceful Restart enabled.5 18.32.49.5 35.5 23.3.1 32. Enable the load-sharing function for the OSPF routes between R1 and R2.36.39.5 14.45.5 20.5 31.18.5 47.16.46.48.35.5 39.47.5 106.39.26.10.6.5 34.20.15. Peer reconnect time (msecs): 120000 R1#show mpls ldp bindings 10.44.5 46. Enable LDP on the interfaces between R1 and R2.23.48.24.14.21.5 28.47.41.5 17.19.44.14.26.5 48.31.5 38.24.5:0.50.28.5 16.ZXR10 M6000-S Configuration Guide (MPLS) 13.5 43.34.37.13.15.5 36.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/1/1/5 R1(config-if-gei-0/1/1/5)#no shutdown 1-56 SJ-20140731105308-012|2014-10-20 (R1.15.43.255.40.18.1.38.21.5 26.23.5 37.0) ZTE Proprietary and Confidential .5 50. and the load-sharing function is enabled for OSPF routes.5 49.10.28.5 27.1 255.40.5 44.41.13.5 19.5 42.5 33.43.36.15.37.20.10.3.42.38.31.5.5 21.45.29.5 103.7 LSP Load-Sharing Configuration Example Scenario Description Figure 1-23 shows that OSPF is enabled between R1 and R2.5. 2.46.

110.255.255 area 0.0 R2(config-ospf-1)#network 104.115.115.0.0.115.255 area 0.110.111.0.0.115.255.1.255 area 0.2 0.110.0.0 R2(config-if-gei-0/3/0/1)#exit R2(config)#router ospf 1 R2(config-ospf-1)#router-id 1.0 R2(config-ospf-1)#maximum-paths 2 1-57 SJ-20140731105308-012|2014-10-20 (R1.2 R2(config-ospf-1)#network 1.2 255.1.0.110.1.0.111.111.0 R1(config-ospf-1)#maximum-paths 2 R1(config-ospf-1)#exit R1(config)#mpls ldp instance 1 R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/1/1/5 R1(config-ldp-1-if-gei-0/1/1/5)#exit R1(config-ldp-1)#interface gei-0/3/0/1 R1(config-ldp-1-if-gei-0/3/0/1)#exit R1(config-ldp-1)#end Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.0.0.0 0.0.0.116.255.2 255.255.0 R2(config-if-gei-0/1/1/5)#exit R2(config)#interface gei-0/3/0/1 R2(config-if-gei-0/3/0/1)#no shutdown R2(config-if-gei-0/3/0/1)#ip address 104.0.0.255.255.0.0.0 R2(config-ospf-1)#network 104.255.1 255.0 0.116.1.0.2 255.0.0.0 R1(config-ospf-1)#network 104.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/1/1/5 R2(config-if-gei-0/1/1/5)#no shutdown R2(config-if-gei-0/1/1/5)#ip address 104.1 255.0 area 0.255.0 0.1 R1(config-ospf-1)#network 1.Chapter 1 MPLS Configuration R1(config-if-gei-0/1/1/5)#ip address 104.255.116.1.0) ZTE Proprietary and Confidential .0.0.255.1.0 0.0.0 R1(config-if-gei-0/3/0/1)#exit R1(config)#router ospf 1 R1(config-ospf-1)#router-id 1.1 0.1.1.0.0 R1(config-if-gei-0/1/1/5)#exit R1(config)#interface gei-0/3/0/1 R1(config-if-gei-0/3/0/1)#no shutdown R1(config-if-gei-0/3/0/1)#ip address 104.111.1.0 area 0.1.116.0.0.0 R1(config-ospf-1)#network 104.255 area 0.

0 0.110. Local LDP Ident: 1.1.0. The execution results are displayed as follows: R1(config)#show running-config ospfv2 !<ospfv2> router ospf 1 maximum-paths 2 network 1.255 area 0.0 area 0.0.255 area 0.2 gei-0/1/1/5 FULL/DR R1(config)#show mpls ldp nei instance 1 Peer LDP Ident: 1.1 $ !</ospfv2> R1(config)#show running-config ldp !<LDP> mpls ldp instance 1 interface gei-0/1/1/5 $ interface gei-0/3/0/1 $ router-id loopback1 $ !</LDP> Run the following commands on R1 to check the statuses of the OSPF neighbor and LDP neighbor.1.1.1.0.1 0.0.116.1.ZXR10 M6000-S Configuration Guide (MPLS) R2(config-ospf-1)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/1/1/5 R2(config-ldp-1-if-gei-0/1/1/5)#exit R2(config-ldp-1)#interface gei-0/3/0/1 R2(config-ldp-1-if-gei-0/3/0/1)#exit R2(config-ldp-1)#end Configuration Verification Run the show running-config ospfv2 command to check the OSPF configuration and LDP configuration.0.111.0 0.0.1.1.0.0 router-id 1.1.0.0.0 network 104.111.0.1.0 network 104.1.1:0 1-58 SJ-20140731105308-012|2014-10-20 (R1.0.1) (Process ID 1) Neighbor ID Pri State DeadTime Address Interface 1.0) ZTE Proprietary and Confidential .2 1 00:00:36 104.2:0.0.110. The execution results are displayed as follows: R1(config)#show ip ospf neighbor OSPF Router with ID (1.1.1.115.

1.2 M R1(config)#show mpls ldp binding instance 1 1.1.1. label: imp-null 17. USER-I: User-ipaddr.0/24 1-59 SJ-20140731105308-012|2014-10-20 (R1.2 gei-0/3/0/1 ospf 110 1 Run the following commands on R1 to check entries in the LSP load-sharing table.1.1.2 104. Src IP addr: 104.111.1.1.1. MULTIC: Multicast.1.116.115.110.110.111.2/32 104.115.1.1. USER-S: User-special.1.Chapter 1 MPLS Configuration TCP connection: 1.110.0/24 local binding: label: imp-null 104.2/32 local binding: label: 16384 remote binding: lsr: 1.2 M 16384 Poptag 1.1.1. Downstream Up Time: 01:04:43 LDP discovery sources: gei-0/3/0/1.111.1. GW-UE: PS-USER.1.1. label: 16386 1.1.2 104. P-VRF: Per-VRF-label.2/32 104.1/32 local binding: label: imp-null remote binding: lsr: 1.1. label: imp-null(inuse:2) 12.1. TE: RSVP-TE.2 gei-0/1/1/5. GW-FWD: PS-BUSI.110.2:0.116. status codes: *valid.1. LDP-A: LDP-area.1. Msgs sent/rcvd: 91/97.1.115.1. USER-N: User-network.2:0.1.111. >best Dest Gw Interface Owner Pri Metric *> 1.2:0.116.2 Addresses bound to peer LDP Ident: 1.2 gei-0/1/1/5 ospf 110 1 *> 1.0/24 local binding: label: imp-null remote binding: lsr: 1.116.1.1. STAT-V: Static-VRF.1. Codes Gw: Gateway.0) ZTE Proprietary and Confidential .2 IPv4 Routing Table: Headers: Dest: Destination.1.646 State: Oper. NAT64: Stateless-NAT64.26100 .115. Pri: Priority.2.2/32 gei-0/1/1/5 104.1.111.2/32 gei-0/3/0/1 104.1.1. The execution results are displayed as follows: R1(config)#show ip forwarding route 1. ASBR-V: ASBR-VPN. Src IP addr: 104. DHCP-S: DHCP-static.110. : BROADC: Broadcast. DHCP-D: DHCP-DFT.2 Run the following command on R1 to check the load-sharing condition of IGP routes. The execution results are displayed as follows: R1(config)#show mpls forwarding-table Local Outgoing Prefix or Outgoing label label Tunnel Id interface Next Hop M/S 16384 Poptag 1.

255. Enable the LDP BFD function on R1 and R2.0/24 local binding: label: imp-null remote binding: lsr: 1.255. Configure the IP addresses of loopback interfaces to be LSR router-IDs. 4.1. It is required to establish a neighbor relationship between R1 and R2.1. 2. Enable MPLS on the directly-connected interfaces of R1 and R2.1.255. label: imp-null 104. and ensure that the loopback interfaces on R1 and R2 can ping each other over the route. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1.0002.6.1.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis 1 R1(config-isis-1)#area 00.116.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.115.255.1 255. label: imp-null 1.ZXR10 M6000-S Configuration Guide (MPLS) local binding: label: imp-null remote binding: lsr: 1. Figure 1-24 LDP BFD Configuration Example Configuration Flow 1.8 LDP BFD Configuration Example Scenario Description Figure 1-24 shows that a sample network topology.2:0.2:0. and enable LDP BFD on the two routers.0) ZTE Proprietary and Confidential .1.34 255. Configure an IGP route. 3.0034 R1(config-isis-1)#interface gei-0/2/0/7 R1(config-isis-1-if-gei-0/2/0/7)#ip router isis R1(config-isis-1-if-gei-0/2/0/7)#exit 1-60 SJ-20140731105308-012|2014-10-20 (R1.100.1.0001 R1(config-isis-1)#system-id 0001.100.

1.34 32 interval 100 min-rx 20 multiplier 5 R2(config-ldp-1)#exit 1-61 SJ-20140731105308-012|2014-10-20 (R1.1.100.255.1.2 255.35 32 interval 100 min-rx 20 multiplier 5 R1(config-ldp-1)#exit Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.1.0002.100.255.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis 1 R2(config-isis-1)#area 00.0) ZTE Proprietary and Confidential .255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100.Chapter 1 MPLS Configuration R1(config-isis-1)#interface loopback1 R1(config-isis-1-if-loopback1)#ip router isis R1(config-isis-1-if-loopback1)#exit R1(config-isis-1)#exit R1(config)#mpls ldp instance 1 /*Configures the LDP router-id and an LDP interface*/ R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#bfd 1.0035 R2(config-isis-1)#interface gei-0/3/0/7 R2(config-isis-1-if-gei-0/3/0/7)#ip router isis R2(config-isis-1-if-gei-0/3/0/7)#exit R2(config-isis-1)#interface loopback1 R2(config-isis-1-if-loopbck1)#ip router isis R2(config-isis-1-if-loopbck1)#exit R2(config-isis-1)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/3/0/7 R2(config-ldp-1-if-gei-0/3/0/7)#exit R2(config-ldp-1)#bfd 1.1.255.35 255.1.255.0002 R2(config-isis-1)#system-id 0002.

1 Session holdtime: 180000 ms.1. Src IP addr: 100. Because loopback interfaces are stable (unless you close interfaces manually). hello interval: 5000 ms Addresses bound to peer LDP Ident: 1.1.1.1 holdtime: 15000 ms.1.34 100.1. The execution results are displayed as follows: R1(config)#show bfd neighbor ldp brief PeerAddr PrefixLen 1. and a neighbor relationship with R1 (1.34) has been established.34:0.100.1.34.ZXR10 M6000-S Configuration Guide (MPLS) Note: In the above configuration. Msgs sent/rcvd: 47/48. Local LDP Ident 1. the goal of running the IS-IS protocol is to advertise the router-id of each LSR (that is.35.35:0 TCP connection: 1.1.0) ZTE Proprietary and Confidential . Configuration Verification Run the show mpls ldp neighbor detail instance 1 command on R2 to check whether an LDP neighbor has been established.1.100.1. LDP dynamic capability enable: LDP send capability: LDP dynamic capability LDP Typed Wildcard FEC Cap LDP Unrecognized Noti Cap LDP received capability: LDP dynamic capability negotiate success LDP Typed Wildcard FEC Cap negotiate success LDP Unrecognized Noti Cap negotiate success In the sample output. which means that the parameter negotiation is correct.1. Run the show bfd neighbor ldp brief command on R1 to check whether an LDP BFD neighbor has been established.1069 state: Oper.1. The execution results are displayed as follows: R2(config)#show mpls ldp neighbor detail instance 1 Peer LDP Ident: 1.1.100.35 32 LD 2050 RD Hold State 2050 60 UP 1-62 SJ-20140731105308-012|2014-10-20 (R1.1.100. KA interval: 60000 ms LDP Peer BFD not register. Downstream Up Time: 00:00:30 LDP discovery sources: gei-0/3/0/7.646 . using loopback interface addresses as the router-ids of LDP instances is helpful for the stability of LDP operation.1. the route to the loopback interface). "state: Oper" indicates that the session status is Oper.1.

2 Prefixlen:0 Local Discr:2049 Remote Discr:2049 State:UP Holdown(ms):500 Vpnid:0 VRF Name:-- BFD Type:LDP[Passive] Instance Name: ---------------------------------------------------------------------------Version:1 Dest UDP Port:3784 Final Bit:1 Local Diag:0 Demand Mode:0 Poll Bit:0 MinTxInt:10 MinRxInt:10 Multiplier:3 Received MinTxInt:100 Received MinRxInt:20 Received Multiplier:5 Length:24 Min Echo Interval:0 Rx Count:1983 Rx Interval (ms) min/max/avg:0 /78 /39 Tx Count:8586 Tx Interval (ms) min/max/avg:18 /18 /18 Registered Protocols:--Uptime:0 day(s).1.Chapter 1 MPLS Configuration 100.2 minute(s) Control Plane Rcv Phy Interface Name:gei-0/2/0/7 1-63 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential .0 hour(s).0 hour(s).35 Prefixlen:32 Local Discr:2050 Remote Discr:2050 State:UP Holdown(ms):60 Vpnid:0 VRF Name:-- BFD Type:LDP[Active] Instance Name: ---------------------------------------------------------------------------Version:1 Dest UDP Port:3784 Final Bit:1 Local Diag:0 Demand Mode:0 Poll Bit:0 MinTxInt:100 MinRxInt:20 Multiplier:5 Received MinTxInt:10 Received MinRxInt:10 Received Multiplier:3 Length:24 Min Echo Interval:0 Rx Count:6393 Rx Interval (ms) min/max/avg:2 /18 /10 Tx Count:1457 Tx Interval (ms) min/max/avg:79 /79 /79 Registered Protocols:LDP LSP Uptime:0 day(s).100.100.1.2 0 2049 2049 500 UP R1(config)#show bfd neighbor ldp detail ---------------------------------------------------------------------------PeerAddr :1.100.100.2 minute(s) Control Plane Rcv Phy Interface Name:gei-0/2/0/7 ============================================================================ ---------------------------------------------------------------------------PeerAddr :100.

1.34 255.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis 1 R1(config-isis-1)#area 00.0002.9 Peer BFD Configuration Example Scenario Description Figure 1-25 shows that an LDP neighbor relationship is established between R1 and R2.100.100.0) ZTE Proprietary and Confidential . and ensure that the loopback interfaces on R1 and R2 can ping each other. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1. 3. Enable the PEER BFD function.1 255.255.255.0001 R1(config-isis-1)#system-id 0001.0034 R1(config-isis-1)#interface gei-0/2/0/7 R1(config-isis-1-if-gei-0/2/0/7)#ip router isis R1(config-isis-1-if-gei-0/2/0/7)#exit R1(config-isis-1)#interface loopback1 R1(config-isis-1-if-loopback1)#ip router isis R1(config-isis-1-if-loopback1)#exit R1(config-isis-1)#exit 1-64 SJ-20140731105308-012|2014-10-20 (R1. Configure the IP addresses of loopback interfaces to be LSR router-IDs. Enable MPLS on the directly-connected interfaces of R1 and R2. Configure an IGP route.255.ZXR10 M6000-S Configuration Guide (MPLS) ============================================================================ 1. Figure 1-25 PEER BFD Configuration Example Configuration Flow 1. 2.6. It is required to enable the peer BFD function on the two routers.255. 4.1.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.

1.100.1.1.0035 R2(config-isis-1)#interface gei-0/3/0/7 R2(config-isis-1-if-gei-0/3/0/7)#ip router isis R2(config-isis-1-if-gei-0/3/0/7)#exit R2(config-isis-1)#interface loopback1 R2(config-isis-1-if-loopbck1)#ip router isis R2(config-isis-1-if-loopbck1)#exit R2(config-isis-1)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/3/0/7 R2(config-ldp-1-if-gei-0/3/0/7)#exit R2(config-ldp-1)#peer bfd remote-routerid 1.34 R2(config-bfd)#exit 1-65 SJ-20140731105308-012|2014-10-20 (R1.1.35 R1(config-ldp-1)#exit R1(config)#bfd R1(config-bfd)#session 1 peer-bfd ipv4 1.35 R1(config-bfd)#exit Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.1.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100.255.Chapter 1 MPLS Configuration R1(config)#mpls ldp instance 1 /*Configure the LDP router-id and an LDP interface*/ R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#peer bfd remote-routerid 1.1.1.255.35 1.255.0) ZTE Proprietary and Confidential .1.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis 1 R2(config-isis-1)#area 00.1.1.1.1.0002.1.34 R2(config-ldp-1)#exit R2(config)#bfd R2(config-bfd)#session 1 peer-bfd ipv4 1.100.0002 R2(config-isis-1)#system-id 0002.2 255.255.34 1.35 255.1.

the goal of running the IS-IS protocol is to advertise the router-id of each LSR (that is. and a neighbor relationship with R1 (1. hello interval: 5000 ms Addresses bound to peer LDP Ident: 1. "state: Oper" indicates that the session status is Oper.1. Downstream Up Time: 00:00:30 LDP discovery sources: gei-0/3/0/7.1.35 2087 2085 150 UP Interface -- 1-66 SJ-20140731105308-012|2014-10-20 (R1. using loopback interface addresses as the router-ids of LDP instances is helpful for the stability of LDP operation.34 1.34:0. Src IP addr: 100.34) has been established.1. the route to the loopback interface).646 . Configuration Verification Run the show mpls ldp neighbor detail instance 1 command on R2 to check whether an LDP neighbor has been established. LDP dynamic capability enable: LDP send capability: LDP dynamic capability LDP Typed Wildcard FEC Cap LDP Unrecognized Noti Cap LDP received capability: LDP dynamic capability negotiate success LDP Typed Wildcard FEC Cap negotiate success LDP Unrecognized Noti Cap negotiate success In the sample output.35.100. Local LDP Ident 1.1.1. The execution results are displayed as follows: R1(config-ldp-1)#show bfd neighbors ip brief LocalAddr PeerAddr LD RD Hold State 1.1.100.1.1.1 holdtime: 15000 ms.1.1 Session holdtime: 180000 ms.34 100.1. Run the show bfd neighbors ip brief command on R1 to check whether a PEER BFD neighbor has been established.ZXR10 M6000-S Configuration Guide (MPLS) Note: In the above configuration.35:0 TCP connection: 1.1.1.1.1069 state: Oper. which means that the parameter negotiation is correct. Because loopback interfaces are stable (unless you close interfaces manually). Msgs sent/rcvd: 47/48. KA interval: 60000 ms LDP Peer BFD state up.100. The execution results are displayed as follows: R2(config)#show mpls ldp neighbor detail instance 1 Peer LDP Ident: 1.34.1.0) ZTE Proprietary and Confidential .100.1.1.1.

1. 1-67 SJ-20140731105308-012|2014-10-20 (R1.35 Local Discr:2087 Remote Discr:2085 Holdown(ms):150 Interface:--- Vpnid:0 VRF Name:--- State:UP BFD Type:MultiHop Instance Name:1 ---------------------------------------------------------------------------Version:1 Dest UDP Port:4784 Final Bit:1 Local Diag:0 Demand Mode:0 Poll Bit:0 MinTxInt:50 MinRxInt:50 Multiplier:3 Received MinTxInt:50 Received MinRxInt:50 Received Multiplier:3 Length:24 Min Echo Interval:0 Min BFD Length:24 Max BFD Length:24 Rx Count:8746 Rx Interval (ms) min/max/avg:0 /49 /24 Tx Count:9124 Tx Interval (ms) min/max/avg:46 /46 /46 Registered Protocols:LDPINSTANCE Uptime:0 day(s). l l In the GTSM-based non-directly-connected session configuration.1.10 GTSM Configuration Example Scenario Description Figure 1-26 shows a sample network topology for the GTSM configuration.7 minute(s) Control Plane Rcv Phy Interface Name:gei-0/2/0/7 ============================================================================ 1. In the GTSM-based directly-connected session configuration.34 PeerAddr :1.6. it is required to respectively configure a GTSM-based directly-connected session on R1 and R2 to negotiate the session between the two ends.0 hour(s). This can prevent a target session being established between R2 and R3.0) ZTE Proprietary and Confidential .1.1.Chapter 1 MPLS Configuration R1(config-ldp-1)#show bfd neighbors ip detail ---------------------------------------------------------------------------LocalAddr:1. it is required to set the hop count of the session to 1 on R2.

200.0 R1(config-if-gei-0/2/0/8)#exit R1(config)#router isis R1(config-isis-0)#area 00. 3.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#interface gei-0/2/0/8 R1(config-if-gei-0/2/0/8)#no shutdown R1(config-if-gei-0/2/0/8)#ip address 200.0002. set the hop count for the GTSM-based non-directly-connected session to 1.1 255.0034 R1(config-isis-0)#interface gei-0/2/0/7 R1(config-isis-0-if-gei-0/2/0/7)#ip router isis R1(config-isis-0-if-gei-0/2/0/7)#exit R1(config-isis-0)#interface gei-0/2/0/8 R1(config-isis-0-if-gei-0/2/0/8)#ip router isis R1(config-isis-0-if-gei-0/2/0/8)#exit R1(config-isis-0)#interface loopback1 R1(config-isis-0-if-loopback1)#ip router isis R1(config-isis-0-if-loopback1)#exit R1(config-isis-0)#exit 1-68 SJ-20140731105308-012|2014-10-20 (R1. 4. Establish a directly-connected session between R1 and R3.ZXR10 M6000-S Configuration Guide (MPLS) Figure 1-26 GTSM Configuration Example Configuration Flow 1.255.255. On R2.0) ZTE Proprietary and Confidential . 5.0001 R1(config-isis-0)#system-id 0001.34 255.255. On R1. 2.255. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1. configure a GTSM-based directly-connected session with R2.1 255.200. 6.100.1. configure a GTSM-based directly-connected session with R1.255. On R2.100.1.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100. Establish a directly-connected session between R1 and R2.255. Establish a target session between R2 and R3.

35 255.1.1.0002.1.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100. and configure the neighbor*/ /*address to the router-id of R3*/ R2(config-ldp-1)#gtsm target-neighbor 1.255.255.2 255.255.255.39 hop-count 1 R2(config-ldp-1)#exit 1-69 SJ-20140731105308-012|2014-10-20 (R1.*/ /*set the GTSM hop count to 1.1.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis R2(config-isis-0)#area 00.100.Chapter 1 MPLS Configuration R1(config)#mpls ldp instance 1 R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 /*Run the following command to configure a GTSM-based directly-connected session: */ R1(config-ldp-1-if-gei-0/2/0/7)#gtsm R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#interface gei-0/2/0/8 R1(config-ldp-1-if-gei-0/2/0/8)#exit R1(config-ldp-1)#exit Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.39 /*After the target session between R2 and R3 goes up.0002 R2(config-isis-0)#system-id 0002.0035 R2(config-isis-0)#interface gei-0/3/0/7 R2(config-isis-0-if-gei-0/3/0/7)#ip router isis R2(config-isis-0-if-gei-0/3/0/7)#exit R2(config-isis-0)#interface loopback1 R2(config-isis-0-if-loopback1)#ip router isis R2(config-isis-0-if-loopback1)#exit R2(config-isis-0)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp)#interface gei-0/3/0/7 /*Run the following command to configure a GTSM-based directly-connected session: */ R2(config-ldp-1-if-gei-0/3/0/7)#gtsm R2(config-ldp-1-if-gei-0/3/0/7)#exit R2(config-ldp-1)#target-session 1.1.0) ZTE Proprietary and Confidential .1.100.

1.39.200.100.200.0003.2 200.0039 R3(config-isis-0)#interface gei-0/3/0/7 R3(config-isis-0-if-gei-0/3/0/7)#ip router isis R3(config-isis-0-if-gei-0/3/0/7)#exit R3(config-isis-0)#interface loopback1 R3(config-isis-0-if-loopback1)#ip router isis R3(config-isis-0-if-loopback1)#exit R3(config-isis-0)#exit R3(config)#mpls ldp instance 1 R3(config-ldp-1)#router-id loopback1 R3(config-ldp-1)#interface gei-0/3/0/7 R3(config-ldp-1-if-gei-0/3/0/7)#exit R3(config-ldp-1)#target-session 1.1072 .255 R3(config-if-loopback1)#exit R3(config)#interface gei-0/3/0/7 R3(config-if-gei-0/3/0/7)#no shutdown R3(config-if-gei-0/3/0/7)#ip address 200.1.1. R2 cannot received the packets from R3. 1-70 SJ-20140731105308-012|2014-10-20 (R1.1. Downstream Up Time: 00:00:02 LDP discovery sources: Targeted Hello (1.1.1.39:0.1.255.1. Src IP addr: 1.39 255.35 R3(config-ldp-1)#exit Configuration Verification Run the show mpls ldp neighbor command on R2 to check whether a neighbor has been established (performed after the GTSM configuration and before the session times out): R2(config)#show mpls ldp neighbor instance 1 Peer LDP Ident: 1.646 state: Oper.1.1. Msgs sent/rcvd: 50/46.39).100.255.200.1.39 Addresses bound to peer LDP Ident: 1.0) ZTE Proprietary and Confidential . and the hop count between R2 and R3 is 2.1.39.255.2 LDP neighbor may be up to 1 hops away Because the hop count for the GTSM-based non-directly-connected session is set to 1.1.1.ZXR10 M6000-S Configuration Guide (MPLS) Run the following commands on R3: R3(config)#interface loopback1 R3(config-if-loopback1)#ip address 1.1.0003 R3(config-isis-0)#system-id 0003.1.1.255. Local LDP Ident 1.2 255.1.200.35:0 TCP connection: 1.0 R3(config-if-gei-0/3/0/7)#exit R3(config)#router isis R3(config-isis-0)#area 00.39 100.1.

100.646 .35:0. 1.1. set the timeout of the delay timer for LDP IGP synchronization to 10 seconds. After the GTSM configuration is deleted.1.255 R1(config-if-loopback1)#exit 1-71 SJ-20140731105308-012|2014-10-20 (R1. Run the show mpls ldp neighbor command on R1 to check whether a neighbor has been established. R1(config)#show mpls ldp neighbor instance 1 Peer LDP Ident: 1.111 255. It is required to enable LDP IGP synchronization on the two OSPF interfaces of R1.1072 state: Oper.1.2 LDP neighbor may be up to 1 hops away It can be seen that the negotiation for the GTSM-based directly-connected session between R1 and R2 is successful.1.35. Figure 1-27 LDP IGP Synchronization Configuration Example (OSPF) Configuration Flow 1. 3. Downstream Up Time: 00:00:02 LDP discovery sources: gei-0/2/0/7.1. Src IP addr: 100.255. Local LDP Ident 1.2 Addresses bound to peer LDP Ident: 1.Chapter 1 MPLS Configuration which causes the session to go down.1.11 LDP IGP Synchronization Configuration Example (OSPF) Scenario Description Figure 1-27 shows a sample network topology. Establish a directly-connected session between R1 and R2.1.100.34:0 TCP connection: 1.1. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 111.100.1. Configure an OSPF instance on R1.100. On R1.34. and enable LDP IGP synchronization for the OSPF instance. 2.0) ZTE Proprietary and Confidential .35 100.1. the session comes up again.111.111. Msgs sent/rcvd: 46/50.255.6.1.

255.255.100 255.40.0 R2(config-ospf-1)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/1/0/3 R2(config-ldp-1)#interface gei-0/1/0/4 1-72 SJ-20140731105308-012|2014-10-20 (R1.255.255.20.0) ZTE Proprietary and Confidential .20.0 R1(config-if-gei-0/1/0/3)#no shutdown R1(config-if-gei-0/1/0/3)#exit R1(config)#interface gei-0/1/0/4 R1(config-if-gei-0/1/0/4)#ip address 40.255.255.255 area 0.100 255.121.0.40.0 R1(config-if-gei-0/1/0/4)#no shutdown R1(config-if-gei-0/1/0/4)#exit R1(config)#router ospf 1 R1(config-ospf-1)#mpls ldp sync R1(config-ospf-1)#network 0.0 R1(config-ospf-1)#exit R1(config)#mpls ldp instance 1 R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/1/0/3 R1(config-ldp-1)#interface gei-0/1/0/4 R1(config-ldp-1)#igp sync delay 10 Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 121.40.255.255.20.0.0 R2(config-if-gei-0/1/0/3)#no shutdown R2(config-if-gei-0/1/0/3)#exit R2(config)#interface gei-0/1/0/4 R2(config-if-gei-0/1/0/4)#ip address 40.255.ZXR10 M6000-S Configuration Guide (MPLS) R1(config)#interface gei-0/1/0/3 R1(config-if-gei-0/1/0/3)#ip address 20.200 255.121.255.0 R2(config-if-gei-0/1/0/4)#no shutdown R2(config-if-gei-0/1/0/4)#exit R2(config)#router ospf 1 R2(config-ospf-1)#network 0.0.0.255.255 area 0.255.0.0 255.40.200 255.0 255.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/1/0/3 R2(config-if-gei-0/1/0/3)#ip address 20.121 255.0.20.0.255.255.0.

121:0. Local LDP Ident: 111.121.40.121. gei-0/1/0/3: LDP configured. Msgs sent/rcvd: 47/64. LDP-IGP Synchronization enabled.20.121.40.200 gei-0/1/0/4.111.121 It can be seen that the session is maintained by sending hello messages from the two interfaces.121.111:0 TCP connection: 121.20.100) (Process ID 1) gei-0/1/0/4 is up Track State is unknown Internet Address 40. The execution results are displayed as follows: Peer LDP Ident: 121.111.255.121.111.40. Sync status: Ready Peers: 121.255. Src IP addr: 20.40. LDP-IGP Synchronization enabled.40.121.200 121.200 40. Run the show mpls ldp igp sync ins 1 command on R1 to check the information and status of LDP IGP synchronization.Chapter 1 MPLS Configuration Configuration Verification Run the show mpls ldp neighbor command to check whether a neighbor has been established.0 DR Cost 1. Sync status: Ready Peers: 121.121.200 Addresses bound to peer LDP Ident: 20.0.20.121.0.111.121:0 (Fully Operational) gei-0/1/0/4: LDP configured.121.0) ZTE Proprietary and Confidential .20.26459 . OSPF Router with ID (20.20. Downstream Up Time: 00:29:46 LDP discovery sources: gei-0/1/0/3.111.100 255.111.20.121. Src IP addr: 40. Authentication Type null TTL security disabled LDP sync enabled LDP sync state achieved Sending max metric 1-73 SJ-20140731105308-012|2014-10-20 (R1. Network Type broadcast Transmit Delay(sec) 1.0 enable Up for 01:00:28 In the area 0.40.121. Priority 1.646 State: Oper.121:0 (Fully Operational) Run the show ip ospf interface command on R1 to check the information and status of LDP IGP synchronization for OSPF interfaces.

40. Retransmit 5 Designated Router (ID) 20. Number of Adjacent neighbors 1 22.0 enable Up for 01:37:22 In the area 0.ZXR10 M6000-S Configuration Guide (MPLS) Timer intervals(sec) : Hello 10. Interface address 40.22.40.121. Dead 40.40.22.100 Backup Designated router (ID) 22.0.22.40. gei-0/1/0/3: LDP configured.22. Retransmit 5 Designated Router (ID) 20. LDP-IGP Synchronization enabled.22 BDR Run the shutdown command on the gei-0/1/0/4 interface of R2. It can be seen that the status of LDP IGP synchronization for the gei-0/1/0/4 interface is not achieved.40. Sync status: Not ready Peers: Run the show ip ospf interface command on R1 to check the information and status of LDP IGP synchronization for the OSPF interfaces. Network Type broadcast Transmit Delay(sec) 1. Authentication Type null TTL security disabled LDP sync enabled LDP sync state unachieved Sending max metric Timer intervals(sec) : Hello 10.22 BDR 1-74 SJ-20140731105308-012|2014-10-20 (R1. It can be seen that the status of LDP IGP synchronization for the gei-0/1/0/4 interface changes to Not ready.40.100) (Process ID 1) gei-0/1/0/4 is up Track State is unknown Internet Address 40.40.22.0 DR Cost 1.121:0 (Fully Operational) gei-0/1/0/4: LDP configured.121.22.100 Backup Designated router (ID) 22.40. LDP-IGP Synchronization enabled.100 255.100.22.22. Sync status: Ready Peers: 121. Priority 1.22.20.200 Number of Neighbors 1. Interface address 40. Interface address 40.20.20. Number of Adjacent neighbors 1 22.20.20.0.255. OSPF Router with ID (20.200 Number of Neighbors 1. and check the status of OSPF IGP synchronization and metric of the OSPF route. Run the show mpls ldp igp sync ins 1 command on R1 to check the information and status of LDP IGP synchronization. Interface address 40.0) ZTE Proprietary and Confidential .22. Dead 40.100.20.40.255.40.

255.255.100 255. On R1. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 111.255.20. 2.0001 R1(config-isis-0)#system-id 0001. It is required to enable LDP IGP Figure 1-28 LDP IGP Synchronization Configuration Example (IS-IS) Configuration Flow 1. Configure an IS-IS instance on R1.0 R1(config-if-gei-0/1/0/4)# no shutdown R1(config-if-gei-0/1/0/4)#exit R1(config)#router isis R1(config-isis-0)#area 00.40.111 255.111. 3.6.Chapter 1 MPLS Configuration 1. and enable LDP IGP synchronization for the IS-IS instance.40.20.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/1/0/3 R1(config-if-gei-0/1/0/3)# ip address 20.0034 R1(config-isis-0)#mpls ldp sync R1(config-isis-0)#interface gei-0/1/0/3 R1(config-isis-0-if-gei-0/1/0/3)#ip router isis R1(config-isis-0-if-gei-0/1/0/3)#exit R1(config-isis-0)#interface gei-0/1/0/4 R1(config-isis-0-if-gei-0/1/0/4)#ip router isis 1-75 SJ-20140731105308-012|2014-10-20 (R1.100 255.0002.255.111. set the timeout of the delay timer for LDP IGP synchronization to 10 seconds.0) ZTE Proprietary and Confidential . Establish a directly-connected session between R1 and R2.12 LDP IGP Synchronization Configuration Example (IS-IS) Scenario Description Figure 1-28 shows a sample network topology.0 R1(config-if-gei-0/1/0/3)# no shutdown R1(config-if-gei-0/1/0/3)#exit R1(config)#interface gei-0/1/0/4 R1(config-if-gei-0/1/0/4)# ip address 40.255. synchronization on the two IS-IS interfaces of R1.255.

200 255.0 R2(config-if-gei-0/1/0/3)# no shutdown R2(config-if-gei-0/1/0/3)#exit R2(config)#interface gei-0/1/0/4 R2(config-if-gei-0/1/0/4)# ip address 40.20.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/1/0/3 R2(config-if-gei-0/1/0/3)# ip address 20.0 R2(config-if-gei-0/1/0/4)# no shutdown R2(config-if-gei-0/1/0/4)#exit R2(config)#router isis R2(config-isis-0)#area 00.200 255.255.0002 R2(config-isis-0)#system-id 0002.40.0) ZTE Proprietary and Confidential .255.121.0002.0035 R2(config-isis-0)#mpls ldp sync R2(config-isis-0)#interface gei-0/1/0/3 R2(config-isis-0-if-gei-0/1/0/3)#ip router isis R2(config-isis-0-if-gei-0/1/0/3)#exit R2(config-isis-0)#interface gei-0/1/0/4 R2(config-isis-0-if-gei-0/1/0/4)#ip router isis R2(config-isis-0-if-gei-0/1/0/4)#exit R2(config-isis-0)#interface loopback1 R2(config-isis-0-if-loopbck1)#ip router isis R2(config-isis-0-if-loopbck1)#exit R2(config-isis-0)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/1/0/3 R2(config-ldp-1)#interface gei-0/1/0/4 1-76 SJ-20140731105308-012|2014-10-20 (R1.121.255.40.ZXR10 M6000-S Configuration Guide (MPLS) R1(config-isis-0-if-gei-0/1/0/4)#exit R1(config-isis-0)#interface loopback1 R1(config-isis-0-if-loopback1)#ip router isis R1(config-isis-0-if-loopback1)#exit R1(config-isis-0)#exit R1(config)#mpls ldp instance 1 R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/1/0/3 R1(config-ldp-1)#interface gei-0/1/0/4 R1(config-ldp-1)#igp sync delay 10 Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 121.20.255.121 255.255.255.

40.646 State: Oper. Sync status: Ready Peers: 121.20.121.Chapter 1 MPLS Configuration Configuration Verification Run the show mpls ldp neighbor command to check whether a neighbor has been established. gei-0/1/0/3: LDP configured.111.121.200 40.40. Sync Status(L1/L2): Achieved/Achieved Level-1 Metric:10 Priority:64 LAN ID:no found Number of active adjacencies:0 Next hello in seconds:3 Level-2 Metric:10 Priority:64 LAN ID:ZXR10.111. Sync status: Ready Peers: 121. The execution results are displayed as follows: Peer LDP Ident: 121.121:0.111:0 TCP connection: 121.111.121.200 Addresses bound to peer LDP Ident: 20.02 1-77 SJ-20140731105308-012|2014-10-20 (R1.121. Src IP addr: 20.111. LDP-IGP Synchronization enabled.0) ZTE Proprietary and Confidential .121.26469 . It can be seen that the status has changed to "Achieved".121. Msgs sent/rcvd: 22/21.121:0 (Fully Operational) Run the show isis circuits detail command to check the information and status of LDP IGP synchronization for the IS-IS interfaces of R1.40.121. Src IP addr: 40.111.200 121.121.121.121. Run the show mpls ldp igp sync ins 1 command on R1 to check the information and status of LDP IGP synchronization. ZXR10(config-isis-0)#show isis circuits detail Process ID: 0 Interface:gei-0/1/0/3 Status:Up Track Status:Unknown Encapsulation:SAP Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable.200 gei-0/1/0/4.40.121.20. Local LDP Ident: 111. Downstream Up Time: 00:14:03 LDP discovery sources: gei-0/1/0/3.121:0 (Fully Operational) gei-0/1/0/4: LDP configured.20.20.111.121 It can be seen that the session is maintained by sending hello messages from the two interfaces. LDP-IGP Synchronization enabled.

00 Active Adj state:No adjacency Next hello in seconds:0 Run the shutdown command on the gei-0/1/0/4 interface of R2.121:0 (Fully Operational) gei-0/1/0/4: LDP configured. Sync Status(L1/L2): Achieved/Achieved Level-1 Metric:10 Priority:64 LAN ID:no found Number of active adjacencies:0 Next hello in seconds:8 Level-2 Metric:10 Priority:64 LAN ID:ZXR10.03 Number of active adjacencies:1 Next hello in seconds:8 Interface:loopback11 Status:Up Track Status:Unknown Encapsulation:SAP Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable. 1-78 SJ-20140731105308-012|2014-10-20 (R1. gei-0/1/0/3: LDP configured. Sync status: Ready Peers: 121.121. It can be seen that the status of LDP IGP synchronization for the gei-0/1/0/4 interface changes to "Not ready". Sync status: Not ready Peers: Run the show isis circuits detail command on R1 to check the information and status of LDP IGP synchronization for the IS-IS interfaces of R1. Sync Status(L1/L2): Unknown/Unknown Level-1 Metric:10 Level-2 Metric:10 Circuit ID:ZXR10. It can be seen that the status of LDP IGP synchronization for the gei-0/1/0/4 interface is "unachieved".0) ZTE Proprietary and Confidential . Run the show mpls ldp igp sync ins 1 command on R1 to check the information and status of LDP IGP synchronization.121. LDP-IGP Synchronization enabled.ZXR10 M6000-S Configuration Guide (MPLS) Number of active adjacencies:1 Next hello in seconds:3 Interface:gei-0/1/0/4 Status:Up Track Status:Unknown Encapsulation:SAP Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable. and check the status of IS-IS IGP synchronization and the metric of the IS-IS route. LDP-IGP Synchronization enabled.

1-79 SJ-20140731105308-012|2014-10-20 (R1.13 Instance with LDPIGP Synchronization Integrated with FRR Scenario Description Configure LDPIGP synchronization and the FRR on R1 and LDPIGP synchronization on R2. Sync Status(L1/L2): UnAchieved/UnAchieved Level-1 Metric:63 Priority:64 LAN ID:no found Number of active adjacencies:0 Next hello in seconds:2 Level-2 Metric:63 Priority:64 LAN ID:no found Number of active adjacencies:0 Next hello in seconds:2 Interface:loopback11 Status:Up Track Status:Unknown Encapsulation:SAP Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable.0) ZTE Proprietary and Confidential .6.Chapter 1 MPLS Configuration Process ID: 0 Interface:gei-0/1/0/3 Status:Up Track Status:Unknown Encapsulation:SAP Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable.00 Active Adj state:No adjacency Next hello in seconds:0 1.02 Number of active adjacencies:1 Next hello in seconds:7 Interface:gei-0/1/0/4 Status:Up Track Status:Unknown Encapsulation:SAP Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable.You can check the LDPIGP synchronization and FRR operation result on R1 through a serieas of operations. Sync Status(L1/L2): Achieved/Achieved Level-1 Metric:10 Priority:64 LAN ID:no found Number of active adjacencies:0 Next hello in seconds:7 Level-2 Metric:10 Priority:64 LAN ID:ZXR10. Sync Status(L1/L2): Unknown/Unknown Level-1 Metric:10 Level-2 Metric:10 Circuit ID:ZXR10.

255.73 255.0. Configure the IS-IS routing protocol on R1 and enable the FRR and LDPIGP synchronization function.73 255. 4.255.3.255.0 R1(config-if-xgei-0/2/0/3)#exit R1(config)#interface xgei-0/2/0/4 R1(config-if-xgei-0/2/0/4)#ip address 104.ZXR10 M6000-S Configuration Guide (MPLS) Figure 1-29 Network Diagram for LDPIGP Synchronization Integrated with FRR Configuration Flow 1.73 255. 3.2. Configuration Commands Run the following commands on R1: R1(config)#interface xgei-0/2/0/3 R1(config-if-xgei-0/2/0/3)#ip address 103.0.0) ZTE Proprietary and Confidential . Configure the IS-IS routing protocol on R2 and enable the LDPIGP synchronization function.0 R1(config-if-xgei-0/2/0/4)#exit R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 3.255 R1(config-if-loopback1)#exit R1(config)#router isis R1(config-isis-0)#interface xgei-0/2/0/3 R1(config-isis-0-if-xgei-0/2/0/3)#ip router isis R1(config-isis-0-if-xgei-0/2/0/3)#metric 30 R1(config-isis-0-if-xgei-0/2/0/3)#exit R1(config-isis-0)#interface xgei-0/2/0/4 R1(config-isis-0-if-xgei-0/2/0/4)#ip router isis R1(config-isis-0-if-xgei-0/2/0/4)#metric 20 R1(config-isis-0-if-xgei-0/2/0/4)#exit R1(config-isis-0)#fast-reroute enable R1(config-isis-0)#mpls ldp sync R1(config-isis-0)#exit R1(config)#mpls ldp instance 1 R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface xgei-0/2/0/3 1-80 SJ-20140731105308-012|2014-10-20 (R1.73. Configure the MPLS LDP protocol on R2.255. Configure the MPLS LDP protocol on R1.255.2.255. 2.

MULTIC: Multicast.0.72 255. GW-FWD: PS-BUSI.255. GW-UE: PS-USER.3.255 R2(config-if-loopback1)#exit R2(config)#router isis R2(config-isis-0)#interface xgei-0/3/0/3 R2(config-isis-0-if-xgei-0/3/0/3)#ip router isis R2(config-isis-0-if-xgei-0/3/0/3)#exit R2(config-isis-0)#interface xgei-0/2/0/17 R2(config-isis-0-if-xgei-0/2/0/17)#ip router isis R2(config-isis-0-if-xgei-0/2/0/17)#exit R2(config-isis-0)#mpls ldp sync R2(config-isis-0)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface xgei-0/3/0/3 R2(config-ldp-1-if-xgei-0/3/0/3)#exit R2(config-ldp-1)#interface xgei-0/2/0/17 R2(config-ldp-1-if-xgei-0/2/0/17)#exit R2(config-ldp-1)#exit Configuration Verification 1. Codes : BROADC: Broadcast.255.0.0 R2(config-if-xgei-0/3/0/3)#exit R2(config)#interface xgei-0/2/0/17 R2(config-if-xgei-0/2/0/17)# ip address 104.72 255. 1-81 SJ-20140731105308-012|2014-10-20 (R1. P-VRF: Per-VRF-label.72. M/S: Master/Slave. DHCP-D: DHCP-DFT. USER-I: User-ipaddr.Chapter 1 MPLS Configuration R1(config-ldp-1-if-xgei-0/2/0/3)#exit R1(config-ldp-1)#interface xgei-0/2/0/4 R1(config-ldp-1-if-xgei-0/2/0/4)#exit R1(config-ldp-1)#exit Run the following commands on R2: R2(config)#interface xgei-0/3/0/3 R2(config-if-xgei-0/3/0/3)#ip address 103. Gw: Gateway. NAT64: Stateless-NAT64. Run the show ip forwarding backup route command to check the LDP FRR table items on R1. TE: RSVP-TE. DHCP-S: DHCP-static.255. STAT-V: Static-VRF.255.2.72 255.2. ASBR-V: ASBR-VPN.0) ZTE Proprietary and Confidential .255. Sta: Status. Pri: Priority.255. LDP-A: LDP-area.0 R2(config-if-xgei-0/2/0/17)#exit R2(config-if-loopback1)#ip address 3. The execution result is displayed as follows: R1#show ip forwarding backup route IPv4 Routing Table: Headers: Dest: Destination. USER-S: User-special. USER-N: User-network.

run the show ip forwardi ng backup route command to check the LDP FRR table items. Sta: Status. After the no shutdown command is performed on the active link interface xgei-0/2/0/4 on R1.73.72 xgei-0/2/0/3 ISIS-L2 115 30 S U *> 149.ZXR10 M6000-S Configuration Guide (MPLS) Status codes: *valid.3.72 xgei-0/2/0/3 ISIS-L1 115 40 S U *> 110. Gw: Gateway. P-VRF: Per-VRF-label. USER-I: User-ipaddr. ASBR-V: ASBR-VPN. DHCP-D: DHCP-DFT.72. >best.2.0.0.0. the active link is restored but the LDP concentration is not completed.3. GW-FWD: PS-BUSI.0/24 Pri Metric M/S Sta 2.72.2. M: Master.72 xgei-0/2/0/4 ISIS-L2 115 20 M I * 103.2.02 Number of active adjacencies:1 Level-2 Metric:30 Priority:64 LAN ID:3.0.72.72 xgei-0/2/0/4 ISIS-L1 115 30 M I * 3. M: Master.2.0.72/32 103. Sync Status(L1/L2): Achieved/Achieved Level-1 Metric:30 Priority:64 LAN ID:3. STAT-V: Static-VRF. set the IGP metric to the maximum number.72 xgei-0/2/0/3 ISIS-L2 115 30 S U 110. GW-UE: PS-USER. The execution result is displayed as follows: R1#show isis circuits detail Process ID: 0 Interface:xgei-0/2/0/3 Status:Up Track Status:Unknown Encapsulation:SAP ISIS MTU:1583 Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable. Status codes: *valid.0/24 104.3. NAT64: Stateless-NAT64. USER-S: User-special.72/32 104. 3.2.0. MULTIC: Multicast. U: Unuse. Dest Gw Interface Owner *> 3. The execution result is displayed as follows: R1#show ip forwarding backup route IPv4 Routing Table: Headers: Dest: Destination.1. Pri: Priority.0/24 104. After the active link interface xgei-0/2/0/4 is shutdown on R1. TE: RSVP-TE. I: Inuse. S: Slave. Codes : BROADC: Broadcast. U: Unuse.0.2.02 Number of active adjacencies:1 1-82 SJ-20140731105308-012|2014-10-20 (R1. >best. LDP-A: LDP-area. M/S: Master/Slave. I: Inuse.3. Dest Gw Interface Owner Pri Metric M/S Sta This item is null.72 xgei-0/2/0/4 ISIS-L2 115 20 M I * 103. S: Slave. DHCP-S: DHCP-static.0/24 149.0) ZTE Proprietary and Confidential .72. USER-N: User-network.0.1.73.

0) ZTE Proprietary and Confidential . Run the show isis topology command to check the route topology on R1. the IGP metric on R1 becomes a normal value.1000 IS-IS paths to Level-2 routers System id Metric Next-Hop Interface SNPA R2 30 R2 xgei-0/2/0/3 00D0.73.0372. Sync Status(L1/L2): Achieved/Achieved Level-1 Metric:30 Priority:64 LAN ID:3.0372.04 Number of active adjacencies:1 Level-2 Metric:16777214 Priority:64 LAN ID:3. After the LDP concentration is completed.73.73.73.Chapter 1 MPLS Configuration Interface:xgei-0/2/0/4 Status:Up Track Status:Unknown Encapsulation:SAP ISIS MTU:1583 Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable. The execution result is displayed as follows: R1#show isis circuits detail Process ID: 0 Interface:xgei-0/2/0/3 Status:Up Track Status:Unknown Encapsulation:SAP ISIS MTU:1583 Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable.04 Number of active adjacencies:1 4. The execution result is displayed as follows: R1(config)#show isis topology Process ID: 0 IS-IS paths to Level-1 routers System id Metric Next-Hop Interface SNPA R2 30 R2 xgei-0/2/0/3 00D0. Sync Status(L1/L2): UnAchieved/UnAchieved Level-1 Metric:16777214 Priority:64 LAN ID:3.1000 R1 -- R3 60 R2 xgei-0/2/0/3 00D0.0372. when concentration of LDP and IGP is completed.1000 5.02 Number of active adjacencies:1 Level-2 Metric:30 Priority:64 LAN ID:3.1000 R1 -- R3 60 R2 xgei-0/2/0/3 00D0.02 Number of active adjacencies:1 1-83 SJ-20140731105308-012|2014-10-20 (R1.0372.

1000 R1 -- R3 50 R2 xgei-0/2/0/4 00D0. The execution result is displayed as follows: R1(config)#show ip forwarding backup route IPv4 Routing Table: Headers: Dest: Destination. The execution result is displayed as follows: R1#show isis topology Process ID: 0 IS-IS paths to Level-1 routers System id Metric Next-Hop Interface SNPA R2 20 R2 xgei-0/2/0/4 00D0.2. Run the show isis topology command on R1 to check the route topology. Dest Gw Interface Owner Pri Metric M/S Sta *> 3. STAT-V: Static-VRF.0.0.72 xgei-0/2/0/3 ISIS-L1 115 40 S U *> 110.3.72.72 xgei-0/2/0/4 ISIS-L1 115 30 M I * 3.0372.04 Number of active adjacencies:1 6. GW-UE: PS-USER.1000 R1 -- R3 50 R2 xgei-0/2/0/4 00D0. TE: RSVP-TE.0/24 104.2.73.72.0.1. DHCP-D: DHCP-DFT. MULTIC: Multicast. U: Unuse.73. DHCP-S: DHCP-static. I: Inuse.72 xgei-0/2/0/4 ISIS-L2 115 20 M I 1-84 SJ-20140731105308-012|2014-10-20 (R1. Status codes: *valid.0372.ZXR10 M6000-S Configuration Guide (MPLS) Interface:xgei-0/2/0/4 Status:Up Track Status:Unknown Encapsulation:SAP ISIS MTU:1583 Circuit Type:Level-1-2 MPLS LDP Sync(L1/L2): Enable/Enable. Gw: Gateway.0372.3. Run the show ip forwarding backup route command to check the route forwarding table on R1.2. USER-I: User-ipaddr.72/32 103.3.0372. Codes : BROADC: Broadcast. >best. S: Slave.0) ZTE Proprietary and Confidential . M/S: Master/Slave.1000 IS-IS paths to Level-2 routers System id Metric Next-Hop Interface SNPA R2 20 R2 xgei-0/2/0/4 00D0. USER-N: User-network. Sync Status(L1/L2): Achieved/Achieved Level-1 Metric:20 Priority:64 LAN ID:3. NAT64: Stateless-NAT64.04 Number of active adjacencies:1 Level-2 Metric:20 Priority:64 LAN ID:3.1000 7. Pri: Priority. USER-S: User-special. P-VRF: Per-VRF-label. LDP-A: LDP-area.72/32 104. M: Master. Sta: Status. ASBR-V: ASBR-VPN. GW-FWD: PS-BUSI.

Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1.0.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.0. 4.72 xgei-0/2/0/3 ISIS-L2 115 30 S U 149.72 xgei-0/2/0/4 ISIS-L2 115 20 M I * 103.0) ZTE Proprietary and Confidential .0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis 1 R1(config-isis-1)#area 00.34 255. Enable MPLS on the directly-connected interfaces of R1 and R2.3.0002.0034 1-85 SJ-20140731105308-012|2014-10-20 (R1.Chapter 1 MPLS Configuration * 110.255. 2.72 xgei-0/2/0/3 ISIS-L2 115 30 S U *> 149.255.1.0/24 104. Configure an IGP route.14 Packet Filtration Configuration Example Scenario Description Figure 1-30 shows a sample network topology.2.0.72.0. Enable packet filtration on R1. and ensure that the loopback interfaces on R1 and R2 can ping each other.0. Configure an ACL on R1. Set the IP addresses of loopback interfaces to LSR router-IDs.2.0001 R1(config-isis-1)#system-id 0001.1 255.72.100.6. 3.1. It is required to establish an LDP neighbor between R1 and R2 and enable packet filtration on R1.255.100. Figure 1-30 Packet Filtration Configuration Example Configuration Flow 1.0/24 1.0/24 103.255.1. 5.2.

35 255.0.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100.1.100.1.1.0.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis R2(config-isis-1)#area 00.0 any R1(config-ipv4-acl)#rule 3 permit any R1(config)#mpls ldp instance 1 R1(config-ldp-1)#filter packet for 1 Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.0 any R1(config-ipv4-acl)#rule 2 deny udp 100.0002.1.0.255.100.0002 R2(config-isis-1)#system-id 0002.100.0) ZTE Proprietary and Confidential .255.100.255.ZXR10 M6000-S Configuration Guide (MPLS) R1(config-isis-1)#interface gei-0/2/0/7 R1(config-isis-1-if-gei-0/2/0/7)#ip router isis R1(config-isis-1-if-gei-0/2/0/7)#exit R1(config-isis-1)#interface loopback1 R1(config-isis-1-if-loopback1)#ip router isis R1(config-isis-1-if-loopback1)#exit R1(config-isis-1)#exit R1(config)#mpls ldp instance 1 /*Run the following commands to configure the LDP router-id and an LDP interface*/ R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#exit R1(config)#ipv4-access-list 1 R1(config-ipv4-acl)#rule 1 deny tcp 1.0035 R2(config-isis-1)#interface gei-0/3/0/7 R2(config-isis-1-if-gei-0/3/0/7)#ip router isis R2(config-isis-1-if-gei-0/3/0/7)#exit R2(config-isis-1)#interface loopback1 R2(config-isis-1-if-loopbck1)#ip router isis R2(config-isis-1-if-loopbck1)#exit R2(config-isis-1)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 1-86 SJ-20140731105308-012|2014-10-20 (R1.2 255.35 0.2 0.0.255.

the goal of running the IS-IS protocol is to advertise the router-id of each LSR (that is. Local LDP Ident 1. “state: Sent” indicates that the session status is Sent.100. KA interval: 60000 ms LDP Peer BFD not register. Downstream Up Time: 00:00:30 LDP discovery sources: gei-0/3/0/7.1. LDP dynamic capability disable: LDP send capability: LDP dynamic capability LDP Typed Wildcard FEC Cap LDP Unrecognized Noti Cap LDP received capability: In the sample output information. although the local end initiates a TCP connection and the connection has been established.Chapter 1 MPLS Configuration R2(config-ldp-1)#interface gei-0/3/0/7 R2(config-ldp-1-if-gei-0/3/0/7)#exit R2(config-ldp-1)#exit l l Note: In the above configuration. 1-87 SJ-20140731105308-012|2014-10-20 (R1.1.0) ZTE Proprietary and Confidential . R1(config)#show mpls ldp neighbor detail instance 1 It can be seen that no output information is returned.100.35:0 TCP connection: 1. hello interval: 5000 ms Addresses bound to peer LDP Ident: Session holdtime: 180000 ms.34:0.1. Run the show mpls ldp neighbor detail instance 1 command on R1 to check whether an LDP neighbor has been established. The execution results are displayed as follows: R2(config)#show mpls ldp neighbor detail instance 1 Peer LDP Ident: 1.35. Configuration Verification Run the show mpls ldp neighbor detail instance 1 command on R2 to check whether an LDP neighbor has been established. the route to the loopback interface). This means that the local end discards the received UDP and TCP packets that meet filtration conditions. Src IP addr: 100.1.1. This means that. packet filtration can take effect for UDP or TCP packets only.1 holdtime: 15000 ms.1.34. Through the ACL rule.1069 State: Sent.1. the session still cannot enter the Oper status because packet filtration is enabled on the peer end (R1).1.646 .1. Msgs sent/rcvd: 1/0.

255.1. Reset the MPLS LDP instances operating on R1 and R2.0) ZTE Proprietary and Confidential .255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.34 255. Configure an IGP route. 2. Enable label-distribution DoD on the directly-connected interfaces of R1 and R2.255.1.0034 R1(config-isis-1)#interface gei-0/2/0/7 R1(config-isis-1-if-gei-0/2/0/7)#ip router isis R1(config-isis-1-if-gei-0/2/0/7)#exit R1(config-isis-1)#interface loopback1 R1(config-isis-1-if-loopback1)#ip router isis R1(config-isis-1-if-loopback1)#exit R1(config-isis-1)#exit 1-88 SJ-20140731105308-012|2014-10-20 (R1.1 255.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis 1 R1(config-isis-1)#area 00.6.ZXR10 M6000-S Configuration Guide (MPLS) 1. 4. It is required to establish an LDP neighbor relationship between R1 and R2. Figure 1-31 Label-Distribution Configuration Example Configuration Flow 1.255. and ensure that the loopback interfaces of R1 and R2 can ping each other. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1. Enable MPLS on the directly-connected interfaces of R1 and R2.0002.255.100.15 Label-Distribution Configuration Example Scenario Description Figure 1-31 shows a sample network topology.0001 R1(config-isis-1)#system-id 0001. 3. and enable the label-distribution DoD function on the directly-connected interfaces of R1 and R2.100.

1.34:0.255.1.1069 state: Oper.2 255.1.35 255.1.1.0035 R2(config-isis-1)#interface gei-0/3/0/7 R2(config-isis-1-if-gei-0/3/0/7)#ip router isis R2(config-isis-1-if-gei-0/3/0/7)#exit R2(config-isis-1)#interface loopback1 R2(config-isis-1-if-loopbck1)#ip router isis R2(config-isis-1-if-loopbck1)#exit R2(config-isis-1)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/3/0/7 R2(config-ldp-1-if-gei-0/3/0/7)#label-distribution dod R2(config-ldp-1-if-gei-0/3/0/7)#exit R2(config-ldp-1)#exit R2(config)#reset mpls ldp instance 1 Configuration Verification Run the show mpls ldp neighbor detail instance 1 command on R2 to check whether an LDP neighbor has been established.1.1. Local LDP Ident 1.35:0 TCP connection: 1.0002.646 .1.100.255.0) ZTE Proprietary and Confidential .34.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100. Downstream on Demand 1-89 SJ-20140731105308-012|2014-10-20 (R1.100.1.255.1. The execution results are displayed as follows: R2(config)#show mpls ldp neighbor detail instance 1 Peer LDP Ident: 1.1.255.Chapter 1 MPLS Configuration R1(config)#mpls ldp instance 1 /*Run the following commands to configure the LDP router-id and an LDP interface*/ R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#label-distribution dod R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#exit R1(config)#reset mpls ldp instance 1 Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis R2(config-isis-1)#area 00.35. Msgs sent/rcvd: 47/48.0002 R2(config-isis-1)#system-id 0002.

Reset the MPLS instances. and ensure that the loopback interfaces of R1 and R2 can ping each other. 2. and a neighbor relationship with R1 (1. 4. and enable the label-retention conservation function in the LDP configuration mode of R2. Enable the label-retention conservative function on the MPLS instances operating on R1 and R2. 3.100.ZXR10 M6000-S Configuration Guide (MPLS) Up Time: 00:00:30 LDP discovery sources: gei-0/3/0/7. LDP dynamic capability enable: LDP send capability: LDP dynamic capability LDP Typed Wildcard FEC Cap LDP Unrecognized Noti Cap LDP received capability: LDP dynamic capability negotiate success LDP Typed Wildcard FEC Cap negotiate success LDP Unrecognized Noti Cap negotiate success In the sample output.1.1. KA interval: 60000 ms LDP Peer BFD not register.100.1 Session holdtime: 180000 ms. Src IP addr: 100.16 Label-Retention Configuration Example Scenario Description Figure 1-32 shows a sample network topology. It is required to establish an LDP neighbor relationship between R1 and R2. which means that the parameter negotiation is correct. Enable MPLS on the directly-connected interfaces of R1 and R2.34) has been established.34 100. 1-90 SJ-20140731105308-012|2014-10-20 (R1. “state: Oper” indicates that the session status is “Oper”. Figure 1-32 Label-Retention Configuration Example Configuration Flow 1.100.6. 1. Configure an IGP route. hello interval: 5000 ms Addresses bound to peer LDP Ident: 1.1.100.1.0) ZTE Proprietary and Confidential .1 holdtime: 15000 ms.

255.1.100.255.255.1.Chapter 1 MPLS Configuration Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1.0) ZTE Proprietary and Confidential .0002.255.255.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis 1 R1(config-isis-1)#area 00.100.34 255.255.1.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100.0002 R2(config-isis-1)#system-id 0002.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis R2(config-isis-1)#area 00.0001 R1(config-isis-1)#system-id 0001.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.0035 R2(config-isis-1)#interface gei-0/3/0/7 R2(config-isis-1-if-gei-0/3/0/7)#ip router isis 1-91 SJ-20140731105308-012|2014-10-20 (R1.1.100.255.35 255.255.100.0034 R1(config-isis-1)#interface gei-0/2/0/7 R1(config-isis-1-if-gei-0/2/0/7)#ip router isis R1(config-isis-1-if-gei-0/2/0/7)#exit R1(config-isis-1)#interface loopback1 R1(config-isis-1-if-loopback1)#ip router isis R1(config-isis-1-if-loopback1)#exit R1(config-isis-1)#exit R1(config)#mpls ldp instance 1 /*Run the following commands to configure the LDP router-id and an LDP interface*/ R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#label-retention conservative R1(config-ldp-1)#exit R1(config)#reset mpls ldp instance 1 Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.0002.2 255.1 255.

34 is R1.1. msgId = 0x6 1-92 SJ-20140731105308-012|2014-10-20 (R1. addFam = 0x1. and the out label information corresponding to the FEC is displayed: mpls_ldp_1: Rcvd mapping msg from 1.1. length = 4 label = 16385 Sent release msg to 1. Run the debug command on R2. However. and therefore the label advertised by R1 is not stored. msgType = 0x400.35 is the last hop.1.1.1. address = 0x1010123 genLblTlv: uBit = 0.1.1. msgId = 0x5 fecTlv: uBit = 0.0) ZTE Proprietary and Confidential . length = 8 with 1 FEC elements: 1: type = 2.34/32 local binding: label: 16384 remote binding: lsr: 1.34:0 with socket-id(0x00002ae7cf01ad10) baseMsg: uBit = 0.1. The execution results are displayed as follows: R2(config)#show mpls ldp bindings detail instance 1 1. msgLength = 24. the IP address 1.1.1.1. msgLength = 24. the next-hop of the route corresponding to FEC 1. type = 0x200. msgType = 0x403. fBit = 0.1.1.35/32 local binding: label: imp-null advertised to: 1. and therefore the label advertised by R1 should be stored. type = 0x100.1.34:0 In the sample output.34:0.1.1.34:0 baseMsg: uBit = 0.ZXR10 M6000-S Configuration Guide (MPLS) R2(config-isis-1-if-gei-0/3/0/7)#exit R2(config-isis-1)#interface loopback1 R2(config-isis-1-if-loopbck1)#ip router isis R2(config-isis-1-if-loopbck1)#exit R2(config-isis-1)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/3/0/7 R2(config-ldp-1-if-gei-0/3/0/7)#exit R1(config-ldp-1)#label-retention conservative R2(config-ldp-1)#exit R2(config)#reset mpls ldp instance 1 R2#debug ldp session io instance 1 R2#terminal monitor Configuration Verification Run the show mpls ldp bindings detail instance 1 command on R2 to check the label status. preLen = 32. fBit = 0. label: imp-null(inuse) 1.

length = 8 with 1 FEC elements: 1: type = 2. type = 0x100.6. 2. Figure 1-33 Label-Advertise Configuration Example Configuration Flow 1. length = 4 label = 16385 It can be seen that R2 has received the label mapping information related to FEC 1. Configure “label-advertise for all to non” for the MPLS LDP instance operating on R2. fBit = 0. 6. 1.17 Label-Advertise Configuration Example Scenario Description Figure 1-33 shows a sample network topology. type = 0x200. It is required to establish an LDP neighbor relationship between R1 and R2. preLen = 32. Enable MPLS on the directly-connected interfaces of R1 and R2. Because the label-retention mode configured on R2 is "conservative". fBit = 0. addFam = 0x1.1. Configure an ACL rule on R2 to permit all packets. 5. Configure an ACL rule on R2 to deny all packets. Configure an IGP route.35 from R1. 4.1. 3. Configure “label-advertise for non” for the MPLS LDP instance operating on R2. R2 returns a label release message.Chapter 1 MPLS Configuration fecTlv: uBit = 0. and enable the label-advertise function in the LDP configuration mode of R2. address = 0x1010123 genLblTlv: uBit = 0.0) ZTE Proprietary and Confidential . and ensure that the loopback interfaces of R1 and R2 can ping each other. 1-93 SJ-20140731105308-012|2014-10-20 (R1.

the configurations in Steps 5 and 6 can be used as a combination policy and take effect on R2. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1. For example. The two commands should be used with the label-advertise disable command. only the “label-advertise for all to non” command takes effect.1.ZXR10 M6000-S Configuration Guide (MPLS) l l l l Note: Steps 5 and 6 are optional. only the later configuration takes effect. If none of the filtration conditions in the prefix ACL is matched.1.255.0034 R1(config-isis-1)#interface gei-0/2/0/7 R1(config-isis-1-if-gei-0/2/0/7)#ip router isis R1(config-isis-1-if-gei-0/2/0/7)#exit R1(config-isis-1)#interface loopback1 R1(config-isis-1-if-loopback1)#ip router isis R1(config-isis-1-if-loopback1)#exit R1(config-isis-1)#exit R1(config)#mpls ldp instance 1 /*Run the following commands to configure the LDP router-id and an LDP interface*/ R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit 1-94 SJ-20140731105308-012|2014-10-20 (R1. the filtration of packets and whether a label is advertised to the neighbor are based on the FEC prefix and neighbor.255.34 255.0001 R1(config-isis-1)#system-id 0001.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100. In Step 6. the filtration of packets and whether a label is advertised to the neighbor are based on the FEC prefix. multiple label advertisement combination policies can be configured in the system.0002.255. If one of the filtration conditions in the prefixed ACL is matched. if “label-advertise for all” and “label-advertise for all to non” commands are sequentially executed.255.100.1 255.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis 1 R1(config-isis-1)#area 00. In Step 5. For example.0) ZTE Proprietary and Confidential .100.

2 255.0) ZTE Proprietary and Confidential .35 255.255.1.0002.Chapter 1 MPLS Configuration Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.0035 R2(config-isis-1)#interface gei-0/3/0/7 R2(config-isis-1-if-gei-0/3/0/7)#ip router isis R2(config-isis-1-if-gei-0/3/0/7)#exit R2(config-isis-1)#interface loopback1 R2(config-isis-1-if-loopbck1)#ip router isis R2(config-isis-1-if-loopbck1)#exit R2(config-isis-1)#exit R2(config)#ipv4-access-list non R2(config-ipv4-acl)#rule 1 deny any R2(config-ipv4-acl)#exit R2(config)#ipv4-access-list all R2(config-ipv4-acl)#rule 1 permit any R2(config-ipv4-acl)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/3/0/7 R2(config-ldp-1-if-gei-0/3/0/7)#exit /*Run the following commands to enable “label-advertise for non”*/ R2(config-ldp-1)#label-advertise for non R2(config-ldp-1)#label-advertise disable R2(config-ldp-1)#exit /*Run the following commands to enable “label-advertise for all to non”*/ R2(config-ldp-1)#label-advertise for all to non R2(config-ldp-1)#label-advertise disable R2(config-ldp-1)#exit 1-95 SJ-20140731105308-012|2014-10-20 (R1.0002 R2(config-isis-1)#system-id 0002.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis R2(config-isis-1)#area 00.1.255.100.255.255.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100.100.

0/24 local binding: label: imp-null It can be seen that. on R2.0/24 local binding: label: imp-null 1. It is required to establish an LDP neighbor relationship between R1 and R2. all FECs do not receive the “remote binding” information from R2. meaning that all FECs have no label advertisement information. The execution results are displayed as follows: R2(config)#show mpls ldp bindings detail instance 1 1.35:0.34:0.1. R2(config)#show mpls ldp neighbor detail instance 1 1.35/32 local binding: label: 16384 remote binding: lsr: 1.1.1. on R1. and enable the label-request function in the LDP configuration mode of R2.1. label: UnTag 100.1.100.100. the “advertised to:” item is not found.34/32 local binding: label: 16384 remote binding: lsr: 1.18 Label-Request Configuration Example Scenario Description Figure 1-34 shows a sample network topology.1.100.100. It can be seen that.6.1.1.1.34/32 local binding: label: imp-null advertised to: 1. label: imp-null(inuse) 1.35:0 1. meaning that R2 does not send any label.1. Figure 1-34 Label-Request Configuration Example 1-96 SJ-20140731105308-012|2014-10-20 (R1.ZXR10 M6000-S Configuration Guide (MPLS) Configuration Verification Run the show mpls ldp bindings detail instance 1 command on R2 to check the label status.35/32 local binding: label: imp-null 100.1.1.1.0) ZTE Proprietary and Confidential .1.

Configure an ACL rule on R2 to deny all packets.255.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.255. and ensure that the loopback interfaces of R1 and R2 can ping each other.0) ZTE Proprietary and Confidential . if the label-request command is executed. Set the negotiation mode of the session between the directly-connected interfaces of R1 and R2 to "DoD". Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1. 4. 3.1.0034 R1(config-isis-1)#interface gei-0/2/0/7 R1(config-isis-1-if-gei-0/2/0/7)#ip router isis R1(config-isis-1-if-gei-0/2/0/7)#exit R1(config-isis-1)#interface loopback1 R1(config-isis-1-if-loopback1)#ip router isis R1(config-isis-1-if-loopback1)#exit R1(config-isis-1)#exit R1(config)#mpls ldp instance 1 /*Run the following commands to configure the LDP router-id and an LDP interface*/ R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#label-distribution dod 1-97 SJ-20140731105308-012|2014-10-20 (R1.1 255. Enable MPLS on the directly-connected interfaces of R1 and R2.Chapter 1 MPLS Configuration Configuration Flow 1. One of the filtration conditions in the ACL needs to be matched only when the label-request command is executed.1. Note: When the session operates in DoD mode.34 255.0001 R1(config-isis-1)#system-id 0001. Configure “label-advertise for non” for the MPLS LDP instance operating on R2.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#router isis 1 R1(config-isis-1)#area 00. 2. Configure an IGP route. all of the valid next-hops of FECs send label request messages by default.255.100. If no match is found. 5.0002.255.100. label request messages are not sent.

ZXR10 M6000-S Configuration Guide (MPLS) R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#exit R1(config)#reset mpls ldp instance 1 Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.34/32 local binding: label: 16384 1.100.255.255.100.1. The execution results are displayed as follows: R2(config)#show mpls ldp bindings detail instance 1 1.1.0) ZTE Proprietary and Confidential .255.0002 R2(config-isis-1)#system-id 0002.0035 R2(config-isis-1)#interface gei-0/3/0/7 R2(config-isis-1-if-gei-0/3/0/7)#ip router isis R2(config-isis-1-if-gei-0/3/0/7)#exit R2(config-isis-1)#interface loopback1 R2(config-isis-1-if-loopbck1)#ip router isis R2(config-isis-1-if-loopbck1)#exit R2(config-isis-1)#exit R2(config)#ipv4-access-list non R2(config-ipv4-acl)#rule 1 deny any R2(config-ipv4-acl)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/3/0/7 R2(config-ldp-1-if-gei-0/3/0/7)#label-distribution dod R2(config-ldp-1-if-gei-0/3/0/7)#exit R2(config-ldp-1)#label-request for non R2(config-ldp-1)#exit R2(config)#reset mpls ldp instance 1 Configuration Verification Run the show mpls ldp bindings detail instance 1 command on R2 to check the label status.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#router isis R2(config-isis-1)#area 00.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#no shutdown R2(config-if-gei-0/3/0/7)#ip address 100.255.2 255.1.0002.1.35/32 1-98 SJ-20140731105308-012|2014-10-20 (R1.35 255.1.1.

R2.0) ZTE Proprietary and Confidential . 2. Run the label-advertise disable command for the MPLS LDP instance operating on R3. Configure an IGP route. and R3. Run the no label-advertise disable command for the MPLS LDP instance operating on R3.1. after R2 sends a label request message to R1. and ensure that the loopback interfaces of R1 and R2 can ping each other. 3. and R3. a label cannot be bound to FEC 1. and enable the lsp-control ordered function in the LDP instance configuration mode of R1.0/24 local binding: label: imp-null It can be seen that.19 LSP-Control Configuration Example Scenario Description Figure 1-35 shows a sample network topology. the “remote binding” item is generated. on R2. 4. But the action defined in the ACL rule for the label request messages that meet the filtration conditions is "Deny". Normally in DoD mode.1.34:0 100.34. label: imp-null(inuse) 1.1. Figure 1-35 LSP-Control Configuration Example Configuration Flow 1. R2.6.1.100.Chapter 1 MPLS Configuration local binding: label: imp-null advertised to: 1. 5.34/32 local binding: label: 16384 remote binding: lsr: 1. Enable the lsp-control ordered function on R1. It is required to establish LDP neighbor relationships between R1.1. the valid next-hop of the IP address 1. 1-99 SJ-20140731105308-012|2014-10-20 (R1.34:0.1.34 is R1.1.100.1. Enable MPLS on the directly-connected interfaces of R1. 1.1.1.

0002.255.255.1 255.255.255.100.0001 R1(config-isis-1)#system-id 0001.200.255.36 by R1 and R2 after the downstream advertises a label in Step 5.255.1.0 R1(config-if-gei-0/2/0/2)#exit R1(config)#router isis 1 R1(config-isis-1)#area 00.34 255.1.200.1. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1. The goal of Step 4 is to disable the downstream to assign a label temporarily.0034 R1(config-isis-1)#interface gei-0/2/0/7 R1(config-isis-1-if-gei-0/2/0/7)#ip router isis R1(config-isis-1-if-gei-0/2/0/7)#exit R1(config-isis-1)#interface gei-0/2/0/2 R1(config-isis-1-if-gei-0/2/0/2)#ip router isis R1(config-isis-1-if-gei-0/2/0/2)#exit R1(config-isis-1)#interface loopback1 R1(config-isis-1-if-loopback1)#ip router isis R1(config-isis-1-if-loopback1)#exit R1(config-isis-1)#exit R1(config)#mpls ldp instance 1 /*Run the following commands to configure the LDP router-id and an LDP interface*/ R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#interface gei-0/2/0/2 R1(config-ldp-1-if-gei-0/2/0/2)#exit R1(config-ldp-1)#lsp-control ordered 1-100 SJ-20140731105308-012|2014-10-20 (R1. This can compare the difference between the labels assigned to FEC 1.ZXR10 M6000-S Configuration Guide (MPLS) Note: The ordered mode of label advertisement cannot be easily observed.1.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#ip address 100.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#interface gei-0/2/0/2 R1(config-if-gei-0/2/0/2)#no shutdown R1(config-if-gei-0/2/0/2)#ip address 200.100.1 255.0) ZTE Proprietary and Confidential .

35 255.Chapter 1 MPLS Configuration R1(config-ldp-1)#exit R1(config)#reset mpls ldp instance 1 Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.255.255.0 R2(config-if-gei-0/2/0/9)#exit R2(config)#router isis R2(config-isis-1)#area 00.2 255.1.3 255.0036 R3(config-isis-1)#interface gei-0/2/0/6 R3(config-isis-1-if-gei-0/2/0/6)#ip router isis R3(config-isis-1-if-gei-0/2/0/6)#exit R3(config-isis-1)#interface loopback1 R3(config-isis-1-if-loopbck1)#ip router isis 1-101 SJ-20140731105308-012|2014-10-20 (R1.255.0002.0002 R2(config-isis-1)#system-id 0002.1.1.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/2/0/9 R2(config-if-gei-0/2/0/9)#no shutdown R2(config-if-gei-0/2/0/9)#ip address 100.0 R3(config-if-gei-0/2/0/6)#exit R3(config)#router isis R3(config-isis-1)#area 00.255.255.0035 R2(config-isis-1)#interface gei-0/2/0/9 R2(config-isis-1-if-gei-0/2/0/9)#ip router isis R2(config-isis-1-if-gei-0/2/0/9)#exit R2(config-isis-1)#interface loopback1 R2(config-isis-1-if-loopbck1)#ip router isis R2(config-isis-1-if-loopbck1)#exit R2(config-isis-1)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/2/0/9 R2(config-ldp-1-if-gei-0/2/0/9)#exit R2(config-ldp-1)#exit Run the following commands on R3: R3(config)#interface loopback1 R3(config-if-loopback1)#ip address 1.0003 R3(config-isis-1)#system-id 0003.36 255.255 R3(config-if-loopback1)#exit R3(config)#interface gei-0/2/0/6 R3(config-if-gei-0/2/0/6)#ip address 200.0) ZTE Proprietary and Confidential .255.100.255.100.1.100.200.255.0003.

36 32 detail instance 1 1.1. The execution results are displayed as follows: R2(config)#show mpls ldp bindings 1.1.1.1.36/32 local binding: label: 16384 1-102 SJ-20140731105308-012|2014-10-20 (R1.36/32 local binding: label: 16384 remote binding: lsr: 1.1.1.36. the execution results of Step 5 are as follows: Run the show mpls ldp bindings 1. Run the show mpls ldp bindings 1.1.36:0.36 32 detail instance 1 1.1.1. label: UnTag On R1.1.1. it can be seen that the “remote binding” item is set to “UnTag” in the label information advertised by the valid next-hop of FEC 1.1.1.36 32 detail instance 1 command on R1 to check the label status.1.1.1. l On R3. the “advertised to:” item cannot be seen in the label advertisement information.1.1.1.1.36) does not advertise any label.ZXR10 M6000-S Configuration Guide (MPLS) R3(config-isis-1-if-loopbck1)#exit R3(config-isis-1)#exit R3(config)#mpls ldp instance 1 R3(config-ldp-1)#router-id loopback1 R3(config-ldp-1)#interface gei-0/2/0/6 R3(config-ldp-1-if-gei-0/2/0/6)#exit /*Run the following command to disable label advertisement*/ R3(config-ldp-1)# label-advertise disable /*Run the following command to disable label advertisementt*/ R3(config-ldp-1)# label-advertise disable Configuration Verification l Check the execution result of Step 4 on R3.1. Because the LSP generation mode of R1 is "Ordered". except that R1 does not advertise a label bound to FEC 1.36. The execution results are displayed as follows: R1(config)#show mpls ldp bindings 1.36/32 local binding: label: 16384 remote binding: lsr: 1.36 32 detail instance 1 command on R2 to check the label status. The execution results are displayed as follows: R1(config)#show mpls ldp bindings 1. label: UnTag The same output information can be seen on R2.36 32 detail instance 1 1.1.1.1. Run the show mpls ldp bindings 1. This means that the neighbor (1.1.1.0) ZTE Proprietary and Confidential .36 32 detail instance 1 command on R1 to check the label status.34:0.1.1.

Configure an ACL on R1 to permit the routes on the 1.4/32) to R3. and establish a DU-mode session between R1 and R3. Run the show mpls ldp bindings 1.2.1.6. it can be seen that the valid hop (R3) of FEC 1. 1. R2 advertises a label to the upstream.4/32) to R1. 2.1. Enable MPLS on the directly-connected interfaces of R1. set the next-hop of the static route (1. R2. set the next-hop of the static aggregated route (1. 1-103 SJ-20140731105308-012|2014-10-20 (R1. On R3. label: 16384 (inuse) Upon receipt of a label from the downstream.0. The execution results are displayed as follows: R2(config)#show mpls ldp bindings 1. Configure the longest-match mode on R1. 3. and R3.1.1.20 Longest-Match Configuration Example Scenario Description Figure 1-36 shows a sample network topology.2.0/16) to R3. label: imp-null(inuse) On R1.36:0 remote binding: lsr: 1.1.1.1.1. Configure an IGP route.1.2.1.0.1.1.0/16 network segment. 8.1.36 sends a valid label. Figure 1-36 Longest-Match Configuration Example Configuration Flow 1.Chapter 1 MPLS Configuration advertised to: 1.36/32 local binding: label: 16384 advertised to: 1. and enable the longest-match function in the LDP instance configuration mode of R1. and R3.3.35:0 1.34:0 remote binding: lsr: 1.1. 6. It is required to establish LDP neighbor relationships between R1.1. R2.34:0.1.0) ZTE Proprietary and Confidential .36:0. 5. and ensure that the loopback interfaces of R1 and R2 can ping each other.1.36 32 detail instance 1 command on R2 to check the label status. and R1 advertises labels to R2 and R3. On R1.2. 4.3. 7.36 32 detail instance 1 1.1. set the next-hop of the static route (1. On R2. Establish a DoD-mode session between R1 and R2.

1.4/32).ZXR10 M6000-S Configuration Guide (MPLS) 9.0002. and assign a static in label (100) to the static route (1.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/2/0/7 R1(config-if-gei-0/2/0/7)#no shutdown R1(config-if-gei-0/2/0/7)#ip address 100.0034 R1(config-isis-1)#interface gei-0/2/0/7 R1(config-isis-1-if-gei-0/2/0/7)#ip router isis R1(config-isis-1-if-gei-0/2/0/7)#exit R1(config-isis-1)#interface gei-0/2/0/2 R1(config-isis-1-if-gei-0/2/0/2)#ip router isis R1(config-isis-1-if-gei-0/2/0/2)#exit R1(config-isis-1)#interface loopback1 R1(config-isis-1-if-loopback1)#ip router isis R1(config-isis-1-if-loopback1)#exit R1(config-isis-1)#exit R1(config)#ipv4-access-list acl12 R1(config-ipv4-acl)#rule 1 permit 1.0 200.0 0.3.0001 R1(config-isis-1)#system-id 0001. The matching result is the same as that based on FEC (1.200.2.255.0.255.100.3.200. Configure the static LDP on R1.255.200.1.255.2.255.0 R1(config-if-gei-0/2/0/2)#exit R1(config)#ip route 1.2. Note: Steps 7.0.34 255. Configuration Commands Run the following commands on R1: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1.255.4/32.100.255 R1(config-ipv4-acl)#exit R1(config)#mpls ldp instance 1 /*Run the following commands to configure the LDP router-id and an LDP interface*/ 1-104 SJ-20140731105308-012|2014-10-20 (R1.1 255.0.0 R1(config-if-gei-0/2/0/7)#exit R1(config)#interface gei-0/2/0/2 R1(config-if-gei-0/2/0/2)#ip address 200.3 R1(config)#router isis 1 R1(config-isis-1)#area 00.200.2.0.0/16).1 255.0.0) ZTE Proprietary and Confidential .255.0 255.2.255. 8 or 9 can be used to create the longest matching LSP on R1 based on FEC 1.

255.255.0035 R2(config-isis-1)#interface gei-0/2/0/9 R2(config-isis-1-if-gei-0/2/0/9)#ip router isis R2(config-isis-1-if-gei-0/2/0/9)#exit R2(config-isis-1)#interface loopback1 R2(config-isis-1-if-loopbck1)#ip router isis R2(config-isis-1-if-loopbck1)#exit R2(config-isis-1)#exit R2(config)#mpls ldp instance 1 R2(config-ldp-1)#router-id loopback1 R2(config-ldp-1)#interface gei-0/2/0/9 R1(config-ldp-1-if-gei-0/2/0/9)#label-distribution dod R2(config-ldp-1-if-gei-0/2/0/9)#exit R2(config-ldp-1)#exit R2(config)#reset mpls ldp instance 1 Run the following commands on R3: R3(config)#interface loopback1 R3(config-if-loopback1)#ip address 1.100.2 255.0 R2(config-if-gei-0/2/0/9)#exit R2(config)#router isis R2(config-isis-1)#area 00.255.1.35 255.255 R3(config-if-loopback1)#exit R3(config)#interface gei-0/2/0/6 R3(config-if-gei-0/2/0/6)#no shutdown 1-105 SJ-20140731105308-012|2014-10-20 (R1.0002 R2(config-isis-1)#system-id 0002.0) ZTE Proprietary and Confidential .36 255.1.255.255.Chapter 1 MPLS Configuration R1(config-ldp-1)#router-id loopback1 R1(config-ldp-1)#interface gei-0/2/0/7 R1(config-ldp-1-if-gei-0/2/0/7)#label-distribution dod R1(config-ldp-1-if-gei-0/2/0/7)#exit R1(config-ldp-1)#interface gei-0/2/0/2 R1(config-ldp-1-if-gei-0/2/0/2)#exit R1(config-ldp-1)#longest-match ipv4 for acl12 R1(config-ldp-1)#exit R2(config)#reset mpls ldp instance 1 Run the following commands on R2: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 1.1.0002.1.255.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/2/0/9 R2(config-if-gei-0/2/0/9)#no shutdown R2(config-if-gei-0/2/0/9)#ip address 100.100.

4 command on R1 to check the routing information: R1(config)#show ip forwarding route 1.4 1-106 SJ-20140731105308-012|2014-10-20 (R1.0036 R3(config-isis-1)#interface gei-0/2/0/6 R3(config-isis-1-if-gei-0/2/0/6)#ip router isis R3(config-isis-1-if-gei-0/2/0/6)#exit R3(config-isis-1)#interface loopback1 R3(config-isis-1-if-loopbck1)#ip router isis R3(config-isis-1-if-loopbck1)#exit R3(config-isis-1)#exit R3(config)#mpls ldp instance 1 R3(config-ldp-1)#router-id loopback1 R3(config-ldp-1)#interface gei-0/2/0/6 R3(config-ldp-1-if-gei-0/2/0/6)#exit /*Run the following command to set the next-hop of the static route 1.255.4 32 detail instance 1 command on R1 to check the label status.3.ZXR10 M6000-S Configuration Guide (MPLS) R3(config-if-gei-0/2/0/6)#ip address 200.255 loopback1 /*Run the following command to configure the static LDP.255.2.2.3.3.0003.100.2.1.255.2. Run the show mpls ldp bindings 12.255.4/32*/ R1(config)#mpls static-lsp sta R1(config-static-lsp-sta)#bind ipv4 1.3.0 R3(config-if-gei-0/2/0/6)#exit R3(config)#router isis R3(config-isis-1)#area 00.0 100. label: 16385 It can be seen that R1 has received an out label from R3.4 255.255.3.4/32 to R2*/ R2(config)#ip route 1.4 32 detail instance 1 1.2.4/32 to R3*/ R3(config)#ip route 1.36:0.200.4/32 local binding: label: 16386 remote binding: lsr: 1.1 /*Run the following command to set the next-hop of the static route 1.3. The execution results are displayed as follows: R1(config)#show mpls ldp bindings 12.3 255.2.3.3.255 R1(config-if-loopback2)#insegment inlabel 100 Configuration Verification l Check the execution results of Step 7 on R2 or Step 9 on R1.0) ZTE Proprietary and Confidential .0.2.3.4 255.2.100.255.3.100.255.4 255.0003 R3(config-isis-1)#system-id 0003. and assign the static in label (100) to the static route 1.1.2. Run the show ip forwarding route 1.3.

2.0/16 route.100. ASBR-V: ASBR-VPN. Interface Owner Pri Metric *> 1. DHCP-D: DHCP-DFT.0. USER-N: User-network. label: 16385 (inuse) Run the show ip forwarding route 1.2.4/32 local binding: label: 16386 remote binding: lsr: 1.4 32 detail instance 1 command on R1 to check the label status. USER-I: User-ipaddr.4/32 route is the same as that of the 1.0/16 route.1.3. The execution results are displayed as follows: R1(config)#show mpls ldp bindings 12.0) ZTE Proprietary and Confidential .2. USER-I: User-ipaddr. : BROADC: Broadcast. MULTIC: Multicast. Codes Gw: Gateway. STAT-V: Static-VRF.4/32 100. USER-S: User-special.4 command on R1 to check the forwarding table information: R1(config)#show mpls forwarding-table 1.100. DHCP-D: DHCP-DFT.3. Codes Gw: Gateway. TE: RSVP-TE. USER-S: User-special. GW-FWD: PS-BUSI.100.0. LDP-A: LDP-area.Chapter 1 MPLS Configuration -------------------------------------------------------------------------- IPv4 Routing Table: Headers: Dest: Destination.2.4/32loopback11.4 -------------------------------------------------------------------------IPv4 Routing Table: Headers: Dest: Destination. GW-UE: PS-USER.3.3. Run the show mpls forwarding-table 1. GW-UE: PS-USER.3.1.2.100. USER-N: User-network. GW-FWD: PS-BUSI. NAT64: Stateless-NAT64.36:0. LDP-A: LDP-area. Pri: Priority. P-VRF: Per-VRF-label.2.4 command on R1 to check the routing information: R1(config)#show ip forwarding route 1.2. NAT64: Stateless-NAT64. DHCP-S: DHCP-static. P-VRF: Per-VRF-label.1.4 -------------------------------------------------------------------------Local Outgoing Prefix or OutgoingNext Hop M/S label label Lspnameinterface 16386 l 16385 1.3.3. TE: RSVP-TE.4 32 detail instance 1 1.3. Status codes: *valid.3.0/16 100. >best. : BROADC: Broadcast. >best.1.3.2. 1-107 SJ-20140731105308-012|2014-10-20 (R1. Pri: Priority. MULTIC: Multicast.2.2. DHCP-S: DHCP-static. ASBR-V: ASBR-VPN.4/32 route is generated by the LDP based on the 1. Run the show mpls ldp bindings 12. STAT-V: Static-VRF.2 Dest Gw gei-0/2/0/2 LDP-A 254 65534 *> 1. The next-hop information of the egress interface of the 1.2. Status codes: *valid.2.3.2 gei-0/2/0/2 STAT 1 0 It can be seen that the 1.0.35 M Check the execution result of Step 8 on R3.

3.1.0.ZXR10 M6000-S Configuration Guide (MPLS) Dest Gw Interface Owner Pri Metric *> 1. Run the show mpls forwarding-table 1.4 -------------------------------------------------------------------------Local Outgoing Prefix or Outgoing Next Hop M/S label label Lspnameinterface 16386 16385 1.1.100.4/32 100.2 gei-0/2/0/2 LDP-A 254 65534 *> 1.100. 1-108 SJ-20140731105308-012|2014-10-20 (R1.100.4 command on R1 to check the forwarding table information: R1(config)#show mpls forwarding-table 1.2.0) ZTE Proprietary and Confidential .4/32loopback1 1.2.2.2.2 gei-0/2/0/2 STAT 1 0 The output information is the same as the execution results of Step 7 or 9.3.0/16 100.35 M It can be seen that there is a valid out label in the forwarding table.3.100.3.2.

.............2-148 TE Tunnel AR Configuration ..............................................................................2-58 FRR Promotion Introduction .......................................................................................2-34 Confiugration of MPLS TE Crossing Several AS Domains.........................................................2-198 TE Affinity...........................2-140 TE Tunnel FA Configuration .................................................2-185 Equal Load Sharing on the TE-ECMP ............................ 2-114 MPLS TE End-to-End Protection Path Configuration ..........................1 RSVP Configuration 2........................................................................................................................................................................................... which means that the reservation is updated by the receiver periodically..........................................................................................2-135 TE GR Configuration ........................................2-214 RSVP-TEs Supporting Resource Reservation ........................................................................................................................................ It is necessary to update the reservation by advertising 2-1 SJ-20140731105308-012|2014-10-20 (R1............................Chapter 2 MPLS TE Configuration Table of Contents RSVP Configuration .2-103 FRR-Hello Configuration .. RSVP has the following features: 1...............................................................2-24 TE Message Acknowledgement and Retransmission ...........................2-179 TE Tunnels Supporting Soft Preemption......................................................................... The reservation on each router is "soft"........2-220 2..........................2-152 TE Metric Configuration...................................2-168 TE HOTSTANDBY Configuration..............................................................2-29 TE Authentication Configuration .................................................................0) ZTE Proprietary and Confidential ...............2-128 Automatic Bandwidth Regulation on an MPLS TE ......................................................2-162 TE Tunnel Reoptimization Configuration...1...........2-157 TE SRLG Configuration.........................1 RSVP Overview RSVP Introduction RSVP is a resource reservation protocol designed for comprehensive network services...........................................................................................2-173 WTR Configuration for a TE Tunnel.2-40 TE-FRR Configuration .............................................................................2-121 Loose Node Re-optimization .............2-202 Binding Interfaces Supporting TE Bandwidth Reservation ...............................................................................................................................................................................................................................................2-1 TE Summary Refresh Introduction........................................ In brief.......

4. it sends the message to the destination application programme through the RSVP application programme interface. saves the parameters of the service and the address of the previous hop. RSVP is not a routing protocol. The application programme forms an RESV message according to the service characteristics received and the parameters of the available resources. PATH message and RESV message. It does not carry data. The PATH message contains a unique LSP quintuple group and other control information. The intermediate nodes establish and maintain the resource reservation path on the data transmission network through RSVP. 4. it establishes the PATH soft state. The RESV message contains the QoS parameters and service characteristics that meet the parameters. At last. When the reservation is removed from the network by RSVP explicitly. the hard-state protocols only need to advertise requests once. RSVP is a network (control) protocol instead of a transport protocol. the device will send a request. 1. the sender sends a PATH message first to establish a transmission path with the receiver. but it works together with TCP data flows or UDP data flows. The RSVP process forms a PATH message according to the requirement and then sends the message to the next hop. RSVP is receiver-oriented. Users can apply for buffers and bandwidth that meet the quality requirements of specific services from the network. This is different from the "hard-state" protocols. The RSVP process also collects the information of available resources on the node and makes an preparation for the resource reservation. thus to provide the corresponding quality of service. Before sending data.0) ZTE Proprietary and Confidential . the RSVP process returns the message according to the saved previous hop address. RSVP Control Path On the control path. After the RSVP process on an intermediate route along the path receives the PATH message. 3. The only work of RSVP is to advertise the RSVP signaling and maintain the reserved resources on the network. Any routing policy is made by Interior Gateway Protocol (IGP). it makes a confirmation about the QoS parameters designated 2-2 SJ-20140731105308-012|2014-10-20 (R1. After this. The RESV message is transmitted to the sender along the same path. The receiver sends the request for resource reservation and maintains the resource reservation information. The source application programme sends the characteristics of the user service and expected QoS to the RSVP process through the application programme interface. RSVP is on the base of IP. When it passes through each router. 2. or when the reservation event expires. 3. 2.ZXR10 M6000-S Configuration Guide (MPLS) the reservation repeatedly and periodically on the network. When the RSVP process of the receiver receives the PATH message. there are two basic messages used to establish the resource reservation path. Generally. and it is supposed that they hold the requests until the requests are removed explicitly. IGP Traffic Engineering (TE) extension and Constrained Shortest Path First (CSPF). the RSVP process forms a new PATH message and sends it to the next hop.

it uses each parameter in the messages to calculate out a resource reservation state that meets the requirement in each message according to a specific algorithm. When the RSVP process of an intermediate node receives the RESV message. including PATH message and RESV message. The interval of the period-update timer is several times smaller than that of the flush timer. The output LSR responds the input LSR for the RESV PATH message by sending an RSVP RESV message. To adapt to the changes of routes and QoS. However. as well as forwarding messages according to the routes obtained from the route handling module. sets the parameters of the packet classifier and packet forwarder. update and deletion of the resource reservation path. RSVP uses the application programme interface between the RSVP message handling module and the service control module to trigger the service control module to adjust the reserved resources at the link layer. In multicasting situations. the RSVP message handling module combines the RESV messages that are sent by different senders to the same receiver. Till Step 5. it is better to use the minimum bandwidth to configure the RSVP packets to prevent data loss due to congestion. RESV message. RSVP sends update messages periodically. the establishment of an LSP is started. The RSVP message handling module is responsible for handling messages. When the sender receives the RESV message from the receiver. If the state of a data flow changes. LSP Tunnel Establishment After the input LSR at the head of the tunnel completes the CSPF calculation for a specific tunnel. the resource reservation path has been established. Instead. it establishes the RESV soft state. 2-3 SJ-20140731105308-012|2014-10-20 (R1. The sender and the receiver use this path to transmit data flow.0) ZTE Proprietary and Confidential . As service characteristics and reservation requirements are multidimensional. including establishment. establishing. PATH update message and RESV update message it receives. The two states contain the service parameters and resource reservation parameters of each data flow.Chapter 2 MPLS TE Configuration by the PATH message. 6. the input LSR sends an RSVP PATH message to the output LSR. RSVP has two timers. maintaining and deleting the resource reservation state. and then forwards the message according to the saved previous hop address. the Least Upper Bound (LUB). flush timer and period-update timer. the LSP tunnel is established. and modifies the local PSB. RSVP is a complex signaling system. that is. To maintain the path state information. an occasional loss of the PATH message will not cause the deletion of path state information. As shown in Figure 2-1. In this way. the RSVP message handling module does not simply combine a reserved resource by using the larger value of a parameter. 5. The routers along the path reserve resources for the data flow and forward the data flow according to the negotiated QoS. The RESV message handling module establishes and modifies the Path State Block (PSB) and Reservation State Block (RSB) for data flows according to the PATH message. RSVP also handles different types of error information.

The RESV message is sent in the upstream direction of the input LSR. the LSP is established. LSR2. it sends an RESV that contains LABEL Object as a response. The direction is opposite to that of the PATH message. MPLS and RSVP are enabled globally and on the interfaces of LSR1. 2-4 SJ-20140731105308-012|2014-10-20 (R1. LABEL Object contains the label binding information that is used for communication between the output LSR and the upstream neighbors.0) ZTE Proprietary and Confidential . 2. 1. the LSP establishment is completed. LSR3 and LSR4. Figure 2-2 LSP Tunnel Establishment 2 As shown in Figure 2-2. The LSRs receiving the RSVP RESV message that contains the LABEL Object use the received labels for the services related to the specific LSP. LSR1 knows that the whole LSP needs to comply with the explicit route (LSR1 -> LSR2 -> LSR3 -> LSR4). The input LSR can use the LSP tunnel to forward services to the output LSR. When the RESV message reaches the input LSR. When the output LSR receives the PATH message that contains LABEL_REQUEST Object. Through some mechanisms.ZXR10 M6000-S Configuration Guide (MPLS) Figure 2-1 LSP Tunnel Establishment 1 When the input LSR receives the RSVP RESV message.

2.C.C.1. 2 ZXR10(config-mpls-te)#interface <interface-name> Enables TE on the interface. ZXR10 (config-mpls-te-expl-path-ididentifier)#index <1-64> exclude-address {interface| router-id}<A. range 1–4294967295. the strict mode of specific bit in the explicit route. An ERO is a simple abstract node (just comprises a node defined by a 32-bit IPv4 packet). unit: kbps. Enable MPLS TE. 2. 3 ZXR10(config-mpls-te-if)#bandwidth Configures a bandwidth for [{static|dynamic}]<bandwidth value> the TE interface. Command Function ZXR10(config)#interface te_tunnel <tunnel-number> Enters a tunnel interface.0) ZTE Proprietary and Confidential .2 Configuring RSVP This procedure describes how to establish an LSP tunnel by using the RSVP-TE mode. 3.B. 2 ZXR10 (config-mpls-te-expl-path-id- Configures a next hop of the identifier)#index <1-64> next-address {strict | explicit path. Step Command Function 1 ZXR10(config)#mpls traffic-eng Enables MPLS TE and enters the TE configuration mode. bandwidth [{static|dynamic}]<bandwidth value>: maximum bandwidth (static reservation type or dynamic reservation type) that the TE interface supports. loose}<A. that is.D> 3 Configures an excluded path.D> 2-5 SJ-20140731105308-012|2014-10-20 (R1. Steps 1. Step Command Function 1 ZXR10(config-mpls-te)#explicit-path {identifier Configures the explicit-path <identifier>|name <name>} name or identifier of the tunnel. The L bit of each abstract node in the Explicit Route Object (ERO) is cleared. Configure an explicit path for the tunnel. Create a tunnel interface.B.Chapter 2 MPLS TE Configuration 3.

<name>: TE tunnel name with 1-63 characters.B. Command Function ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Configures the path of the tunnel number)#tunnel mpls traffic-eng path-option <number> (dynamic). Step Command Function 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters the tunnel configuration <tunnel-number> mode.0) ZTE Proprietary and Confidential . ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Configures the TE tunnel number)#tunnel mpls traffic-eng name <name> name. 2 This tunnel name is carried to all nodes along the tunnel through the RSVP-TE signaling protocol. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Configures the destination number)#tunnel destination ipv4 <A.C. 7. 2-6 SJ-20140731105308-012|2014-10-20 (R1.ZXR10 M6000-S Configuration Guide (MPLS) strict: strict path. Configure the path of the tunnel. 6. 2 5. Configure a TE tunnel name. Check different tunnel names by using the display command. loose: loose path. 4. Step Command Function 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters the tunnel configuration <tunnel-number> mode. Tunnels with the same tunnelID can be more easily distinguished at the intermediate node. Configure the destination address of the tunnel. Configure other RSVP functions. explicit-path {identifier <identifier>|name <name>} dynamic: uses the dynamic path calculation mode.D> address of the tunnel. dynamic ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Configures the path of the tunnel number)#tunnel mpls traffic-eng path-option <number> (explicit path).

<ingress-id> egress-id <egress-id>] ZXR10#show mpls traffic-eng tunnels brief Checks the brief information about a TE tunnel. range: 3–990. <multiplier>: multiple of the timeout for detecting BFD control packets. By default. Commands Functions ZXR10#show mpls traffic-eng tunnels te_tunnel <Tunnel Displays the information about a ID> specified local tunnel.Chapter 2 MPLS TE Configuration Step Commands Functions 1 ZXR10(config-mpls-te-if-interface-name)#bfd Enables BFD on the real interface in MPLS-TE interface configuration mode. Display the configuration results. ZXR10#show mpls traffic-eng tunnels remote-tunnel Displays the information about a remote [tunnel-id <tunnel-id> lsp-id <lsp-id> ingress-id tunnel.0) ZTE Proprietary and Confidential . range: 3–990. checks whether the TE tunnel name is valid. 8. specifically. <min-rx>: minimum time interval (in milliseconds) for receiving BFD control packets. which is 1–32. ZXR10(config-mpls-te-tunnel-te_tunnel-number)#t Sets the maximum number of unnel mpls traffic-eng hop limit <hop-num> hops on a tunnel. 2 3 ZXR10(config-mpls-te-tunnel-te_tunnel-number)#t Enables tunnel LSP BFD in unnel mpls traffic-eng bfd interval <interval> min-rx < MPLS-TE tunnel interface min-rx > multiplier <multiplier> configuration mode. <hop-num>: range of the maximum hops on a tunnel. ZXR10#show mpls traffic-eng interface brief Displays the brief information about the interface on which the TE function is enabled. ZXR10#show mpls traffic-eng interface detail Displays the detailed information about the interface on which the TE function is enabled. – End of Steps – 2-7 SJ-20140731105308-012|2014-10-20 (R1. range: 3–50. this number is not limited. <interval>: minimum time interval (in milliseconds) for sending BFD control packets.

3 RSVP Configuration Instance 2. Establish the OSPF neighbor relationship between the P1 router and the P2 router through the direct-connected interfaces. The next hop is Tunnel1. In this case.255. Enable TE on the direct connected interfaces of the P1 router and the P2 router. The dynamic routing mode is used in this instance.168. Enable OSPF TE.1 255. Figure 2-3 Establishing a Basic OSPF TE RSVP Tunnel Configuration Flow 1.255.1.255.255. The tunnel is established through the OSPF TE protocol in dynamic routing mode. 2.1.3.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1. there is a common RSVP tunnel from the P1 router to the P2 router.ZXR10 M6000-S Configuration Guide (MPLS) 2. Configuration Commands The configuration of P1 is as follows: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192.0) ZTE Proprietary and Confidential .1. Configure the destination and the path of tunnel1 on the P1 router.1 255.1. the traffic is transmitted through the tunnel. 3. Configure a static route to the destination on the P1 router.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit 2-8 SJ-20140731105308-012|2014-10-20 (R1.1. Establish the RSVP tunnel on the interfaces in the same OSPF area.1 Establishing a Basic OSPF TE RSVP Tunnel Configuration Descriptions As shown in Figure 2-3.

1.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.1.255 area 0 P2(config-ospf-1)#network 2.1.1.20.1.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.255.255.0.0.0.1.1.1.1.2 255.1 255.Chapter 2 MPLS TE Configuration P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1 P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.255.1.1.0.1.0 0.1 P2(config-ospf-1)#network 192.255.0.255.1 P1(config-ospf-1)#network 192.2 255.1.1 0.1.168.0 0.255 te_tunnel1 The configuration of P2 is as follows: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.0) ZTE Proprietary and Confidential .1 0.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit P2(config-mpls-te)#exit 2-9 SJ-20140731105308-012|2014-10-20 (R1.1.1.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.168.1.1.0.0.168.1.1.255 area 0 P1(config-ospf-1)#network 1.255.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 dynamic P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#exit P1(config)#ip route 172.0.

2 255.1 gei-0/1/0/2 up/up - P1(config)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 2.255.1 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.255. Configuration Verification Check the tunnel information on the P1 router. The loopback interfaces are always in UP state (unless the state is changed manually). type dynamic (Basis for Setup) Actual Bandwidth: 0 kbps Hot-standby protection: No path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy class: default 2-10 SJ-20140731105308-012|2014-10-20 (R1.0 R2(config-if-gei-0/1/0/2)#exit Note: The loopback addresses are used as the Router-IDs in MPLS-TE. P1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 2.1.20. The information of the tunnel is shown below. It is to prevent the establishment of the tunnel from being affected by the Router-IDs due to down interfaces.1.ZXR10 M6000-S Configuration Guide (MPLS) The configuration of R2 is as follows: R2(config)#interface gei-0/1/0/2 R2(config-if-gei-0/1/0/2)#ip address 172.1.0) ZTE Proprietary and Confidential .1. The tunnel is in up state.1.

168.1. 2-11 SJ-20140731105308-012|2014-10-20 (R1.0.1. peak rate= 0 kbits History: Tunnel: Time since created: 0 days. 2. 10 minutes Prior LSP: path option 1 Current LSP: Uptime:0 days.0) ZTE Proprietary and Confidential .1. Dst 2. peak rate= 0 kbits RSVP Resv Info: Record Route: NULL Fspec: ave rate= 0 kbits. there is a common RSVP tunnel from the P1 router to the P2 router.3. 3 RSVP Signalling Info : Src 1. 6 hours.Chapter 2 MPLS TE Configuration Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 Affinity: 0x0/0x0 EBS: 0 byte AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.1.1. The tunnel is established through the IS-IS TE protocol in strict routing mode.1.1 192.1 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kbits.1.2 2. Tun_Id 1.2 Establishing a Strict IS-IS TE RSVP Tunnel Configuration Descriptions As shown in Figure 2-4. 0 hours. Tun_Instance 74 RSVP Path Info: Explicit Route: 192.1. burst= 1000 bytes.1.1.0. burst= 1000 bytes.1. 0 minutes Last lsp error information: None log record.0 OutLabel: gei-0/1/0/2.168.

ZXR10 M6000-S Configuration Guide (MPLS) Figure 2-4 Establishing a Strict IS-IS TE RSVP Tunnel Configuration Flow 1. 3.1.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1. Configuration Commands The configuration of P1 is as follows: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192. Establish the IS-IS neighbor relationship between the P1 router and the P2 router through the direct-connected interfaces and enable IS-IS TE.1 255. Enable TE on the direct-connected interfaces of the P1 router and the P2 router.255. Configure a static route to the destination on the P1 router.255.168. 2.1 255.255.255. The next hop is Tunnel1.1. the traffic is transmitted through the tunnel. Configure the destination and the path of tunnel1 on the P1 router. In this case.0) ZTE Proprietary and Confidential .1.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router isis 1 P1(config-isis-1)#area 00 P1(config-isis-1)#system-id AAAA.BBBB. The strict routing mode is used in this example.1111 P1(config-isis-1)#interface gei-0/1/0/2 P1(config-isis-1-if-gei-0/1/0/2)#ip router isis P1(config-isis-1-if-gei-0/1/0/2)#exit P1(config-isis-1)#interface loopback1 P1(config-isis-1-if-loopback1)#ip router isis P1(config-isis-1-if-loopback1)#exit 2-12 SJ-20140731105308-012|2014-10-20 (R1.

Chapter 2 MPLS TE Configuration P1(config-isis-1)#metric-style wide P1(config-isis-1)#mpls traffic-eng level-1 P1(config-isis-1)#mpls traffic-eng level-2 P1(config-isis-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.255.255.0) ZTE Proprietary and Confidential .2222 P2(config-isis-1)#interface gei-0/1/0/2 P2(config-isis-1-if-gei-0/1/0/2)#ip router isis P2(config-isis-1-if-gei-0/1/0/2)#exit P2(config-isis-1)#interface loopback2 P2(config-isis-1-if-loopback2)#ip router isis P2(config-isis-1-if-loopback2)#exit P2(config-isis-1)#metric-style wide P2(config-isis-1)#mpls traffic-eng level-1 P2(config-isis-1)#mpls traffic-eng level-2 P2(config-isis-1)#exit 2-13 SJ-20140731105308-012|2014-10-20 (R1.1 P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.1.2 255.168.2 255.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.1.1.255.1.1.255 P2(config-if-loopback2)#exit P2(config)#router isis 1 P2(config-isis-1)#area 00 P2(config-isis-1)#system-id AAAA.255.255.20.1.255 te_tunnel1 The configuration of P2 is as follows: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.1.168.BBBB.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#exit P1(config)#ip route 172.1.1 255.255.1.

0 R2(config-if-gei-0/1/0/2)#exit Configuration Verification Check the tunnel information on the P1 router.1 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1. The information of the tunnel is shown below. P1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 2.1.ZXR10 M6000-S Configuration Guide (MPLS) P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit P2(config-mpls-te)#exit The configuration of R2 is as follows: R2(config)#interface gei-0/1/0/2 R2(config-if-gei-0/1/0/2)#no shutdown R2(config-if-gei-0/1/0/2)#ip address 172.1.2 255. The tunnel is in up state.255.1.20.1.0) ZTE Proprietary and Confidential .1.1 - gei-0/1/0/2 up/up P1(config-mpls-te)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 2. type explicit identifier: 1 (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: no path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: enabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled 2-14 SJ-20140731105308-012|2014-10-20 (R1.1.255.1.

1. 0 minutes Last lsp error information: None log record. Tun_Id 1.0.1. burst= 1000 bytes.1.1.1. 19 minutes Prior LSP: path option 1 Current LSP: Uptime:0 days.1 192. 3 RSVP Signalling Info : Src 1.1.0 InLabel: OutLabel: gei-0/1/0/2. 0 hours. peak rate= 0 kbits RSVP Resv Info: Record Route: NULL Fspec: ave rate= 0 kbits. peak rate= 0 kbits History: Tunnel: Time since created: 0 days.1. Dst 2. Tun_Instance 78 RSVP Path Info: Explicit Route: 192. 6 hours.168.1.Chapter 2 MPLS TE Configuration BFD: disabled Policy class: default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 Affinity: 0x0/0x0 EBS: 0 byte AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.0. 2-15 SJ-20140731105308-012|2014-10-20 (R1.1 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kbits.1. burst= 1000 bytes.2 2.1.168.0) ZTE Proprietary and Confidential .

0172 R1(config-isis-0)#system-id 0020.96.0) ZTE Proprietary and Confidential .ZXR10 M6000-S Configuration Guide (MPLS) Note: The loopback addresses are used as the Router-IDs in MPLS TE.255. Configuration Command Run the following commands on R1: R1(config)#interface xgei-0/5/0/3 R1(config-if-xgei-0/5/0/3)#ip address 172. The loopback interfaces are always in UP state (unless the state is changed manually).252 R1(config-if-xgei-0/5/0/3)#exit R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 172. Figure 2-5 Configuring BFD on RSVP Interface Configuration Flow 1. Establish an IS-IS TE tunnel between R1 and R2.213 255.20.255.0001 R1(config-isis-0)#metric-style wide R1(config-isis-0)#mpls traffic-eng level-2 R1(config-isis-0)#interface xgei-0/5/0/3 R1(config-isis-0-if-xgei-0/5/0/3)#ip router isis R1(config-isis-0-if-xgei-0/5/0/3)#end 2-16 SJ-20140731105308-012|2014-10-20 (R1.1 255.3 Configuring BFD on RSVP Interface Configuration Description As shown in Figure 2-5. it is required to establish an IS-IS TE tunnel between R1 and R2 and enable BFD for the RSVP-TE interfaces on R1 and R2.0096. It is to prevent the establishment of the tunnel from being affected by the Router-IDs due to interface down.3.255.20.130.255 R1(config-if-loopback1)#exit R1(config)#router isis R1(config-isis-0)#area 49.255. 2. Enable BFD on the RSVP-TE interfaces on R1 and R2.1. 2.

108.20.96.252 R2(config-if-xgei-0/0/0/3)#exit R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 172.20.255 R2(config-if-loopback1)#exit R2(config)#router isis R2(config-isis-0)#area 49. 2-17 SJ-20140731105308-012|2014-10-20 (R1.0172 R2(config-isis-0)#system-id 0020.1 R1(config-mpls-te)#tunnel te_tunnel 1 R1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 172.255. a session of RSVP interface on R1 should be established successfully.1 R2(config-mpls-te)#interface xgei-0/0/0/3 R2(config-mpls-te-if-xgei-0/0/0/3)#bfd Configuration Verification After the configuration.255.20.0002 R2(config-isis-0)#metric-style wide R2(config-isis-0)#mpls traffic-eng level-2 R2(config-isis-0)#interface xgei-0/0/0/3 R2(config-isis-0-if-xgei-0/0/0/3)#ip router isis R2(config-isis-0-if-xgei-0/0/0/3)#end R2(config)#mpls traffic-eng R2(config-mpls-te)#interface loopback1 R2(config-mpls-te-if-loopback1)#exit R2(config-mpls-te)#router-id 172.1 R1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 dynamic R1(config-mpls-te-tunnel-te_tunnel1)#exit R1(config-mpls-te)#interface xgei-0/5/0/3 R1(config-mpls-te-if-xgei-0/5/0/3)#bfd Run the following commands on R2: R2(config)#interface xgei-0/0/0/3 R2(config-if-xgei-0/0/0/3)#ip address 172.0) ZTE Proprietary and Confidential .255.255.0096. Run the following commands to check the configuration result.108.20.1 255.108.Chapter 2 MPLS TE Configuration R1(config)#interface te_tunnel1 R1(config-if-te_tunnel1)#ip unnumbered loopback1 R1(config-if-te_tunnel1)#exit R1(config)#mpls traffic-eng R1(config-mpls-te)#interface loopback1 R1(config-mpls-te-if-loopback1)#exit R1(config-mpls-te)#router-id 172.214 255.20.130.

3.4 Configuring RSVP LSP BFD Configuration Description As shown in Figure 2-6. 2-18 SJ-20140731105308-012|2014-10-20 (R1.213 172.0) ZTE Proprietary and Confidential .214 Local Discr:2050 Remote Discr:2049 Holdown(ms):150 Interface: xgei-0/5/0/3 Vpnid:0 VRF Name:--- State:UP BFD Type:SingleHop Instance Name: ---------------------------------------------------------------------------Version:1 Dest UDP Port:3784 Final Bit:1 Local Diag:0 Demand Mode:0 Poll Bit:1 MinTxInt:50 MinRxInt:50 Multiplier:3 Received MinTxInt:50 Received MinRxInt:50 Received Multiplier:3 Length:24 Min Echo Interval:0 Min BFD Length:24 Max BFD Length:24 Rx Count:0 Rx Interval (ms) min/max/avg:0 /0 /0 Tx Count:66 Tx Interval (ms) min/max/avg:0 /0 /0 Registered Protocols:RSVP Uptime:0 day(s).213 PeerAddr :172.130.0 hour(s).130.214 8 1 150 UP xgei-0/5/0/3 R1(config)#show bfd neighbors ip detail ------------------------------------------------------------LocalAddr:172. Check the BFD configuration result of RSVP interface on R1: R1(config)#show bfd neighbors ip brief LocalAddr PeerAddr LD RD Hold State Interface 172.20.20.20. the tunnel traffic should be changed over to the standby LSP.0 minute(s) Control Plane Rcv Phy Interface Name: xgei-0/5/0/3 ============================================================================ 2.20.1. RSVP LSP BFD is to use BFD to detect the LSP of an RSVP tunnel.130. When it is combined with the hot standby function and when an invalid LSP becomes an active LSP.130.ZXR10 M6000-S Configuration Guide (MPLS) Run the show bfd neighbors [ip brief|ip detail] command to check whether the BFD configuration of the RSVP interface takes effect.

1.1 255.255.0.0 R1(config-if-gei-0/5/0/7)#exit R1(config)#interface loopback10 R1(config-if-loopback10)#ip address 10.0 area 0 R1(config-ospf-100)#mpls traffic-eng area 0 R1(config-ospf-100)#exit R1(config)#interface te_tunnel1 R1(config-if-te_tunnel1)#ip unnumbered loopback10 R1(config-if-te_tunnel1)#exit 2-19 SJ-20140731105308-012|2014-10-20 (R1.1.10.0.10.255.255.0.1 0.0) ZTE Proprietary and Confidential .0 0.255.0.255.1.1.1 255.Chapter 2 MPLS TE Configuration Figure 2-6 RSVP LSP BFD Configuration Instance Configuration Flow 1.1.10.0 R1(config-if-gei-0/5/0/4)#exit R1(config)#interface gei-0/5/0/7 R1(config-if-gei-0/5/0/7)#ip address 57. Configuration Commands Run the following commands on R1: R1(config)#interface gei-0/5/0/4 R1(config-if-gei-0/5/0/4)#ip address 54.0.255 area 0 R1(config-ospf-100)#network 10.1. R2 and R3.255 R1(config-if-loopback10)#exit R1(config)#router ospf 100 R1(config-ospf-100)#network 54.1 255. Enable OSPF-TE among R1.0. Configure a hot standby tunnel on R1 (R1-R3-R2) and configure BFD on the tunnel.255 area 0 R1(config-ospf-100)#network 57.255.1.0 0.10. 2.1.

0.255 area 0 R2(config-ospf-100)#network 10.0 R2(config-if-gei-0/3/0/7)#exit R2(config)#interface gei-0/3/0/5 R2(config-if-gei-0/3/0/5)#ip address 115.0) ZTE Proprietary and Confidential .1 R1(config-mpls-te)#interface gei-0/5/0/4 R1(config-mpls-te-if-gei-0/5/0/4)#exit R1(config-mpls-te)#interface gei-0/5/0/7 R1(config-mpls-te-if-gei-0/5/0/7)#exit R1(config-mpls-te)#tunnel te_tunnel1 R1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 10.1.0.10.10.1.10.2 255.2 R1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 R1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route R1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng hot-standby protect 1 dynamic R1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng bfd interval 30 min-rx 30 multiplier 5 R1(config-mpls-te-tunnel-te_tunnel1)#exit R1(config-mpls-te)#explicit-path identifier 1 R1(config-mpls-te-expl-path-id-1)#next-address strict 54.0 R2(config-if-gei-0/3/0/5)#exit R2(config)#interface loopback10 R2(config-if-loopback10)#ip address 10.2 0.255.0 area 0 R2(config-ospf-100)#mpls traffic-eng area 0 R2(config-ospf-100)#exit R2(config)#mpls traffic-eng R2(config-mpls-te)#interface loopback10 R2(config-mpls-te-if-loopback10)#exit R2(config-mpls-te)#router-id 10.10.255.ZXR10 M6000-S Configuration Guide (MPLS) R1(config)#mpls traffic-eng R1(config-mpls-te)#interface loopback10 R1(config-mpls-te-if-loopback10)#exit R1(config-mpls-te)#router-id 10.10.0.255.255.255 area 0 R2(config-ospf-100)#network 57.1.0.0.0 0.255.255.1.10.1.2 255.10.2 2-20 SJ-20140731105308-012|2014-10-20 (R1.1.10.10.1.2 255.3 R1(config-mpls-te-expl-path-id-1)#next-address strict 115.255 R2(config-if-loopback10)#exit R2(config)#router ospf 100 R2(config-ospf-100)#network 115.0 0.0.1.2 Run the following commands on R2: R2(config)#interface gei-0/3/0/7 R2(config-if-gei-0/3/0/7)#ip address 57.10.1.1.1.1.

3 255.0.1.10.255. Run the show bfd neighbors [rsvp-brief|rsvp-detail] command to check whether the RSVP interface BFD configuration takes effect.10.3 255.255 area 0 R3(config-ospf-100)#network 10.10. The RSVP LSP BFD session on R1 should be established successfully.255 area 0 R3(config-ospf-100)#network 54.Chapter 2 MPLS TE Configuration R2(config-mpls-te)#interface gei-0/3/0/7 R2(config-mpls-te-if-gei-0/3/0/7)#exit R2(config-mpls-te)#interface gei-0/3/0/5 R2(config-mpls-te-if-gei-0/3/0/5)#exit Run the following commands on R3: R3(config)#interface gei-0/1/1/4 R3(config-if-gei-0/1/1/4)#ip address 54.0 0. If the link between R3 and R2 is invalid.0.0 R3(config-if-gei-0/1/1/4)#exit R3(config)#interface gei-0/1/1/5 R3(config-if-gei-0/1/1/5)#ip address 115.10. The traffic is changed over to the hot standby tunnel.1.255.3 255.0) ZTE Proprietary and Confidential .1.3 R3(config-mpls-te)#interface gei-0/1/1/4 R3(config-mpls-te-if-gei-0/1/1/4)#exit R3(config-mpls-te)#interface gei-0/1/1/5 R3(config-mpls-te-if-gei-0/1/1/5)#exit Configuration Verification After the configuration.255.0.1. R1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running 2-21 SJ-20140731105308-012|2014-10-20 (R1.1.3 0.255.1.0 R3(config-if-gei-0/1/1/5)#exit R3(config)#interface loopback10 R3(config-if-loopback10)#ip address 10.1.0.255. Check the tunnel on R1.255 R3(config-if-loopback10)#exit R3(config)#router ospf 100 R3(config-ospf-100)#network 115. the tunnel1 on R1 is Up and a hot standby tunnel is generated.0 0.0.10.0 area 0 R3(config-ospf-100)#mpls traffic-eng area 0 R3(config-ospf-100)#exit R3(config)#mpls traffic-eng R3(config-mpls-te)#interface loopback10 R3(config-mpls-te-if-loopback10)#exit R3(config-mpls-te)#router-id 10.1.10. the hot standby relation is ready.0.255.

2.10.10.10. 3 RSVP Signalling Info : Src 10.10. burst= 1000 bytes.2 57.2 - gei-0/5/0/7 up/up R1#sho mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspID Tunnel1 9 In-label Out intf/label FRR intf/label Status Tun hd Tu1:3 ready FRR intf/label Status gei-0/5/0/4:14745 6 LSP midpoint frr information: LSP identifier In-label Out intf/label R1#sho mpls traffic-eng tunnels hot-standby Name: tunnel_1 (Tunnel1) Destination: 10.1.2 Exclude Route: 10.10.1.1. R1#show bfd neighbors rsvp lsp brief TunnelId LspId LD RD Hold State te_tunnel1 16 33053 2662 150 UP R1#show bfd neighbors rsvp lsp detail ---------------------------------------------------------------------------TunnelId:te_tunnel1 LspId:16 LspRole:master Local Discr:33053 Remote Discr:2662 State:UP 2-22 SJ-20140731105308-012|2014-10-20 (R1. Dst 10.10.1.2 - gei-0/5/0/4 up/up tunnel_1(hot) 10.10. burst= 1000 bytes.10.1.10.3 115.10.10.1 57.1.2 Fspec: ave rate= 0 kbits.10.1.10.1.2 Record Route: NULL Tspec: ave rate= 0 kbits.10.0) ZTE Proprietary and Confidential .10. peak rate= 0 kbits RSVP Resv Info: Record Route: 10. Tun_Id 1.2 10.2 Status: Admin: up Oper: up Path: valid Signalling: connected Fast Reroute Protection: None Hot-standby Protection: Ready InLabel: OutLabel: gei-0/5/0/7. peak rate= 0 kbits Check the RSVP interface BFD configuration on R1.10.ZXR10 M6000-S Configuration Guide (MPLS) Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 10.1. Tun_Instance 10 RSVP Path Info: Explicit Route: 57.

10.0) ZTE Proprietary and Confidential .*/ R1#sho mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspID Tunnel1 9 In-label Out intf/label FRR intf/label Status Tun hd Tu1:3 active FRR intf/label Status gei-0/5/0/4:14745 6 LSP midpoint frr information: LSP identifier In-label Out intf/label R1#sho mpls traffic-eng tunnels hot-standby Name: tunnel_1 (Tunnel1) Destination: 10.10.2 Status: Admin: up Oper: up Path: valid Signalling: connected Fast Reroute Protection: None Hot-standby Protection: Backup lsp in use R1(config)#show bfd neighbors rsvp lsp brief 2-23 SJ-20140731105308-012|2014-10-20 (R1.0 hour(s).0 minute(s) Control Plane Rcv Phy Interface Name: gei-0/5/0/4 ============================================================================ /*When the R3-R2 link is invalid.Chapter 2 MPLS TE Configuration Holddown(ms):150 BFD Type:RSVP LSP[Active] Instance Name: ---------------------------------------------------------------------------Version:1 Dest UDP Port:3784 Final Bit:1 Local Diag: 0 Demand Mode:0 Poll Bit:0 MinTxInt: 50 MinRxInt:50 Multiplier:3 Received MinTxInt: 10 Received MinRxInt:10 Received Multiplier:3 Length:24 Min Echo Interval:0 Rx Count:0 Rx Interval (ms) min/max/avg:0 /0 /0 Tx Count:0 Tx Interval (ms) min/max/avg:0 /0 /0 Registered Protocols:RSVP LSP Uptime:0 day(s). the tunnel hot standby relation is active.

it sends an ACK message to the message sender. and Srefresh message. The Srefresh message itself needs not to be acknowledged. 2-24 SJ-20140731105308-012|2014-10-20 (R1. and it must carry a MESSAGE_ID object. l l MESSAGE_ID_NACK object: After a MESSAGE_ID object is received. when there are thousands of tunnels.0) ZTE Proprietary and Confidential . a MESSAGE_ID object is carried in a triggering message. The MESSAGE-ID object is the object applied in the TE message acknowledgement and retransmission mechanism. RFC extends the MESSAGE-ID object. if the corresponding status block is not found. Such feature of RSVP determines that. This mechanism is applied only in triggering messages. ACK message. Implementation To implement RSVP summary refresh. MESSAGE_ID_LIST object. a MESSAGE_ID_NACK object is generated. refer to the "Introduction to TE Message Acknowledgement and Retransmission" section. If an RSVP node does not receive any refresh message during the specified period. and ACK message.1 TE Summary Refresh Introduction Overview RSVP is a typical soft status protocol. For a description of the MESSAGE_ID object. Srefresh message: carries one or more MESSAGE_ID_LIST objects to refresh multiple PATH or RESV messages that have been advertised. the corresponding LSP is removed. and a large amount of bandwidth is used to maintain these tunnels. MESSAGE_ID_NACK object. too much pressure is put on system loads to maintain the refresh messages for these tunnels. In the TE message acknowledgement and retransmission mechanism. MESSAGE_ID_ACK object. The principle of summary refresh is to use a summary refresh message (carrying a MESSAGE-ID object indicating a PATH or RESV message) to replace the standard PATH and RESV message. When a neighbor receives the message. The MESSAGE_ID object plays the same role as a PATH or RESV message. and the related LSP status information is maintained by periodically sending refresh messages. Limited system resources can be effectively utilized by reducing the traffic loads caused by refresh messages.ZXR10 M6000-S Configuration Guide (MPLS) 2. This object is sent in an ACK message or carried in other messages through the TE message acknowledgement and retransmission mechanism. and no handlings are performed for PATH and RESV refresh messages. MESSAGE_ID_ACK object.2. l MESSAGE_ID_LIST object: identifies a received message.2 TE Summary Refresh Introduction 2.

or the RESV refresh message is received from the downstream. it sends a MESSAGE_ID_NACK object to the source end. the neighbor considers that a PATH refresh message is received from the upstream. enhancing the utilization of limited system resources. TE message acknowledgement and retransmission should be enabled in the TE configuration mode of local and peer nodes. run the following command: 2-25 SJ-20140731105308-012|2014-10-20 (R1.2 Configuring TE Summary Refresh This procedure describes how to configure TE summary refresh. This can reduce the traffic loads caused by refresh messages. To display the configuration result. Steps 1.Chapter 2 MPLS TE Configuration Features After a neighbor receives a summary refresh message. To configure summary refresh. 3.2.0) ZTE Proprietary and Confidential . If the corresponding status block is found. 2. 2. If the neighbor does not find the corresponding PATH or RSB status block through the MESSAGE_ID object. and enters the TE configuration mode. and sends the message to the neighbor. The advantage of summary refresh is that a message sender needs not to construct a standard PATH or RESV message. To enable MPLS TE. it determines the corresponding PATH or RSB status block based on the MESSAGE_ID object. it constructs a standard PATH or RESV refresh message based on the PATH or RSB status block corresponding to the MESSAGE_ID object. perform the following steps: Step Command Function 1 ZXR10(config-mpls-te)#signalling retransmit Enables TE message acknowledgement and retransmission. 2 ZXR10(config-mpls-te)#signalling refresh reduction Enables summary refresh. After the source end receives the MESSAGE_ID_NACK object. Context Before the TE summary refresh configuration. and then updates the TTD time of the PSB or RSB. and a neighboring node needs not to create a PKT and compare objects in a message. run the following commands: Command Function ZXR10(config)#mpls traffic-eng Enables MPLS TE.

and configure summary refresh in the TE configuration mode of P1 and P2.3 TE Summary Refresh Configuration Example Scenario Description Figure 2-7 shows a sample network topology.0) ZTE Proprietary and Confidential .255. 3. Enable summary refresh in the TE configuration mode of P1 and P2.1. Figure 2-7 TE Summary Refresh Configuration Example Configuration Flow 1.168.255.1 255.ZXR10 M6000-S Configuration Guide (MPLS) Command Function ZXR10#show ip rsvp refresh reduction Displays summary refresh information.2. and enable OSPF TE.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.1. 4. – End of Steps – 2.255. It is required to establish a common RSVP tunnel from P1 to P2 by using the OSPF TE-based strict routing mode.1. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 2-26 SJ-20140731105308-012|2014-10-20 (R1. 2.255.1 255. Configure the tunnel destination and strict routing mode on P1. Establish an OSPF neighbor relationship between the directly-connected interfaces of P1 and P2. Enable TE on the directly-connected interfaces of P1 and P2.

1.0.255.1.1.0.255.1.1.1.255 area 0 P1(config-ospf-1)#network 1.Chapter 2 MPLS TE Configuration P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.255.0) ZTE Proprietary and Confidential .1 P2(config-ospf-1)#network 192.1.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.1 255.1.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.168.1.1.1.1.1.0 0.0.1.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit 2-27 SJ-20140731105308-012|2014-10-20 (R1.255 area 0 P2(config-ospf-1)#network 2.0.2 255.168.1 P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.1.1.168.1.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#tunnel te_tunnel 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.0.1 0.1 P1(config-ospf-1)#network 192.168.0 0.1 0.0.255.1.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.0.0.

1.12.gei-0/1/0/2 up/up It can be seen that the tunnel is in up status.1.1.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit Run the following commands to enable TE summary refresh: P1(config-mpls-te)#signalling retransmit P1(config-mpls-te)#signalling refresh reduction P2(config-mpls-te)#signalling retransmit P2(config-mpls-te)#signalling refresh reduction Configuration Verification Run the show mpls traffic-eng tunnels brief command on P1 to check whether the tunnel has been established.1 .168.1.1.1 Resv 1 2 1.1 Run the show ip rsvp refresh reduction command on P2 to display the information of TE summary refresh: P2(config-mpls-te)#show ip rsvp refresh reduction Retransmit:enabled Initial retransmit delay:1000ms Retransmit limit:3 Refresh Reduction:enabled next_hop type tunnel_id lsp_id ingressegress 192.12. The execution result is displayed as follows: P1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 2.1.1.1.2 Path 1 2 1.1.168.1.1.1 2-28 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential .ZXR10 M6000-S Configuration Guide (MPLS) P2(config-mpls-te)#router-id 2.1. Run the show ip rsvp refresh reduction command on P1 to display the information of TE summary refresh: P1(config)#show ip rsvp refresh reduction Retransmit:enabled Initial retransmit delay:1000ms Retransmit limit:3 Refresh Reduction:enabled next_hop type tunnel_id lsp_id ingressegress 192.1.1.

Chapter 2 MPLS TE Configuration 2. this object cannot be acknowledged. The loss of a refresh message may cause multiple LSPs not to receive the corresponding refresh information. messages are lost). an RSVP message is periodically sent to refresh an LSP. MESSAGE_ID_ACK object: acknowledges the corresponding MESSAGE_ID object. 2-29 SJ-20140731105308-012|2014-10-20 (R1.1 Introduction to TE Message Acknowledgement and Retransmission Overview RSVP messages are IP-based. Implementation To implement RSVP message acknowledgement and retransmission. message senders are not informed of failures. RFC adds a MESSAGE-ID object. In this way. message acknowledgement and retransmission is used to guarantee the summary refresh function. only the services related to the LSP are affected. Before the summary refresh function is enabled. a MESSAGE_ID_ACK object. in some abnormal cases (for example. and the consequence is not very serious. If the flag in the MESSAGE_ID object of the message sender is not 1. l l MESSAGE_ID object: uniquely identifies a message. To relieve and eliminate the negative effect.0) ZTE Proprietary and Confidential . and indicates whether the message should be acknowledged by the peer end.3 TE Message Acknowledgement and Retransmission 2. which ensures the reliability of message transmission. Features l Explicit acknowledgement and implicit acknowledgement In general. messages that need to be acknowledged are retransmitted when no acknowledgements are received. receiving a MESSAGE_ID_ACK object is referred to as explicit acknowledgement. Moreover. a negative effect also arises: The function and significance of refresh messages are greatly enhanced. and therefore it cannot carry any MESSAGE_ID object. but the forwarding of IP messages is unreliable: messages may be lost or failed. if an LSP is removed due to no receipt of an RSVP message during the specified period.3. even causing the removal of LSPs and service interruptions. l ACK message: acknowledges MESSAGE_ID_ACK objects. In the worst cases. Even though the use of the summary refresh mode can reduce the amount of refresh messages. and an ACK message. multiple messages by carrying multiple An ACK message does not need to be acknowledged.

the message receiver has two options: à Immediate acknowledgement: replies an ACK message for the received message (such as the NOTIFY message) immediately. 2. Context TE message acknowledgement and retransmission should be configured in the TE configuration mode of local and peer nodes. Configure TE message acknowledgement and retransmission. An ACK message can only acknowledge a received message. but the MESSAGE_ID object carried in the RSVP message functions as the MESSAGE_ID_ACK object. à Batch delayed acknowledgement: buffers the ACK objects for a received message temporarily. and sends these ACK objects all at once.0) ZTE Proprietary and Confidential . This acknowledgement mode is referred to as implicit acknowledgment. l Immediate acknowledgement and batch delayed acknowledgement If a received message needs to be acknowledged.3.2 Configuring TE Message Acknowledgement and Retransmission This procedure describes how to configure TE message acknowledgement and retransmission. Enable the MPLS TE. 2-30 SJ-20140731105308-012|2014-10-20 (R1. Step Command Function 1 ZXR10(config-mpls-te)#signalling retransmit Configures TE message acknowledgement and retransmission. and enters the TE configuration mode. Command Function ZXR10(config)#mpls traffic-eng Enables MPLS TE. This acknowledgement mode has a real-time feature but lower efficiency. a received RSVP message does not carry a MESSAGE_ID_ACK object. Steps 1. 2.ZXR10 M6000-S Configuration Guide (MPLS) In some cases.

Chapter 2 MPLS TE Configuration

Step

Command

Function

2

ZXR10(config-mpls-te)#signalling retransmit interval

Sets the message

< interval-value >

retransmission interval
(in milliseconds) in TE
message acknowledgement
and retransmission, range:
500–3000.

3

ZXR10(config-mpls-te)#signalling retransmit limit <

Sets the number of

limit-count >

times that a message is
retransmitted in TE message
acknowledgement and
retransmission, range: 2–10.

3. Verify the configuration.
Command

Function

ZXR10#show ip rsvp refresh reduction

Displays information of TE
message acknowledgement and
retransmission.

– End of Steps –

2.3.3 TE Message Acknowledgement and Retransmission
Configuration Example
Scenario Description
Figure 2-8 shows a sample network topology. It is required to establish a common RSVP
tunnel from P1 to P2 by using the OSPF TE-based strict routing mode, and configure TE
message acknowledgement and retransmission in the TE mode of P1 and P2.
Figure 2-8 TE Message Acknowledgement and Retransmission Configuration Example

2-31
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)

Configuration Flow
1. Establish an OSPF neighbor relationship between the directly-connected interfaces of
P1 and P2, and enable OSPF TE.
2. Enable TE on the directly-connected interfaces of P1 and P2.
3. Configure the tunnel destination and strict routing mode on P1.
4. Configure TE acknowledgement and retransmission in the TE configuration mode of
P1 and P2.

Configuration Commands
Run the following commands on P1:
P1(config)#interface gei-0/1/0/2
P1(config-if-gei-0/1/0/2)#no shutdown
P1(config-if-gei-0/1/0/2)#ip address 192.168.1.1 255.255.255.0
P1(config-if-gei-0/1/0/2)#exit
P1(config)#interface loopback1
P1(config-if-loopback1)#ip address 1.1.1.1 255.255.255.255
P1(config-if-loopback1)#exit
P1(config)#interface te_tunnel1
P1(config-if-te_tunnel1)#ip unnumbered loopback1
P1(config-if-te_tunnel1)#exit

P1(config)#router ospf 1
P1(config-ospf-1)#router-id 1.1.1.1
P1(config-ospf-1)#network 192.168.1.0 0.0.0.255 area 0
P1(config-ospf-1)#network 1.1.1.1 0.0.0.0 area 0
P1(config-ospf-1)#mpls traffic-eng area 0
P1(config-ospf-1)#exit

P1(config)#mpls traffic-eng
P1(config-mpls-te)#interface loopback1
P1(config-mpls-te-if-loopback1)#exit
P1(config-mpls-te)#router-id 1.1.1.1
P1(config-mpls-te)#interface gei-0/1/0/2
P1(config-mpls-te-if-gei-0/1/0/2)#exit
P1(config-mpls-te)#explicit-path identifier 1
P1(config-mpls-te-expl-path-id-1)#next-address strict 192.168.1.2
P1(config-mpls-te-expl-path-id-1)#exit
P1(config-mpls-te)#tunnel te_tunnel 1
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1.1.1
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng
path-option 1 explicit-path identifier 1
P1(config-mpls-te-tunnel-te_tunnel1)#exit
P1(config-mpls-te)#exit

2-32
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration

Run the following commands on P2:
P2(config)#interface gei-0/1/0/2
P2(config-if-gei-0/1/0/2)#no shutdown
P2(config-if-gei-0/1/0/2)#ip address 192.168.1.2 255.255.255.0
P2(config-if-gei-0/1/0/2)#exit
P2(config)#interface loopback2
P2(config-if-loopback2)#ip address 2.1.1.1 255.255.255.255
P2(config-if-loopback2)#exit

P2(config)#router ospf 1
P2(config-ospf-1)#router-id 2.1.1.1
P2(config-ospf-1)#network 192.168.1.0 0.0.0.255 area 0
P2(config-ospf-1)#network 2.1.1.1 0.0.0.0 area 0
P2(config-ospf-1)#mpls traffic-eng area 0
P2(config-ospf-1)#exit

P2(config)#mpls traffic-eng
P2(config-mpls-te)#interface loopback2
P2(config-mpls-te-if-loopback2)#exit
P2(config-mpls-te)#router-id 2.1.1.1
P2(config-mpls-te)#interface gei-0/1/0/2
P2(config-mpls-te-if-gei-0/1/0/2)#exit

Configuration Verification
Run the show mpls traffic-eng tunnels brief command on P1 to check whether the tunnel
has been established. The execution result is displayed as follows:
P1(config)#show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: running
Forwarding: enabled
TUNNEL NAME DESTINATION UP IF DOWN IF
tunnel_1

2.1.1.1

-

STATE/PROT

gei-0/1/0/2

up/up

It can be seen that the tunnel is in up status.
Run the show ip rsvp refresh reduction command on P1 to check the information of
message acknowledgement and retransmission. The execution result is displayed as
follows:
P1(config)#show ip rsvp refresh reduction
/*TE message acknowledgement and retransmission is disabled*/
Retransmit:disabled
Initial retransmit delay:1000ms
Retransmit limit:3
Refresh Reduction:disabled

2-33
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)

Run the following commands on P1 to configure message acknowledgement and
retransmission:
P1(config-mpls-te)#signalling retransmit
P1(config-mpls-te)#signalling retransmit interval 2000
P1(config-mpls-te)#signalling retransmit limit 5

P2 has the same configuration as P1.
Run the show ip rsvp refresh reduction command on P1 to check the information of
message acknowledgement and retransmission. The execution result is displayed as
follows:
P1(config-mpls-te)#sho ip rsvp refresh reduction
/*TE message acknowledgement and retransmission is enabled*/
Retransmit:enabled
Initial retransmit delay:2000ms
Retransmit limit:5
Refresh Reduction:disabled

2.4 TE Authentication Configuration
2.4.1 TE Authentication Overview
Authentication Introduction
RSVP authentication mechanism (cryptographic authentication) is a method for encrypting
messages on the sender's end, and authenticating messages on the receiver's end
between two neighboring nodes in a RSVP networking solution. By using this mechanism,
RSVP messages can be prevented from being modified illegally or suffering from an
attack that causes repeated messages transmission.
This authentication function has the following features:
l

l

Based on the existing flow of RSVP protocol, the RSVP message authentication
function is implemented through adding operations in RSVP transmission and
reception packages.
Cryptographic authentication is more reliable than message checksum. Thus
message transmission through an interface that has an authentication mechanism
can be free from RSVP message checksum.

Authentication Implementation
To implement the RSVP authentication function, the field function of INTG objects,
challenge objects, challenge messages and challenge-response messages are extended.
l

An INTG object carries the information to be checked for authentication between
neighboring nodes. For the nodes that have been configured with an authentication
mechanism, all messages except challenge messages that are sent from the node
2-34

SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration

l

l

l

must carry INTG objects. The received messages also carry INTG objects that are
required to be checked.
A challenge object carries a key ID and a timestamp-based coolie file. This object is
only used between the interactions of challenge messages and challenge-response
messages.
For challenge messages, when the receiver end receives a RSVP message in which
the challenge consultation bit is set to 1, check the consultation status. If the status
is not successful, challenge consultation will be initialized, and a challenge message
will be sent to the sender's end.
A response message is the response to a challenge message. It contains an INTG
object and a challenge object. Among which, the challenge object is the one carried
in the original challenge message.

Authentication Features
The RSVP authentication method is to generate a data abstract based on packets and
passwords using a simplex algorithm. After the packets and the abstract are sent to a
neighbor, the neighbor also generates the abstract based on the packets and passwords
using the same algorithm, and then checks the two abstracts to confirm whether the
packets are intact. Meanwhile, to avoid vicious transmission of packets repeatedly, when
packets are sent, a sequence number field is added. the value for this field increases
continuously. If the sequence number is too old, the corresponding packets will also be
deleted.
The RSVP authentication requires a password. In this way, the unauthorized routers
cannot operate as a neighbor. Even with constructed packets, without the corresponding
password, a RSVP connection to the router cannot be created. The RSVP key verification
is performed between two RSVP neighbors. The key used by the two neighbors cannot
be different. Otherwise, the authentication will fail, and the RSVP packets received by the
interface will be deleted.
A RSVP key can be encrypted in two modes: MD5 and SHA-1. The default mode is MD5.
To promote the security and reliability of RSVP authentication, the enhanced functions
of RSVP authentication are provided, including slide-window technology and handshake
mechanism. Sliding windows are used to prevent unordered packets. The handshake
mechanism (authentication negotiation) is used to prevent nodes being attacked by
repeatedly-sent packets during reboot.

2.4.2 Configuring TE Authentication
This procedure describes how to configure TE authentication.

Context
You should configure two neighboring nodes to implement the authentication function.

2-35
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)

Steps
1. Enable MPLS TE.
Step

Command

Function

1

ZXR10(config)#mpls traffic-eng

Enables MPLS TE
globally, and enters the
TE configuration mode.

2

ZXR10(config-mpls-te)#interface <interface-name>

Enables MPLS TE on the
interface.

2. Enable the authentication function for an interface.
Step

Command

Function

1

ZXR10(config-mpls-te-if-interface-name)#authe

Enables the authentication

ntication

function for an interface.

ZXR10(config-mpls-te-if-interface-name)#authent

As the receiver's end,

ication challenge

perform Challenge/Response

2

handshake with a neighbor.
3

ZXR10(config-mpls-te-if-interface-name)#authent

As the sender's end,

ication challenge-imp

perform Challenge/Response
handshake with a neighbor.

4

ZXR10(config-mpls-te-if-interface-

Sets authentication key.

name)#authentication key passphrase {encrypted

<encrypted-password>:

<encrypted-password>|<password>}

encrypted authentication
key.
<password>: unencrypted
authentication key.

5

6

ZXR10(config-mpls-te-if-interface-name)#authen

Specifies an authentication

tication type {md5 | sha1}

type.

ZXR10(config-mpls-te-if-interface-name)#authent

Specifies the size of the

ication window-size <window-size>

window for displaying
authentication messages,
range: 1–64.

3. To displays the configuration results, run the following command:
Command

Function

ZXR10#show ip rsvp authentication

Displays the authentication relationship.

– End of Steps –

2-36
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration

2.4.3 TE Authentication Configuration Instance
Configuration Instruction
As shown in Figure 2-9, the establishment of common RSVP tunnel from P1 to P2 uses
OSPF TE and a strict routing mode. Under the interface, SHA 1 authentication mode is
used.
Figure 2-9 TE Interface Authentication Configuration

Configuration Method
1. Establish OSPF neighbors between P1 and P2 straight-through interfaces, and enable
TE function in the OSPF protocol.
2. Enable TE for P1 and P2 straight-through interfaces. Under these interfaces, use the
authentication mode. Enable challenge and challenge-imp for P1 and P2 interfaces,
and use SHA1 authentication mode. The password is 12345678.
3. On P1, set the tunnel destination and the strict routing mode.
4. Set a static route that routes to the destination on P1. The next hop is Tunnel1. In this
way, messages are forwarded through Tunnel1.

Configuration Steps
The following describes the configuration on P1:
P1(config)#interfacegei-0/1/0/2
P1(config-if-gei-0/1/0/2)#no shutdown
P1(config-if-gei-0/1/0/2)#ip address 192.168.1.1 255.255.255.0
P1(config-if-gei-0/1/0/2)#exit
P1(config)#interface loopback1
P1(config-if-loopback1)#ip address 1.1.1.1 255.255.255.255
P1(config-if-loopback1)#exit
P1(config)#interface te_tunnel1
P1(config-if-te_tunnel1)#ip unnumbered loopback1
P1(config-if-te_tunnel1)#exit

P1(config)#router ospf 1

2-37
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
P1(config-ospf-1)#router-id 1.1.1.1
P1(config-ospf-1)#network 192.168.1.0 0.0.0.255 area 0
P1(config-ospf-1)#network 1.1.1.1 0.0.0.0 area 0
P1(config-ospf-1)#mpls traffic-eng area 0
P1(config-ospf-1)#exit

P1(config)#mpls traffic-eng
P1(config-mpls-te)#interface loopback1
P1(config-mpls-te-if-loopback1)#exit
P1(config-mpls-te)#router-id 1.1.1.1
P1(config-mpls-te)#interface gei-0/1/0/2
P1(config-mpls-te-if-gei-0/1/0/2)#authentication
P1(config-mpls-te-if-gei-0/1/0/2)#authentication type sha1
/*Set SHA1 as the authentication type for TE interface*/
P1(config-mpls-te-if-gei-0/1/0/2)#authentication key passphrase 12345678
/*Set authentication key*/
P1(config-mpls-te-if-gei-0/1/0/2)#authentication challenge
P1(config-mpls-te-if-gei-0/1/0/2)#authentication challenge-imp
P1(config-mpls-te-if-gei-0/1/0/2)#authentication window-size 10
P1(config-mpls-te-if-gei-0/1/0/2)#exit
P1(config-mpls-te)#explicit-path identifier 1
P1(config-mpls-te-expl-path-id-1)#next-address strict 192.168.1.2
P1(config-mpls-te-expl-path-id-1)#exit
P1(config-mpls-te)#tunnel te_tunnel 1
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1.1.1
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1
explicit-path identifier 1
P1(config-mpls-te-tunnel-te_tunnel1)#exit
P1(config-mpls-te)#exit
P1(config)#ip route 172.20.1.2 255.255.255.255 te_tunnel1

The following describes the configuration on P2:
P2(config)#interface gei-0/1/0/2
P2(config-if-gei-0/1/0/2)#no shutdown
P2(config-if-gei-0/1/0/2)#ip address 192.168.1.2 255.255.255.0
P2(config-if-gei-0/1/0/2)#exit
P2(config)#interface loopback2
P2(config-if-loopback2)#ip address 2.1.1.1 255.255.255.255
P2(config-if-loopback2)#exit

P2(config)#router ospf 1
P2(config-ospf-1)#router-id 2.1.1.1
P2(config-ospf-1)#network 192.168.1.0 0.0.0.255 area 0
P2(config-ospf-1)#network 2.1.1.1 0.0.0.0 area 0
P2(config-ospf-1)#mpls traffic-eng area 0

2-38
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2. and the authentication information of Tunnel1 is available: P1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 2.255. The tunnel is in up status.20.1.2 255.1.1.1.1 .255.0) ZTE Proprietary and Confidential .1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#authentication P2(config-mpls-te-if-gei-0/1/0/2)#authentication challenge P2(config-mpls-te-if-gei-0/1/0/2)#authentication challenge-imp P2(config-mpls-te-if-gei-0/1/0/2)#authentication type sha1 /*Set SHA1 as the authentication type for TE interface*/ P2(config-mpls-te-if-gei-0/1/0/2)#authentication key passphrase 12345678 /*Set authentication key*/ P2(config-mpls-te-if-gei-0/1/0/2)#authentication window-size 10 P2(config-mpls-te-if-gei-0/1/0/2)#exit The following describes the configuration on R2: R2(config)#interface gei-0/1/0/2 R2(config-if-gei-0/1/0/2)#no shutdown R2(config-if-gei-0/1/0/2)#ip address 172.gei-0/1/0/2 up/up P1(config)#show mpls traffic-eng interface detail gei-0/1/0/2 gei-0/1/0/2: State: ENABLE Traffic-eng metric: 0 Authentication: enabled Key: <encrypted> Type: sha-1 Challenge: enabled Challenge-imp: Implemented 2-39 SJ-20140731105308-012|2014-10-20 (R1.1. check the tunnel status.0 R2(config-if-gei-0/1/0/2)#exit Configuration Verification On P1.

5 Confiugration of MPLS TE Crossing Several AS Domains 2.1. There are two types of LSPs that crossing the network: l l Inter-Area TE LSP: The LSP of the MPLS TE tunnel crosses the node in the topology database that is not in the ingress router.2 Interface: gei-0/1/0/2 Direction: Send Crypto Auth:Enable Send Key ID (hex): 0x6896a0010000 Next valid seq: 1c9f 6bafc3 Challenge-imp: Configured challenge-imp state: CHALL_IMP_WAIT Direction: recv Challenge: Configured challenge state: CHALL_SUCC Rcv Key ID (hex): 0x6896a0030000 Windowsize: 10 2. This node is in other OSPF area or the IS-IS level. Inter-AS TE LSP: The LSP of the MPLS TE tunnel crosses the node who is not in the AS of the ingress router. so 2-40 SJ-20140731105308-012|2014-10-20 (R1.5. Inter-Area TE LSP and Inter-AS TE LSP are advertised in the ERO through the sub-object of the loose hop.1 MPLS TE Crossing Several AS Domains Overview MPLS TE Crossing Several AS Domains Introduction MPLS TE creates an LSP tunnel crossing the network to transmit the traffic. check the TE authentication information: P1#show ip rsvp authentication Neighbor: 192. The ingress router does not know the strict path of the other areas.168.ZXR10 M6000-S Configuration Guide (MPLS) Window size: 10 BFD: disabled Backup path: None SRLGs: None Intf Fast-Hello: DISABLE Fast-Hello interval: 10000 Fast-Hello miss: 4 Convergence-Ratio: 100(%) On P1.0) ZTE Proprietary and Confidential .

In this case. it is required to set the interface to passive-interface mode on the ASBR and flood it to the Interior Gateway Protocol (IGP) in the ASBR. 2-41 SJ-20140731105308-012|2014-10-20 (R1. For the Inter-AS tunnel. LSR5 and LSR6 belong to AS200. If the AS where the head-end LSR responsible for calculating the TE LSP is located uses the OSPF protocol. and LSR4 is the ASBR for AS200. and the AS is composed of multiple areas. After that.Chapter 2 MPLS TE Configuration the loose display mode must be used. For the Inter-Area TE tunnel. For the INTER-AREA application. Now it is required to establish a TE LSP from LSR1 to LSR6 and calculate this LSP. The ingress router and the ABR in this explicit path segment the LSP. the head-end LSR completes the LSP calculation task. The lower router handles the sub-object of these loose hop and set it to the strict hop. In this case. The ASBR calculates the loose path to the strict path. The working principle of INTER-AS application is as follows: To realize INTER-AS application. In this case. LSR3 is the ASBR for AS100. add the strict explicit path of the ASBR in another AS to the loose explicit path of the destination node and then send it to the ASBR of another AS. the key point is that how to calculate the LSP of the ASBR at the end of the link crossing different domains. you only need to set the path (in loose mode) for the router connected with the ingress of the tunnel during the configuration. The router sends the receivesignallingng to the ASBR of another AS. MPLS TE Crossing Several AS Domains Work Flow The application of RSVP-TE crossing several domains is classified into two categories. including INTER-AREA and INTER-AS. so the head-end LSR can only calculates the LSP of ASBR. At the same time. An AS does not know the topology structure of another AS. so the head-end LSR can only calculate the LSP of the local Autonomous System Boundary Router (ASBR). The remanent loose explicit path is calculated as the strict explicit path. the RSVP-TE could send the signalling to the router where the passive interface is located according to the path calculated by CSPF.0) ZTE Proprietary and Confidential . and LSR4. As shown in Figure 2-10. If the LSP of the ASBR at the other end of the link is calculated. you needs to specify that the LSP must pass ABR through the next-address loose command. the path to the next ABR or the egress interface of the tunnel is calculated separately. Specify that the LSP must pass the Area Border Router (ABR) through the next-address loose command. For each segment. you need to consider how to calculate the LSP crossing several domains (Inter-AS). LSR2 and LSR3 belong to AS100 and the same area area0. it is assumed that LSR1. it is required to calculate the TE LSP. the TE LSP crossing several domains is established. In this case. the AS does not know the topology of another AS. establish a loose explicit path in the router on the ingress interface of the tunnel.

2. Enable the TE function globally.ZXR10 M6000-S Configuration Guide (MPLS) Figure 2-10 TE LSP Calculation Scheme According to the current mechanism.[nbg-igp-id {isis <sysid>| ospf <sysid>}]}] 2-42 SJ-20140731105308-012|2014-10-20 (R1. The method is as follows: configure a path to the ASBR (LSR4) of another AS on the ASBR (LSR3) of the local AS.5. Set the POSO/1 interface on the LSR3 to mpls traffic-eng passive interface. Command Function ZXR10(config)#mpls traffic-eng Enables the TE function globally.C.B. <if-address>]. 2. Step Command Function 1 ZXR10(config-mpls-te)#interface <interface-name> Enters the TE interface configuration mode. Configure the TE interface passive-interface attribute. 2 ZXR10(config-mpls-te-if-interface-name)#p Configures the TE interface assive-interface nbr-te-id <A.D>[{[nbr-if-addr passive-interface attribute. the LSR4 calculates the remanent loose path to the strict path to complete the TE LSP establishment in different domains. the LSR3 can calculate the strict explicit path to the ASBR (LSR4) of another AS after the signaling is sent to the ASBR (LSR3) and sends the strict explicit path to the ASBR (LSR4) of another AS for processing.0) ZTE Proprietary and Confidential . the head-end LSR1 could calculate the LSP from LSR1 to LSR3 and from LSR3 to LSR4. In this case. the LSP from the LSR1 to the LSR3 could be calculated. The LSR3 reports the inter-domain link and LSR4 at the other end of the link to teh AS100. the LSR3 forms an Opaque LSA (type 10) or a TLV22 neighbor. The LSR3 does not know how to get to the LSR4.2 Configuring the MPLS TE Crossing Several AS Domains This procedure describes how to configure MPLS TE Crossing Several AS Domains. When RSVP-TE establishes the tunnel. In this case. Steps 1. In this case.

Figure 2-11 Configuration Instance of OSPF TE Crossing Several AS Domains 2-43 SJ-20140731105308-012|2014-10-20 (R1. – End of Steps – 2. ZXR10#show ip ospf database opaque-area Displays whether the egress of the ASBR generates Point-to-point LSA (type 10).3 MPLS TE Crossing Several AS Domains Configuration Instance 2. Displays whether the neighbor ZXR10#show isis database verbose information crossing several domains exists in the database. To display the configuration results.3. R1 and R3 locate in the AS100.5.0) ZTE Proprietary and Confidential . and R2 locates in the AS 200.C. Configure the global OSPF instance and establish the OSPF neighbor.Chapter 2 MPLS TE Configuration <A. <if-addr>: indicates the interface address of the remote ASBR (it is the TE RouterID of the default neighbor if not configured).D>: indicates the TE router-id of the peer neighbor router of this link. run the following commands: Commands Functions ZXR10#show mpls traffic-eng interface detail Displays the detailed configuration of [<interface-name>] the TE interface.5.B. configure passive-interface to form an Opaque LSA (point-to-point LAS with type 10) and floods to its own area. 3. Enable the TE function on the egress interface of the ASBR1.1 Configuring an OSPF TE Crossing Several AS Domains Configuration Descriptions The network topology is shown in Figure 2-11.

Enable the TE on two interface direct connected with the R1 and the R3. the traffic is transmitted through the tunnel.255. 2.1 R1(config-ospf-777)#network 61. 6.0) ZTE Proprietary and Confidential .ZXR10 M6000-S Configuration Guide (MPLS) Configuration Flow 1.255.0.61.2 2-44 SJ-20140731105308-012|2014-10-20 (R1.1 0.61. Configure a TE tunnel from R1 to R2 passing through ASBR1 in loose mode.61.4.0 R1(config-if-gei-0/1/0/3)#exit R1(config)#interface loopback61 R1(config-if-loopback61)#ip address 61. Configuration Commands The configuration of R1 is as follows: Interface configuration: R1(config)#interface gei-0/1/0/3 R1(config-if-gei-0/1/0/3)#no shutdown R1(config-if-gei-0/1/0/3)#ip address 131. The next hop is Tunnel1.4.61. Enable the TE on the egress interface of the ASBR1 and configure passive-interface.1 255.255 R1(config-if-loopback61)#exit OSPF and OSPF TE configuration: R1(config)#router ospf 777 R1(config-ospf-777)#router-id 61.0. In this case.0.1.0 0. Enable OSPF TE on ASBR2 and enable the TE on the gei-0/5/0/3 interface. 4.1.61. Configure a static route to the destination on the R1 router.1 255.0.255 area 0 R1(config-ospf-777)#mpls traffic-eng area 0 R1(config-ospf-777)#exit MPLS-TE configuration: R1(config)#mpls traffic-eng R1(config-mpls-te)#interface loopback61 R1(config-mpls-te-if-loopback61)#exit R1(config-mpls-te)#router-id 61.61.255.0 area 0 R1(config-ospf-777)#network 131.61.61.1 R1(config-mpls-te)#interface gei-0/1/0/3 R1(config-mpls-te-if-gei-0/1/0/3)#exit R1(config-mpls-te)#exit R1(config)#interface te_tunnel100 R1(config-if-te_tunnel100)#ip unnumbered loopback61 R1(config-if-te_tunnel100)#exit R1(config)#mpls traffic-eng R1(config-mpls-te)#tunnel te_tunnel 100 R1(config-mpls-te-tunnel-te_tunnel100)#tunnel destination ipv4 61. 5. Establish the OSPF neighbor between the R1 and the R3 in the same AS100 and enable TE.61.255.61. 3.

61.2 255.2 255.61.2 255.255.1.3 R1(config-mpls-te-expl-path-id-100)#exit R1(config-mpls-te)#exit R1(config)#ip route 172.0) ZTE Proprietary and Confidential .20.255.255.2 R2(config-mpls-te)#interface gei-0/5/0/3 R2(config-mpls-te-if-gei-0/5/0/3)#end The configuration of R3 is as follows: Interface configuration: R3(config)#interface gei-0/1/0/3 R3(config-if-gei-0/1/0/3)#no shutdown R3(config-if-gei-0/1/0/3)#ip address 131.2 255.61.0 R3(config-if-gei-0/1/0/3)#exit R3(config)#interface gei-0/1/0/4 R3(config-if-gei-0/1/0/4)#no shutdown R3(config-if-gei-0/1/0/4)#ip address 131.2 R2(config-ospf-777)#mpls traffic-eng area 0 MPLS-TE configuration: R2(config)#mpls traffic-eng R2(config-mpls-te)#interface loopback61 R2(config-mpls-te-if-loopback61)#exit R2(config-mpls-te)#router-id 61.1 255.0 R2(config-if-gei-0/5/0/3)#exit R2(config)#interface loopback61 R2(config-if-loopback61)#ip address 61.255 te_tunnel1 The configuration of R2 is as follows: Interface configuration: R2(config)#interface gei-0/5/0/3 R2(config-if-gei-0/5/0/3)#no shutdown R2(config-if-gei-0/5/0/3)#ip address 131.255.4.255.3 255.255.61.61.2.0 R3(config-if-gei-0/1/0/4)#exit R3(config)#interface loopback61 R3(config-if-loopback61)#ip address 61.255.255.255.4.61.61.2.255.4.1.61.255.Chapter 2 MPLS TE Configuration R1(config-mpls-te-tunnel-te_tunnel100)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 100 R1(config-mpls-te-tunnel-te_tunnel100)#exit R1(config-mpls-te)#explicit-path identifier 100 R1(config-mpls-te-expl-path-id-100)#next-address loose 61.255 R2(config-if-loopback61)#exit OSPF TE configuration: R2(config)#router ospf 777 R2(config-ospf-777)#router-id 61.61.255 R3(config-if-loopback61)#exit 2-45 SJ-20140731105308-012|2014-10-20 (R1.61.255.

0 area 0 R3(config-ospf-777)#mpls traffic-eng area 0 R3(config-ospf-777)#exit MPLS-TE configuration: R3(config)#mpls traffic-eng R3(config-mpls-te)#interface loopback61 R3(config-mpls-te-if-loopback61)#exit R3(config-mpls-te)#router-id 61.2 nbr-if-addr 131.255.0 0.255.0 R5(config-if-gei-0/2/1/1)#exit Configuration Verification Show the tunnel establishment information on the R1 router: R1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_100 61.0.2 255.1 nbr-igp-id ospf 61.2.4. type explicit identifier 100 (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: no path options protected Config Parameters: 2-46 SJ-20140731105308-012|2014-10-20 (R1.0.255 area 0.61.0.61.61.61.61.1.61.20.3 0.2 The configuration of R5 is as follows: R5(config)#interface gei-0/2/1/1 R5(config-if-gei-0/2/1/1)#no shutdown R5(config-if-gei-0/2/1/1)#ip address 172.2 - gei-0/1/0/3 up/up R1(config)#show mpls traffic-eng tunnels te_tunnel 100 Name: tunnel_100 (Tunnel100) Destination: 61.3 R3(config-mpls-te)#interface gei-0/1/0/3 R3(config-mpls-te-if-gei-0/1/0/3)#exit R3(config-mpls-te)#interface gei-0/1/0/4 R3(config-mpls-te-if-gei-0/1/0/4)#passive-interface nbr-te-id 61.0.0 R3(config-ospf-777)#network 61.0.1.0.61.61.61.61.61.4.0) ZTE Proprietary and Confidential .3 R3(config-ospf-777)#network 131.ZXR10 M6000-S Configuration Guide (MPLS) OSPF and OSPF TE configuration: R3(config)#router ospf 777 R3(config-ospf-777)#router-id 61.61.2 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.61.61.

peak rate = 0 kbits RSVP Resv Info: Record Route: NULL Fspec:ave rate= 0 kbits.2.0.0 InLabel:OutLabel:gei-0/1/0/3. Tun_Id 100.61.Chapter 2 MPLS TE Configuration Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy class: default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 Affinity: 0x0/0x0 EBS: 0 byte AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0. burst= 2000 bytes.0) ZTE Proprietary and Confidential .1.1.2 61.2 Exclude Route: NULL Record Route: NULL Tspec:ave rate= 0 kbits. peak rate = 0 kbits Check the database information on the ASBR to see whether the egress interface of the ASBR generates Point-to-point LSA (type 10): R3(config)#show ip ospf database opaque-area area 0 2-47 SJ-20140731105308-012|2014-10-20 (R1.4. Dst 61.147456 RSVP Signalling Info : Src 61.0. burst= 2000 bytes.61.61.61.61.61.1. Tun_Instance 105 RSVP Path Info: Explicit Route: 131.1 131.4.

61.0.61.0.0 Opaque Type: 1 Opaque ID: 0 Advertising Router: 61.61.61.61.0 Opaque Type: 1 Opaque ID: 0 Advertising Router: 61.0.0) ZTE Proprietary and Confidential .61.61.0 Opaque Type: 1 Opaque ID: 0 Advertising Router: 61.61.61.33) (Process ID 777) Type-10 Opaque Link Area Link States (Area 0.2 Number of Links : 0 LS age: 752 Options: (No TOS-capability.ZXR10 M6000-S Configuration Guide (MPLS) OSPF Router with ID (61.0.0.61.0) LS age: 665 Options: (No TOS-capability.0.1 LS Seq Number: 0x80000001 Checksum: 0x5868 Length: 28 Fragment number : 0 2-48 SJ-20140731105308-012|2014-10-20 (R1. DC) LS Type: Opaque Area Link Link State ID: 1. DC) LS Type: Opaque Area Link Link State ID: 1.2 LS Seq Number: 0x80000001 Checksum: 0x5c62 Length: 28 Fragment number : 0 MPLS TE router ID : 61.61.0.61.3 Number of Links : 0 LS age: 735 Options: (No TOS-capability. DC) LS Type: Opaque Area Link Link State ID: 1.33 LS Seq Number: 0x80000001 Checksum: 0xabf2 Length: 28 Fragment number : 0 MPLS TE router ID : 61.0.

1.1 Interface Address : 131. DC) LS Type: Opaque Area Link Link State ID: 1.0.61.61.2 Neighbor Interface Address : 0.0.1.4.0 Admin Metric : 1 Maximum bandwidth : 125000000 Maximum reservable bandwidth : 0 Number of Priority : 8 Priority 0 : 0 Priority 1 : 0 Priority 2 : 0 Priority 3 : 0 Priority 4 : 0 Priority 5 : 0 Priority 6 : 0 Priority 7 : 0 Affinity Bit : 0x0 Number of Links : 1 LS age: 664 Options: (No TOS-capability.1 Number of Links : 0 LS age: 655 Options: (No TOS-capability.0.61.0) ZTE Proprietary and Confidential .1 Opaque Type: 1 Opaque ID: 1 Advertising Router: 61.Chapter 2 MPLS TE Configuration MPLS TE router ID : 61.2 Opaque Type: 1 Opaque ID: 2 Advertising Router: 61.2 LS Seq Number: 0x80000002 Checksum: 0x99c8 Length: 124 Fragment number : 2 2-49 SJ-20140731105308-012|2014-10-20 (R1.61. DC) LS Type: Opaque Area Link Link State ID: 1.4.0.0.33 LS Seq Number: 0x80000001 Checksum: 0xd66f Length: 124 Fragment number : 1 Link connected to Broadcast network Link ID : 131.0.61.61.

1 Interface Address : 131.0 Admin Metric : 1 Maximum bandwidth : 125000000 Maximum reservable bandwidth : 0 Number of Priority : 8 Priority 0 : 0 Priority 1 : 0 Priority 2 : 0 Priority 3 : 0 Priority 4 : 0 Priority 5 : 0 Priority 6 : 0 Priority 7 : 0 Affinity Bit : 0x0 2-50 SJ-20140731105308-012|2014-10-20 (R1.1.0.61.ZXR10 M6000-S Configuration Guide (MPLS) Link connected to Broadcast network Link ID : 131.0) ZTE Proprietary and Confidential .2.4.1 Neighbor Interface Address : 0.0.0 Admin Metric : 1 Maximum bandwidth : 125000000 Maximum reservable bandwidth : 0 Number of Priority : 8 Priority 0 : 0 Priority 1 : 0 Priority 2 : 0 Priority 3 : 0 Priority 4 : 0 Priority 5 : 0 Priority 6 : 0 Priority 7 : 0 Affinity Bit : 0x0 Number of Links : 1 LS age: 659 Options: (No TOS-capability.2 Opaque Type: 1 Opaque ID: 2 Advertising Router: 61.4.4.1.61. DC) LS Type: Opaque Area Link Link State ID: 1.1 LS Seq Number: 0x80000003 Checksum: 0x6bf8 Length: 124 Fragment number : 2 Link connected to Broadcast network Link ID : 131.0.0.0.1 Interface Address : 131.0.1 Neighbor Interface Address : 0.2.4.

2 Neighbor Interface Address : 61.61.0) ZTE Proprietary and Confidential .61.2.33 LS Seq Number: 0x80000001 Checksum: 0x3524 Length: 124 Fragment number : 4 Link connected to Point-to-point network Link ID : 61.2 Admin Metric : 1 Maximum bandwidth : 125000000 Maximum reservable bandwidth : 0 Number of Priority : 8 Priority 0 : 0 Priority 1 : 0 Priority 2 : 0 Priority 3 : 0 Priority 4 : 0 Priority 5 : 0 Priority 6 : 0 Priority 7 : 0 Affinity Bit : 0x0 Number of Links : 1 Show the details about the TE interface on the ASBR.61.0. DC) LS Type: Opaque Area Link Link State ID: 1.Chapter 2 MPLS TE Configuration Number of Links : 1 LS age: 31 Options: (No TOS-capability.4 Opaque Type: 1 Opaque ID: 4 Advertising Router: 61.61.4. R3(config)#show mpls traffic-eng interface detail gei-0/1/0/4 gei-0/1/0/4: State: ENABLE Traffic-eng metric:0 Authentication: disabled Key: <encrypted> Type: md5 Challenge: disabled Challenge-imp: Window size: Not implemented(simulated) 32 BFD: disable Passive Info: 2-51 SJ-20140731105308-012|2014-10-20 (R1.0.61.2 Interface Address : 131.61.

R1 and R3 locates in AS100 and R2 locates in AS200. configure passive-interface to form a point-to-point database.255 2-52 SJ-20140731105308-012|2014-10-20 (R1.255.ZXR10 M6000-S Configuration Guide (MPLS) nbr_te_id nbr_if_addr ospf_rid 61. Enable IS-IS TE on ASBR2 and enable the TE on the ingress gei-0/5/0/3 interface.61.3.61.2 Configuring an IS-IS TE Crossing Several AS Domains Configuration Descriptions The network topology is shown in Figure 2-12.4.61.4.1 255. Enable the TE function on the egress interface of the ASBR1. 3.61.255. Enable the TE on two interface direct connected with the R1 and the R3.2 131.5. 2. Configure the global IS-IS instance and establish the IS-IS neighbor. Configuration Commands The configuration of R1 is as follows: Interface configuration: R1(config)#interface gei-0/1/0/3 R1(config-if-gei-0/1/0/3)#no shutdown R1(config-if-gei-0/1/0/3)#ip address 131.0) ZTE Proprietary and Confidential . Configure a TE tunnel from R1 to R2 passing through ASBR1 in loose mode. Figure 2-12 Configuration Instance of IS-IS TE Crossing Several AS Domains Configuration Flow 1.2.255.0 R1(config-if-gei-0/1/0/3)#exit R1(config)#interface loopback61 R1(config-if-loopback1)#ip address 61. 5.1 61. Establish the IS-IS neighbor between the R1 and the R3 in the same AS100 and enable IS-IS TE.1.1 255.255.2 isis_id Backup path: None SRLGs: None Intf Fast-Hello : DISABLE Fast-Hello interval : 10000 Fast-Hello miss : 4 2. R1 and R3 locate in the same area.61.61. 4. Enable the TE on the egress interface of the ASBR1 and configure passive-interface.

4562.Chapter 2 MPLS TE Configuration R1(config-if-loopback1)#exit IS-IS and IS-IS TE configuration: R1(config)#router isis 1 R1(config-isis-1)#area 01 R1(config-isis-1)#system-id 1236.4.2 R1(config-mpls-te-tunnel-te_tunnel100)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 100 R1(config-mpls-te-tunnel-te_tunnel100)#exit R1(config-mpls-te)#explicit-path identifier 100 R1(config-mpls-te-expl-path-id-100)#next-address loose 61.61.255.61.0 R2(config-if-gei-0/5/0/3)#exit R2(config)#interface loopback61 2-53 SJ-20140731105308-012|2014-10-20 (R1.61.0) ZTE Proprietary and Confidential .7895 R1(config-isis-1)#metric-style wide R1(config-isis-1)#mpls traffic-eng level-1 R1(config-isis-1)#interface gei-0/1/0/3 R1(config-isis-1-if-gei-0/1/0/3)#ip router isis R1(config-isis-1)#interface loopback61 R1(config-isis-1-if-loopback61)#ip router isis R1(config-isis-1-if-loopback61)#exit R1(config-isis-1)#exit MPLS-TE configuration: R1(config)#mpls traffic-eng R1(config-mpls-te)#interface gei-0/1/0/3 R1(config-mpls-te-if-gei-0/1/0/3)#exit R1(config-mpls-te)#exit R1(config)#interface te_tunnel100 R1(config-if-te_tunnel100)#ip unnumbered loopback1 R1(config-if-te_tunnel100)#exit R1(config)#mpls traffic-eng R1(config-mpls-te)#interface loopback61 R1(config-mpls-te-if-loopback61)#exit R1(config-mpls-te)#router-id 61.1 R1(config-mpls-te)#tunnel te_tunnel 100 R1(config-mpls-te-tunnel-te_tunnel100)#tunnel destination ipv4 61.1 255.61.3 R1(config-mpls-te-expl-path-id-100)#exit R1(config-mpls-te)#exit The configuration of R2 is as follows: Interface configuration: R2(config)#interface gei-0/5/0/3 R2(config-if-gei-0/5/0/3)#no shutdown R2(config-if-gei-0/5/0/3)#ip address 131.255.2.61.61.

255.1.9101 R3(config-isis-1)#metric-style wide R3(config-isis-1)#mpls traffic-eng level-1 R3(config-isis-1)#interface gei-0/1/0/3 R3(config-isis-1-if-gei-0/1/0/3)#ip router isis R3(config-isis-1-if-gei-0/1/0/3)#exit 2-54 SJ-20140731105308-012|2014-10-20 (R1.255.255.255.255 R2(config-if-loopback61)#exit IS-IS and IS-IS TE configuration: R2(config)#router isis 1 R2(config-isis-1)#area 10 R2(config-isis-1)#system-id 2355.3666 R2(config-isis-1)#metric-style wide R2(config-isis-1)#mpls traffic-eng level-1 R2(config-isis-1)#interface loopback61 R2(config-isis-1-if-loopback61)#ip router isis R2(config-isis-1-if-loopback61)#exit R2(config-isis-1)#exit R2(config)#mpls traffic-eng R2(config-mpls-te)#interface loopback61 R2(config-mpls-te-if-loopback61)#exit R2(config-mpls-te)#router-id 61.255.ZXR10 M6000-S Configuration Guide (MPLS) R2(config-if-loopback61)#ip address 61.2 R2(config-mpls-te)#interface gei-0/5/0/3 R2(config-mpls-te-if-gei-0/5/0/3)#exit R2(config-mpls-te)#exit The configuration of R3 is as follows: Interface configuration: R3(config)#interface gei-0/1/0/3 R3(config-if-gei-0/1/0/3)#no shutdown R3(config-if-gei-0/1/0/3)# ip address 131.61.61.61.61.255E.0) ZTE Proprietary and Confidential .255.255.255.61.4.255 R3(config-if-loopback61)#exit IS-IS and IS-IS TE configuration: R3(config)#router isis 1 R3(config-isis-1)#area 01 R3(config-isis-1)#system-id 1234.2.2 255.0 R3(config-if-gei-0/1/0/4)#exit R3(config)#interface loopback61 R3(config-if-loopback61)#ip address 61.2 255.3 255.2 255.4.5678.61.0 R3(config-if-gei-0/1/0/3)#exit R3(config)#interface gei-0/1/0/4 R3(config-if-gei-0/1/0/4)#no shutdown R3(config-if-gei-0/1/0/4)#ip address 131.

2 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.4.61. type explicit identifier 100 (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: No path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled 2-55 SJ-20140731105308-012|2014-10-20 (R1.2.61.0) ZTE Proprietary and Confidential .61.61.61.1 nbr-igp-id isis 2355.61.61.2 - gei-0/1/0/3 up/up R1(config)#show mpls traffic-eng tunnels te_tunnel 100 Name: tunnel_100 (Tunnel100) Destination: 61.3666 R3(config-mpls-te-if-gei-0/1/0/4)#exit R3(config-mpls-te)#exit Configuration Verification Check the tunnel establishment on the R1: R1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_100 61.2 nbr-if-addr 131.61.255e.3 R3(config-mpls-te)#interface gei-0/1/0/3 R3(config-mpls-te-if-gei-0/1/0/3)#exit R3(config-mpls-te)#interface gei-0/1/0/4 R3(config-mpls-te-if-gei-0/1/0/4)#passive-interface nbr-te-id 61.Chapter 2 MPLS TE Configuration R3(config-isis-1)#interface loopback61 R3(config-isis-1-if-loopback61)#ip router isis R3(config-isis-1-if-loopback61)#exit R3(config-isis-1)#exit R3(config)#mpls traffic-eng R3(config-mpls-te)#interface loopback61 R3(config-mpls-te-if-loopback61)#exit R3(config-mpls-te)#router-id 61.

0 InLabel:OutLabel:gei-0/1/0/3. burst= 2000 bytes. Dst 61. peak rate = 0 kbits Check the database information on the R3.147456 RSVP Signalling Info : Src 61.61.1.61.4.1.61. R3(config)#show isis database verbose level-1 Process ID:0 Process ID:1 IS-IS level 1 link-state database: LSPID R3.00-00* NLPID: Hostname: Area Address: LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL 0x16 0x27c3 837 0/0/0 0xcc R3 01 2-56 SJ-20140731105308-012|2014-10-20 (R1. peak rate = 0 kbits RSVP Resv Info: Record Route: NULL Fspec:ave rate= 0 kbits.61.2. Tun_Instance 105 RSVP Path Info: Explicit Route: 131.61.0.4.0.ZXR10 M6000-S Configuration Guide (MPLS) BFD: disabled Policy class: default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 Affinity: 0x0/0x0 EBS: 0 byte AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.1.2 Exclude Route: NULL Record Route: NULL Tspec:ave rate= 0 kbits.0) ZTE Proprietary and Confidential .61.1 131. Tun_Id 100. burst= 2000 bytes.2 61.

4.2 Physical BW: 1000000 kbits/sec Reservable Global Pool BW: 0 kbits/sec Global Pool BW Unreserved: [0]: 0 kbits/sec.7. [3]: 0 kbits/sec [4]: 0 kbits/sec.255E.3.0/24 Metric: 10 IP 166.2.1.82 Metric: 16777215 IS-Extended 2355.4. [5]: 0 kbits/sec [6]: 0 kbits/sec.1.00 Metric: 0 IS-Extended R3. [3]: 0 kbits/sec 2-57 SJ-20140731105308-012|2014-10-20 (R1.03 Affinity: 0x0 Interface IP Address: 131.3666-00 Affinity: 0x0 Interface IP Address: 131.1.1 Physical BW: 1000000 kbits/sec Reservable Global Pool BW: 0 kbits/sec Global Pool BW Unreserved: [0]: 0 kbits/sec.Chapter 2 MPLS TE Configuration Router ID: 61.3/32 LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL R3.166.80 Router ID: 61. [7]: 0 kbits/sec Metric: 10 IS-Extended R3.61.2 Physical BW: 1000000 kbits/sec Reservable Global Pool BW: 0 kbits/sec Global Pool BW Unreserved: [0]: 0 kbits/sec.61.03-00* 0x8 0x7404 401 0/0/0 Metric: 0 IS-Extended R1.0) ZTE Proprietary and Confidential .00-00 0xf 0xb98c 491 0/0/0 NLPID: 0xcc Area Address: 01 Ip address: 1.2. [3]: 0 kbits/sec [4]: 0 kbits/sec.61. [1]: 0 kbits/sec [2]: 0 kbits/sec.4. [1]: 0 kbits/sec [2]: 0 kbits/sec. [1]: 0 kbits/sec [2]: 0 kbits/sec.03 Affinity: 0x0 Interface IP Address: 131. [7]: 0 kbits/sec Metric: 10 IP 131.61.3.3 Ip address: 1.00 LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL R1.4. [5]: 0 kbits/sec [6]: 0 kbits/sec.1 Hostname: R1 Metric: 10 IS-Extended R3.61.3.2.0/24 Metric: 10 IP 1.61.82/32 Metric: 10 IP 61.2.

1.0/24 Metric: 10 IP 166.4. the IP network bearing multiple services must reach the traditional level of the telecommunication network on the aspect of reliability. the traditional IP network uses a "tried" service mode.0) ZTE Proprietary and Confidential .61.255e. 2-58 SJ-20140731105308-012|2014-10-20 (R1. the switching protection duration should less than 50 ms.ZXR10 M6000-S Configuration Guide (MPLS) [4]: 0 kbits/sec. With the further development of the network service.3666 Backup path: None SRLGs: None Intf Fast-Hello : DISABLE Fast-Hello interval : 10000 Fast-Hello miss : 4 Convergence-Ratio: 100(%) 2.2 131. the MPLS technology has played an important role in the development of next generation telecommunication networks.1/32 Check the detailed configuration information of the TE interface on ASBR.1 ospf_rid isis_id 2355.61.61. R3(config)#show mpls traffic-eng interface detail gei-0/1/0/4 gei-0/1/0/4: State: ENABLE Traffic-eng metric: 0 Authentication: disabled Key: <encrypted> Type: md5 Challenge: disabled Challenge-imp: Window size: Not implemented(simulated) 32 BFD: disable Passive Info: nbr_te_id nbr_if_addr 61. QoS guarantee and multi-service support.80/32 Metric: 10 IP 61.4.61.0/24 Metric: 10 IP 1.6. In the last few years since mid 1990s. [5]: 0 kbits/sec [6]: 0 kbits/sec.166.2.1 TE-FRR Overview TE-FRR Introduction At present.6 TE-FRR Configuration 2. [7]: 0 kbits/sec Metric: 10 IP 131.3.2.3. For example. such as quickly transferring.

The basic principle of the MPLS FRR is to protect one or more LSPs with a LSP which is established in advance. This protection path is called Detour LSP. The purpose of the MPLS FRR is as follows: skip the faulty link or node through the fast rerouting tunnel to protect the main path. and create a protection path for each LSP to be protected. To ensure that the LSP is not affected by the link or the node fault. Before the new LSP is established. The header node could continue sending a request to establish the main path when the data transmission is not affected. TE-FRR Features The MPLS FRR is a mechanism used for the link protection and node protection. Establish a backup tunnel for the main tunnel automatically when the backup condition is met (the node protection is generated first). In this case. The main feature of the MPLS fast rerouting is fast response and timely switching. At the same time. MP: It is the tail node of the Detour LSP or the Bypass LSP. the data transmission is not interrupted. the LSP tries to find a new path to re-establish the LSP and switch the data to the new path. The following two methods are used for the implementation of the fast rerouting. When the LSP link or node is faulty. Bypass mode (Facility Backup): It protects multiple LSPs through one protection path.0) ZTE Proprietary and Confidential . 2-59 SJ-20140731105308-012|2014-10-20 (R1. the MPLS Fast Reroute (FRR) technology plays a very important role.Chapter 2 MPLS TE Configuration To ensure the reliability of the MPLS network. Backup the tunnel automatically. the service data is transmitted through the protection path. When a fault occurs. It ensures the smooth transition of the service data. the MPLS FRR establishes a local backup path in advance. l l Detour mode (One-to-one Backup): It provides protection to each LSP to be protected. MPLS FRR is implemented based on RSVP TE. The concept of several terms is as follows: l l l Main LSP: The main LSP is the protected LSP for the Detour LSP or the Bypass LSP. The LSP established in advance is called fast rerouting LSP and the protected LSP is called main LSP. The protection is classified into the node protection and the link protection. the MPLS FRR protects the faulty node or link to transmit the traffic through the protection node or link. It must be on the path of the main LSP and cannot be the tail node. It must be on the path of the main LSP and cannot be the head node. This technology provides a quick switching protection function for the LSP with the help of the MPLS Traffic Engineering (TE). The Bypass mode also has two methods to implement fast rerouting. the device that detects the link or node fault switches the services from the faulty link to the backup path quickly to reduce the data loss. This protection path is called Bypass LSP. l l It is required to configure a backup tunnel on the egress interface of the main tunnel by manual. PLR: It is a head node of the Detour LSP or the Bypass LSP.

ZXR10 M6000-S Configuration Guide (MPLS) l l Link protection: There is a direct link between the PLR and the MP. back_tnnl2 is selected as the backup tunnel because the backup bandwidth of back_tnnl1 cannot protect the bandwidth of the active tunnel. Once the requirement for bandwidth protection is promoted. tunnel back_tnnl1 has a 10 M bandwidth and tunnel back_tnnl2 has a 30 M bandwidth. Figure 2-13 shows the active tunnel path RTA-RTB-RTC-RTD-RTE and the backup tunnel path RTB-RTF-RTD. TE FRR is only deployed at the core convergence layer due to the complexity of the network and devices at the access layer. upon switchover. In this case. all the services are switched to the Detour LSP path or the Bypass LSP path. all the service are switched to the Detour LSP path or the Bypass LSP path. The main LSP passes this router. you have to wait till the TE LSP is re-established. which is not protected by the TE FRR at the convergence layer. The main LSP pass this link. Figure 2-13 TE-FRR Bandwidth Protection HOT_LSP Supporting TE-FRR When a dynamic IP/MPLS is deployed in the network with end-to-end TE HOT_LSP protection. an optimal backup path is calculated through an algorithm so that the backup path has a sufficient bandwidth for forwarding the services of the protection LSP upon switchover. Upon selecting backup protection. an additional requirement can be promoted for bandwidth protection. When this router is invalid.0) ZTE Proprietary and Confidential . TE-FRR Bandwidth Protection If a bandwidth is configured for a protection LSP. The active tunnel is configured to have a 20 M bandwidth and require bandwidth protection. When this link is invalid. Two backup tunnels are configured at the RTB node. Node protection: There is a router between the PLR and the MP. services may be interrupted. 2-60 SJ-20140731105308-012|2014-10-20 (R1. to ensure the bandwidth for the services of the protection LSP on the backup path. If both the convergence layer and the access layer are disconnected at the same time and the access device switches over to the standby LSP.

However. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Enables the fast rerouting number)#tunnel mpls traffic-eng fast-reroute {facility | function on the tunnel.6.0) ZTE Proprietary and Confidential . 2 ZXR10(config-mpls-te-if-interface-name)#backup- Configures the tunnel-id for path te_tunnel <tunnel-id> the backup tunnel on the egress interface of the primary tunnel. To reduce the system calculation load. 2-61 SJ-20140731105308-012|2014-10-20 (R1. Steps 1. 3. 2 one-to-one} 2. if both HOT_LSP protection and FRR protection are configured for a tunnel and a HOT_LSP has been created. Step Command Function 1 ZXR10(config-mpls-te)#interface <interface-name> Enters the MPLS-TE interface configuration mode. Configure the auto-tunnel backup function. 2 ZXR10(config-mpls-te-if-interface-name)#auto-tu Configures the tunnel to nnel backup support the auto-tunnel backup function. FRR protection is not needed for the downstream nodes of the HOT_LSP in some cases. configure FRR related protection attributes upon establishing the standby LSP to implement TE FRR protection on downstream nodes. a configuration item is added to enable or disable FRR protection for the HOT_LSP of a tunnel. 3 ZXR10(config-mpls-te-if-interface-name)#auto-tu Indicates that the auto-backup nnel backup nhop-only tunnel only supports path protection. At present. Configure a backup tunnel. Step Command Function 1 ZXR10(config-mpls-te)#interface <interface-name> Enters the MPLS-TE interface configuration mode.2 Configuring TE-FRR This procedure describes how to configure TE-FRR. Configure a tunnel to support the FRR function.Chapter 2 MPLS TE Configuration To ensure the minimum traffic loss. 2. FRR protection forms on downstream nodes of the HOT_LSP. Step Command Function 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters tunnel interface <tunnel-number> configuration mode.

range: 64536~65535.0) ZTE Proprietary and Confidential . range: 64536~65535. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Exits the active tunnel. 5. ZXR10(config-mpls-te)#tunnel te_tunnel <tunnel-number> 5 ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Sets a backup bandwidth for number)#tunnel mpls traffic-eng backup-bw {bandwidth} the backup tunnel. <max-value>: the maximum tunnel-num of the automatic backup tunnel.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 4 ZXR10(config-mpls-te)#auto-tunnel backup Configures the maximum tunnel-num min <min-value> max <max-value> value or the minimum value for the auto-backup tunnel. number)#exit 4 Enters the backup tunnel. ZXR10#show mpls traffic-eng tunnels 2-62 SJ-20140731105308-012|2014-10-20 (R1. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Enables RRO in tunnel mode. <tunnel-number> 2 3 ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Enables the bandwidth number)#tunnel mpls traffic-eng fast-reroute {facility| protection function of the one-to-one }[bw-protect] active tunnel. Enables TE-FRR on the Hot-standby LSP. number)#tunnel mpls traffic-eng record-route 6. <min-value>: the minimum tunnel-num of the automatic backup tunnel. Configure TE-FRR bandwidth protection. Step Command Function 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters tunnel interface <tunnel-number> configuration mode. 2 3 ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Enables TE-FRR on the number)#tunnel mpls traffic-eng hot-standby-lsp Hot-standby LSP in tunnel fast-reroute mode. Command Function ZXR10#show mpls traffic-eng fast-reroute Displays the FRR mapping relationship configured globally. Displays tunnel information. Display the configuration results. 4. Step 1 Command Function ZXR10(config-mpls-te)#tunnel te_tunnel Enters the active tunnel.

3. Displays the debugging information of ZXR10#debug rsvp fast-reroute the manual backup tunnel. there are two tunnels from the P1 router to the P3 router.6.1 Establishing a Tunnel in Facility Mode Manually Configuration Descriptions As shown in Figure 2-14. Tunnel2 passes by the P1 router and the P3 router. Traffic is handed over to the stand-by LSP.0) ZTE Proprietary and Confidential . the stand-by LSP protects it. These two tunnels form the FRR relationship.3 TE-FRR Configuration Instance 2.6. ZXR10#show mpls traffic-eng auto-backup tunnels Displays the summary of the summary auto-backup tunnel. Tunnel1 passes by the P1 router. ZXR10#show mpls traffic-eng tunnels backup Displays the backup bandwidth usage of the backup tunnel and the number of the protection tunnels. When the active LSP has a fault. tunnel1 and tunnel2. 2-63 SJ-20140731105308-012|2014-10-20 (R1. the P2 router and the P3 router.Chapter 2 MPLS TE Configuration Command Function ZXR10#show mpls traffic-eng auto-backup tunnels band Displays the binding information of the [te_tunnel <tunnelId>] auto-backup tunnel and the primary tunnel. Tunnel1 is the active LSP and tunnel2 is stand-byndby LSP. – End of Steps – 2. ZXR10#show mpls traffic-eng auto-backup parameter Displays the parameters of the auto-backup tunnel.

5. the P2 router and the P3 router.1 255. Create the active path and the standby path.255. Enable FRR on the active path. 4. Enable TE on the interfaces in use on the P1 router. The next hop is Tunnel.ZXR10 M6000-S Configuration Guide (MPLS) Figure 2-14 Establishing a Tunnel in Facility Mode Manually Configuration Flow 1. Establish two strict paths.255.2 255.1. The active path passes by the P1 router.1.1 255.0 P1(config-if-gei-0/2/1/3)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1. the P2 router and the P3 router. Enable OSPF TE.255.1. 3.255.1. Configuration Commands The configuration of P1 is as follows: P1(config)#interface gei-0/2/1/1 P1(config-if-gei-0/2/1/1)#no shutdown P1(config-if-gei-0/2/1/1)#ip address 74. The path is in strict mode. the traffic is transmitted through the tunnel. 2.0) ZTE Proprietary and Confidential . Configure a static route to the destination on the P1 router. Establish OSPF neighbor relationship through the direct-connected interfaces on the P1 router.255. Configure the stand-by LSP on gei-0/2/1/1 of the P1 router. In this case. The destination is the TE router-id of P3.1.255. The stand-by path passes by the P1 router and the P3 router.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 2-64 SJ-20140731105308-012|2014-10-20 (R1.0 P1(config-if-gei-0/2/1/1)#exit P1(config)#interface gei-0/2/1/3 P1(config-if-gei-0/2/1/3)#no shutdown P1(config-if-gei-0/2/1/3)#ip address 60. the P2 router and the P3 router.1.

Chapter 2 MPLS TE Configuration
P1(config-if-te_tunnel1)#ip unnumbered loopback1
P1(config-if-te_tunnel1)#exit
P1(config)#interface te_tunnel2
P1(config-if-te_tunnel2)#ip unnumbered loopback1
P1(config-if-te_tunnel2)#exit

P1(config)#router ospf 1
P1(config-ospf-1)#router-id 1.1.1.1
P1(config-ospf-1)#network 1.1.1.1

0.0.0.0 area 0

P1(config-ospf-1)#network 74.1.1.0 0.0.0.255 area 0
P1(config-ospf-1)#network 60.1.1.0 0.0.0.255 area 0
P1(config-ospf-1)#mpls traffic-eng area 0
P1(config-ospf-1)#exit

P1(config)#mpls traffic-eng
P1(config-mpls-te)#interface loopback1
P1(config-mpls-te-if-loopback1)#exit
P1(config-mpls-te)#router-id 1.1.1.1
P1(config-mpls-te)#explicit-path name primary
P1(config-mpls-te-expl-path-name)# next-address strict 74.1.1.1
P1(config-mpls-te-expl-path-name)#next-address strict 120.1.1.2
P1(config-mpls-te-expl-path-name)#exit
P1(config-mpls-te)#explicit-path name back
P1(config-mpls-te-expl-path-name)#next-address strict 60.1.1.2
P1(config-mpls-te-expl-path-name)#exit
P1(config-mpls-te)#interface gei-0/2/1/1
P1(config-mpls-te-if-gei-0/2/1/1)#exit
P1(config-mpls-te)#interface gei-0/2/1/3
P1(config-mpls-te-if-gei-0/2/1/3)#exit

P1(config-mpls-te)#tunnel te_tunnel1
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 3.1.1.1
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1
explicit-path name primary
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng fast-reroute facility
P1(config-mpls-te-tunnel-te_tunnel1)#exit
P1(config-mpls-te)#tunnel te_tunnel2
P1(config-mpls-te-tunnel-te_tunnel2)#tunnel destination ipv4 3.1.1.1
P1(config-mpls-te- tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1
explicit-path name back
P1(config-mpls-te-tunnel-te_tunnel2)#exit
P1(config-mpls-te)#interface gei-0/2/1/1
P1(config-mpls-te-if-gei-0/2/1/1)#backup-path te_tunnel 2
P1(config-mpls-te-if-gei-0/2/1/1)#exit

2-65
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
P1(config-mpls-te)#exit

P1(config)#ip route 172.20.1.2 255.255.255.255 te_tunnel1

The configuration of P2 is as follows:
P2(config)#interface gei-0/2/1/1
P2(config-if-gei-0/2/1/1)#no shutdown
P2(config-if-gei-0/2/1/1)#ip address 74.1.1.1 255.255.255.0
P2(config-if-gei-0/2/1/1)#exit
P2(config)#interface gei-0/2/1/2
P2(config-if-gei-0/2/1/2)#no shutdown
P2(config-if-gei-0/2/1/2)#ip address 120.1.1.1 255.255.255.0
P2(config-if-gei-0/2/1/2)#exit
P2(config)#interface loopback2
P2(config-if-loopback2)#ip address 2.1.1.1 255.255.255.255
P2(config-if-loopback2)#exit

P2(config)#router ospf 1
P2(config-ospf-1)#router-id 2.1.1.1
P2(config-ospf-1)#network 2.1.1.1

0.0.0.0 area 0

P2(config-ospf-1)#network 74.1.1.0 0.0.0.255 area 0
P2(config-ospf-1)#network 120.1.1.0 0.0.0.255 area 0
P2(config-ospf-1)#mpls traffic-eng area 0
P2(config-ospf-1)#exit

P2(config)#mpls traffic-eng
P2(config-mpls-te)#interface loopback2
P2(config-mpls-te-if-loopback2)#exit
P2(config-mpls-te)#router-id 2.1.1.1
P2(config-mpls-te)#interface gei-0/2/1/1
P2(config-mpls-te-if-gei-0/2/1/1)#exit
P2(config-mpls-te)#interface gei-0/2/1/2
P2(config-mpls-te-if-gei-0/2/1/2)#exit
P2(config-mpls-te)#exit

The configuration of P3 is as follows:
P3(config)#interface gei-0/2/1/2
P3(config-if-gei-0/2/1/2)#no shutdown
P3(config-if-gei-0/2/1/2)#ip address 120.1.1.2 255.255.255.0
P3(config-if-gei-0/2/1/2)#exit
P3(config)#interface gei-0/2/1/3
P3(config-if-gei-0/2/1/3)#no shutdown
P3(config-if-gei-0/2/1/3)#ip address 60.1.1.2 255.255.255.0
P3(config-if-gei-0/2/1/3)#exit
P3(config)#interface loopback3

2-66
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration
P3(config-if-loopback3)#ip address 3.1.1.1 255.255.255.255
P3(config-if-loopback3)#exit

P3(config)#router ospf 1
P3(config-ospf-1)#router-id 3.1.1.1
P3(config-ospf-1)#network 3.1.1.1

0.0.0.0

area 0

P3(config-ospf-1)#network 120.1.1.0 0.0.0.255 area 0
P3(config-ospf-1)#network 60.1.1.0 0.0.0.255 area 0
P3(config-ospf-1)#mpls traffic-eng area 0
P3(config-ospf-1)#exit

P3(config)#mpls traffic-eng
P3(config-mpls-te)#interface loopback3
P3(config-mpls-te-if-loopback3)#exit
P3(config-mpls-te)#router-id 3.1.1.1
P3(config-mpls-te)#interface gei-0/2/1/2
P3(config-mpls-te-if-gei-0/2/1/2)#exit
P3(config-mpls-te)#interface gei-0/2/1/3
P3(config-mpls-te-if-gei-0/2/1/3)#exit
P3(config-mpls-te)#exit

The configuration of R2 is as follows:
R2(config)#interface gei-0/2/1/1
R2(config-if-gei-0/2/1/1)#no shutdown
R2(config-if-gei-0/2/1/1)#ip address 172.20.1.2 255.255.255.0
R2(config-if-gei-0/2/1/1)#exit

Configuration Verification
When the tunnel is up, check the FRR information on P1, as shown below.
P1#show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: running
Forwarding: enabled
TUNNEL NAME

DESTINATION

UP IF

DOWN IF

STATE/PROT

tunnel_1

3.1.1.1

-

gei-0/2/1/1

up/up

tunnel_2

3.1.1.1

-

gei-0/2/1/3

up/up

P1#show mpls traffic-eng fast-reroute
Tunnel head end item information
Protected Tunnel
Tunnel1

LspID
86

In-label Out intf/label
Tun hd

FRR intf/label

gei-0/2/1/1:147456

Tu2:3

Status
ready

LSP midpoint frr information:

2-67
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
LSP identifier

In-label Out intf/label

FRR intf/label

Status

When the active LSP has a fault, the traffic will be handed over to the stand-by LSP. FRR
is in active state. At this time, both the active tunnel and the standby tunnel are in up
status. Check the FRR state on P1. When the fault on the active LSP recovers, the FRR
relationship recovers to ready state.
P1#show mpls traffic-eng fast-reroute
Tunnel head end item information
Protected Tunnel

LspID

Tunnel1

86

In-label Out intf/label
Tun hd

FRR intf/label

gei-0/2/1/3:147456

Tu2:3

Status
active

LSP midpoint frr information:
LSP identifier

In-label Out intf/label

FRR intf/label

Status

2.6.3.2 Establishing a Tunnel in Facility Mode Automatically
Configuration Descriptions
As shown in Figure 2-15, there is an active tunnel from P1 to P3. The automatic backup
function is enabled. The displayed path of the active tunnle1 is P1-P2-P3. The FRR facility
protect function is enabled on the active tunnel and the auto-backup relationship is formed.
When the active LSP has a fault, the standby LSP protects it. Traffic is handed over to the
standby LSP.
Figure 2-15 Establishing a Tunnel in Facility Mode Automatically

Configuration Flow
1. Establish OSPF neighbor relationship through the direct-connected interfaces on P1,
P2 and P3. Enable OSPF TE.
2. Enable the au-backup function in TE mode.
2-68
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration

3. Create an active tunnel passing P1-P2-P3.
4. Enable T3 on the interfaces in used on P1, P2 and P3.
5. Create the active path. Enable FRR facility on the active path. The destination is the
TE router-id of P3. The path is in strict mode.
6. Configure a static route to the destination on the P1. The next hop is Tunnel1. In this
case, the traffic is transmitted through the tunnel.

Configuration Commands
The configuration of P1 is as follows:
P1(config)#interface gei-0/2/1/1
P1(config-if-gei-0/2/1/1)#no shutdown
P1(config-if-gei-0/2/1/1)#ip address 74.1.1.2 255.255.255.0
P1(config-if-gei-0/2/1/1)#exit
P1(config)#interface gei-0/2/1/3
P1(config-if-gei-0/2/1/3)#no shutdown
P1(config-if-gei-0/2/1/3)#ip address 60.1.1.1 255.255.255.0
P1(config-if-gei-0/2/1/3)#exit
P1(config)#interface loopback1
P1(config-if-loopback1)#ip address 1.1.1.1 255.255.255.255
P1(config-if-loopback1)#exit
P1(config)#interface te_tunnel1
P1(config-if-te_tunnel1)#ip unnumbered loopback1
P1(config-if-te_tunnel1)#exit

P1(config)#router ospf 1
P1(config-ospf-1)#router-id 1.1.1.1
P1(config-ospf-1)#network 1.1.1.1

0.0.0.0

area 0

P1(config-ospf-1)#network 74.1.1.0 0.0.0.255 area 0
P1(config-ospf-1)#network 60.1.1.0 0.0.0.255 area 0
P1(config-ospf-1)#mpls traffic-eng area 0
P1(config-ospf-1)#exit

P1(config)#mpls traffic-eng
P1(config-mpls-te)#interface loopback1
P1(config-mpls-te-if-loopback1)#exit
P1(config-mpls-te)#router-id 1.1.1.1
P1(config-mpls-te)#explicit-path name primary
P1(config-mpls-te-expl-path-name)#next-address strict 74.1.1.1
P1(config-mpls-te-expl-path-name)#next-address strict 120.1.1.2
P1(config-mpls-te-expl-path-name)#exit

P1(config-mpls-te)#interface gei-0/2/1/1
P1(config-mpls-te-if-gei-0/2/1/1)#auto-tunnel backup
P1(config-mpls-te-if-gei-0/2/1/1)#exit

2-69
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
P1(config-mpls-te)#interface gei-0/2/1/3
P1(config-mpls-te-if-gei-0/2/1/3)#exit

P1(config-mpls-te)#tunnel te_tunnel 1
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 3.1.1.1
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1
explicit-path name primary
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng fast-reroute facility
P1(config-mpls-te-tunnel-te_tunnel1)#exit
P1(config-mpls-te)#exit

P1(config)#ip route 172.20.1.2 255.255.255.255 te_tunnel1

The configuration of P2 is as follows:
P2(config)#interface gei-0/2/1/1
P2(config-if-gei-0/2/1/1)#no shutdown
P2(config-if-gei-0/2/1/1)#ip address 74.1.1.1 255.255.255.0
P2(config-if-gei-0/2/1/1)#exit
P2(config)#interface gei-0/2/1/2
P2(config-if-gei-0/2/1/2)#no shutdown
P2(config-if-gei-0/2/1/2)#ip address 120.1.1.1 255.255.255.0
P2(config-if-gei-0/2/1/2)#exit
P2(config)#interface loopback2
P2(config-if-loopback2)#ip address 2.1.1.1 255.255.255.255
P2(config-if-loopback2)#exit

P2(config)#router ospf 1
P2(config-ospf-1)#router-id 2.1.1.1
P2(config-ospf-1)#network 2.1.1.1

0.0.0.0

area 0

P2(config-ospf-1)#network 74.1.1.0 0.0.0.255 area 0
P2(config-ospf-1)#network 120.1.1.0 0.0.0.255 area 0
P2(config-ospf-1)#mpls traffic-eng area 0
P2(config-ospf-1)#exit

P2(config)#mpls traffic-eng
P2(config-mpls-te)#interface loopback2
P2(config-mpls-te-if-loopback2)#exit
P2(config-mpls-te)#router-id 2.1.1.1
P2(config-mpls-te)#interface gei-0/2/1/1
P2(config-mpls-te-if-gei-0/2/1/1)#exit
P2(config-mpls-te)#interface gei-0/2/1/2
P2(config-mpls-te-if-gei-0/2/1/2)#exit
P2(config-mpls-te)#exit

The configuration of P3 is as follows:
2-70
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration
P3(config)#interface gei-0/2/1/2
P3(config-if-gei-0/2/1/2)#no shutdown
P3(config-if-gei-0/2/1/2)#ip address 120.1.1.2 255.255.255.0
P3(config-if-gei-0/2/1/2)#exit
P3(config)#interface gei-0/2/1/3
P3(config-if-gei-0/2/1/3)#no shutdown
P3(config-if-gei-0/2/1/3)#ip address 60.1.1.2 255.255.255.0
P3(config-if-gei-0/2/1/3)#exit
P3(config)#interface loopback3
P3(config-if-loopback3)#ip address 3.1.1.1 255.255.255.255
P3(config-if-loopback3)#exit

P3(config)#router ospf 1
P3(config-ospf-1)#router-id 3.1.1.1
P3(config-ospf-1)#network 3.1.1.1

0.0.0.0

area 0

P3(config-ospf-1)#network 120.1.1.0 0.0.0.255 area 0
P3(config-ospf-1)#network 60.1.1.0 0.0.0.255 area 0
P3(config-ospf-1)#mpls traffic-eng area 0
P3(config-ospf-1)#exit

P3(config)#mpls traffic-eng
P3(config-mpls-te)#interface loopback3
P3(config-mpls-te-if-loopback3)#exit
P3(config-mpls-te)#router-id 3.1.1.1
P3(config-mpls-te)#interface gei-0/2/1/2
P3(config-mpls-te-if-gei-0/2/1/2)#exit
P3(config-mpls-te)#interface gei-0/2/1/3
P3(config-mpls-te-if-gei-0/2/1/3)#exit
P3(config-mpls-te)#exit

The configuration of R2 is as follows:
R2(config)#interface gei-0/2/1/1
R2(config-if-gei-0/2/1/1)#no shutdown
R2(config-if-gei-0/2/1/1)#ip address 172.20.1.2 255.255.255.0
R2(config-if-gei-0/2/1/1)#exit

Configuration Verification
The P1 router shows that the active tunnel and the auto-backup tunnel are formed.
P1(config)##show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process:

running

RSVP Process:

running

Forwarding:

enabled

TUNNEL NAME

DESTINATION

UP IF

DOWN IF

STATE/PROT

2-71
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
tunnel_1

3.1.1.1

-

gei-0/2/1/1

up/up

tunnel_65535

3.1.1.1

-

gei-0/2/1/3

up/up

The P1 shows that the auto-backup protection relationship is formed.
P1(config)#show mpls traffic-eng fast-reroute
Tunnel head end item information
Protected Tunnel
Tunnel1

LspID
2

In-label

Out intf/label

FRR intf/label

Tun hd

gei-0/2/1/1:147456

Tu65535:3

Status
ready

LSP midpoint frr information:
LSP identifier

In-label Out intf/label

FRR intf/label

Status

When the active tunnel has a fault, the traffic will be handed over to the standby tunnel.
FRR is in active state. Check the FRR state on P1. When the fault on the active LSP
recovers, the FRR relationship recovers to ready state.
P1(config)#show mpls traffic-eng fast-reroute
Tunnel head end item information
Protected Tunnel
Tunnel1

LspID
2

In-label

Out intf/label

FRR intf/label

Tun hd

gei-0/2/1/1:147456 Tu65535:3

Status
active

LSP midpoint frr information:
LSP identifier

In-label Out intf/label

FRR intf/label

Status

2.6.3.3 Establishing a Tunnel in Detour Protection Mode
Configuration Descriptions
As shown in Figure 2-16, the active tunnel1 is from R1 to R3 passes R1, R3 and R3.
Enable the FRR one-to-one protection on the active tunnel to form the detour protection
relationship. When the active LSP has a fault, the standby LSP protects it. Traffic is handed
over to the standby LSP.

2-72
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

1.1 255.1.1. As shown in Figure 2-16. R3 and R4.255.1. The next hop is Tunnel1.0) ZTE Proprietary and Confidential . R2. and configure the loopback address and the interface address for each router.1 255. interconnect the R1. R2.255.255. The specified strict path is R1-R2-R3.255.0 R1(config-if-gei-0/0/1/4)#exit R1(config)#interface gei-0/0/0/7 R1(config-if-gei-0/0/0/7)#no shutdown R1(config-if-gei-0/0/0/7)# ip address 20.0 R1(config-if-gei-0/0/0/7)#exit R1(config)#interface te_tunnel1 R1(config-if-te_tunnel1)#ip unnumbered loopback1 R1(config-if-te_tunnel1)#exit 2-73 SJ-20140731105308-012|2014-10-20 (R1. 3.Chapter 2 MPLS TE Configuration Figure 2-16 Establishing a Tunnel in Detour Protection Mode Configuration Flow 1.255 R1(config)#interface gei-0/0/1/4 R1(config-if-gei-0/0/1/4)#no shutdown R1(config-if-gei-0/0/1/4)# ip address 10. Configuration Commands The configuration of R1 is as follows: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1. the traffic is transmitted through the tunnel.255. In this case. Configure a static route to the destination on the R1.1 255.255. Establish the OSPF neighbor relationship through the direct-connected interfaces on the R1. R3 and R4 and enable TE. 2. 4.1.1. Configure the FRR one-to-one function on the head node of the tunnel in MPLS TE mode.

0 0.1.2 R1(config-mpls-te-expl-path-name)#next-address strict 40.0.3.255.255 area 0 R1(config-ospf-1)#network 20.1.255 te_tunnel1 The configuration of R2 is as follows: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 2.1 R1(config-ospf-1)#network 1.0 area 0 R1(config-ospf-1)#mpls traffic-eng area 0 R1(config-ospf-1)#network 10.1 R1(config-mpls-te)# interface gei-0/0/1/4 R1(config-mpls-te-if-gei-0/0/1/4)#exit R1(config-mpls-te)# interface gei-0/0/0/7 R1(config-mpls-te-if-gei-0/0/0/7)#exit R1(config-mpls-te)#tunnel te_tunnel1 R1(config-mpls-te-te_tunnel1)#tunnel destination ipv4 3.1.255.2 255.1.0) ZTE Proprietary and Confidential .ZXR10 M6000-S Configuration Guide (MPLS) R1(config)#router ospf 1 R1(config-ospf-1)#router-id 1.2 255.1.0 R2(config-if-gei-0/5/1/9)#exit R2(config)#interface gei-0/5/0/8 2-74 SJ-20140731105308-012|2014-10-20 (R1.1.1.3.1.0.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/5/1/7 R2(config-if-gei-0/5/1/7)#no shutdown R2(config-if-gei-0/5/1/7)#ip address 10.2.1.1.1.0.20.1.3 R1(config-mpls-te-expl-path-name)#exit R1(config-mpls-te)#exit R1(config)#ip route 172.0.1.3 R1(config-mpls-te-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path name zte R1(config-mpls-te-te_tunnel1)#tunnel mpls traffic-eng record-route R1(config-mpls-te-te_tunnel1)# tunnel mpls traffic-eng fast-reroute one-to-one R1(config-mpls-te-)#exit R1(config-mpls-te)#explicit-path name zte R1(config-mpls-te-expl-path-name)#next-address strict 10.2.255.1.255.0 0.0 R2(config-if-gei-0/5/1/7)#exit R2(config)#interface gei-0/5/1/9 R2(config-if-gei-0/5/1/9)#no shutdown R2(config-if-gei-0/5/1/9)#ip address 40.255.2 255.0.1.1.1.2 255.255.1 0.255 area 0 R1(config-ospf-1)#exit R1(config)#mpls traffic-eng R1(config-mpls-te)#interface loopback1 R1(config-mpls-te-if-loopback1)#exit R1(config-mpls-te)#router-id 1.255.1.255.1.0.

255.255 area 0 R2(config-ospf-1)#network 40.255 area 0 R3(config-ospf-1)#exit R3(config)#mpls traffic-eng R3(config-mpls-te)#interface loopback1 R3(config-mpls-te-if-loopback1)#exit 2-75 SJ-20140731105308-012|2014-10-20 (R1.0.255.0.255 area 0 R2(config-ospf-1)#network 30.0.0 0.0.0 R2(config-if-gei-0/5/0/8)#exit R2(config)#router ospf 1 R2(config-ospf-1)#router-id 2.1.255.255 area 0 R2(config-ospf-1)#exit R2(config)#mpls traffic-eng R2(config-mpls-te)#interface loopback1 R2(config-mpls-te-if-loopback1)#exit R2(config-mpls-te)#router-id 2.Chapter 2 MPLS TE Configuration R2(config-if-gei-0/5/0/8)#no shutdown R2(config-if-gei-0/5/0/8)#ip address 30.0.1.1.0 area 0 R3(config-ospf-1)#mpls traffic-eng area 0 R3(config-ospf-1)#network 40.0.3.2 0.0.3.3.1.2.2.2.1.1.0) ZTE Proprietary and Confidential .3 255.1.0 area 0 R2(config-ospf-1)#mpls traffic-eng area 0 R2(config-ospf-1)#network 10.255.3.3.0.1.0 0.3.0.2 R2(config-mpls-te)#interface gei-0/5/1/7 R2(config-mpls-te-if-gei-0/5/1/7)#exit R2(config-mpls-te)# interface gei-0/5/1/9 R2(config-mpls-te-if-gei-0/5/1/9)#exit R2(config-mpls-te)#exit R2(config-mpls-te)#interface gei-0/5/0/8 R2(config-mpls-te-if-gei-0/5/0/8)#exit R2(config-mpls-te)#exit The configuration of R3 is as follows: R3(config)#interface loopback1 R3(config-if-loopback1)#ip address 3.0 0.0.2.0 R3(config-if-gei-0/5/1/9)#exit R3(config)#router ospf 1 R3(config-ospf-1)#router-id 3.2 R2(config-ospf-1)#network 2.2.3 255.2.0.255.255 R3(config-if-loopback1)#exit R3(config)#interface gei-0/5/1/9 R3(config-if-gei-0/5/1/9)#no shutdown R3(config-if-gei-0/5/1/9)#ip address 40.3 R3(config-ospf-1)#network 3.0.2 255.1.1.0 0.1.255.3 0 0.1.

3.0.1.0.1.2 255.0 R4(config-if-gei-0/2/0/8)#exit R4(config)#interface loopback1 R4(config-if-loopback1)#ip address 4.0.255 area 0 R4(config-ospf-1)#network 30.255.255.255.0) ZTE Proprietary and Confidential .255 R4(config-if-loopback1)#exit R4(config)#router ospf 1 R4(config-ospf-1)#router-id 4.4.3 R3(config-mpls-te)#interface gei-0/5/1/9 R3(config-mpls-te-if-gei-0/5/1/9)#exit R3(config-mpls-te)#exit The configuration of R4 is as follows: R4(config)#interface gei-0/2/0/7 R4(config-if-gei-0/2/0/7)#no shutdown R4(config-if-gei-0/2/0/7)#ip address 20.255 area 0 R4(config-ospf-1)#exit R4(config)#mpls traffic-eng R4(config-mpls-te)#interface loopback1 R4(config-mpls-te-if-loopback1)#exit R4(config-mpls-te)#router-id 4.0 0.1.4.0.1.255.4 0.4.4 R4(config-ospf-1)#network 4.4.4 255. R1(config)#show mpls traffic-eng tunnels brief 2-76 SJ-20140731105308-012|2014-10-20 (R1.255.1.20.1.4.0 0.3 255.255.0 area 0 R4(config-ospf-1)#mpls traffic-eng area 0 R4(config-ospf-1)#network 20.0 R4(config-if-gei-0/2/0/7)#exit R4(config)#interface gei-0/2/0/8 R4(config-if-gei-0/2/0/8)#no shutdown R4(config-if-gei-0/2/0/8)#ip address 30.0 R6(config-if-gei-0/2/1/1)#exit Configuration Verification The R1 router shows that the active tunnel and the detour tunnel are formed.255.4.4.1.4 R4(config-mpls-te)#interface gei-0/2/0/7 R4(config-mpls-te-if-gei-0/2/0/7)#exit R4(config-mpls-te)#interface gei-0/2/0/8 R4(config-mpls-te-if-gei-0/2/0/8)#exit R4(config-mpls-te)#exit The configuration of R6 is as follows: R6(config)#interface gei-0/2/1/1 R6(config-if-gei-0/2/1/1)#no shutdown R6(config-if-gei-0/2/1/1)#ip address 172.4.255.3.0.1.ZXR10 M6000-S Configuration Guide (MPLS) R3(config-mpls-te)#router-id 3.1.0.3 255.

0 InLabel:- 2-77 SJ-20140731105308-012|2014-10-20 (R1.3 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.3.3.3.3.0.3 tunnel_1 (PLR backup) 3.3 UP IF DOWN IF STATE/PROT - gei-0/0/1/4 up/up - gei-0/0/0/7 up/up ZXR10#show mpls traffic-eng tunnels Name: tunnel_1 (Tunnel1) Destination: 3.3.0) ZTE Proprietary and Confidential .0.3.Chapter 2 MPLS TE Configuration Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION tunnel_1 3. type explicit name zte (Basis for Setup) Hot-standby protection: no path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: enabled Facility Fast-reroute: disabled Detour Fast-reroute: enabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy class: default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 Affinity: 0x0/0x0 EBS: 0 byte AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.

3 Fspec: ave rate= 0 kbits.3. 0 hours.2 Fspec: ave rate= 0 kbits.3.3 Tspec: ave rate= 0 kbits.1. Tun_Instance 62 RSVP Path Info: Explicit Route: 10.1.147457 Src 1. peak rate= 0 kbits RSVP Resv Info: Record Route: 3.3. 0 hours.1.1.3.1.1.1. burst= 1000 bytes. Dst 13.1.1.3.3.2 40.1. 10 minutes The R1 router shows that the detour protection relationship is formed.3 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kbits. peak rate= 0 kbits RSVP Resv Info: Record Route: 3.2 40. Tun_Id 1.1.1. burst= 1000 bytes.3.1. peak rate= 0 kbits History: Tunnel: Time since created: 0 days. Name: tunnel_1(PLR backup)(Tunnel) Destination: 3. 10 minutes Current LSP: Uptime:0 days. Dst 3.1.147456 RSVP Signalling Info : Src 1.ZXR10 M6000-S Configuration Guide (MPLS) OutLabel:gei-0/0/1/4.1.1.3.1. peak rate= 0 kbits History: Tunnel: Time since created: 0 days.1.3. Tun_Instance 62 RSVP Path Info: Explicit Route: 20. 12 minutes Prior LSP: path option 1 Current LSP: Uptime:0 days.3 Status: Signalling: up RSVP Signalling Info : InLabel:OutLabel:gei-0/0/0/7.2 40.1.1. 10 minutes Last lsp error information: None log record.1 10.1.1. 0 hours.1.3 30.3.1.3 30.3.1. burst= 1000 bytes.3. burst= 1000 bytes. Tun_Id 1.3 3.1.3.1.3 30.1.2 Exclude Route: NULL Record Route: NULL 40. R1(config)#show mpls traffic-eng fast-reroute 2-78 SJ-20140731105308-012|2014-10-20 (R1.2 40.1 20.3.3 10.0) ZTE Proprietary and Confidential .1.1.1. 0 hours.1.

2-79 SJ-20140731105308-012|2014-10-20 (R1.6. R1(config)#interface gei-0/0/1/4 R1(config-if-gei-0/0/1/4)#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspID In-label Out intf/label FRR intf/label Status Tunnel1 1 Tun hd gei-0/0/1/4:147456 Tu1:147457 active R1(config-if-gei-0/0/1/4)#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspID In-label Out intf/label FRR intf/label Status Tunnel1 1 Tun hd gei-0/0/1/4:147458 Tu1:147459 ready 2. When the fault on the active LSP recovers. you can see on the head node whether the FRR bandwidth protection is enabled for the active tunnel and whether the backup bandwidth of the standby tunnel is properly configured. a TE tunnel is established among P1-P2-P3 through IGP-TE.Chapter 2 MPLS TE Configuration Tunnel head end item information Protected Tunnel Tunnel1 LspID 1 In-label Tun hd Out intf/label gei-0/0/1/4:147456 FRR intf/label Tu1:147457 Status ready LSP midpoint frr information: LSP identifier In-label Out intf/label FRR intf/label Status When the active tunnel has a fault. FRR is in active state. the traffic will be handed over to the standby tunnel. Figure 2-17 TE-FRR Bandwidth Protection Configuration Instance After completing the configuration.3. Multiple backup tunnels are configured for P1-P2 and P1-P3 and a backup width is configured (after a backup bandwidth is configured for a tunnel. the backup bandwidth is unlimited). the FRR relationship recovers to ready state. the reserved bandwidth is configured for the tunnel. Check the FRR state on R1.0) ZTE Proprietary and Confidential . the available bandwidth is configured for the egress interface. If no backup bandwidth is configured. for which. and the FRR bandwidth protection is enabled.4 TE-FRR Bandwidth Protection Configuration Instance Configuration Description In Figure 2-17. the backup bandwidth is limited.

the reserved bandwidth to 5 M. Configure tunnel2 on P1. P2. and configure a backup bandwidth to 20 M. and the backup bandwidth is set to 15 M. Configure backup tunnels tunnel2. the destination address is set to P3. the explicit path is set to strictly going through gei-0/1/0/1 of P1. Configure TE tunnel 3 on P1. 3. If a common bandwidth or a ct0 bandwidth is configured for the active tunnel. P2. Configure OSPF neighbors for P1.0) ZTE Proprietary and Confidential . P2. for which. Because node protection is prior to link protection. and configure the router-id of the TE as the loopback interface address. and the backup bandwidth is set to 20 M. 7. the destination address is set to P3. Configuration Flow 1. 4. the reserved bandwidth is set to 10 M. 2-80 SJ-20140731105308-012|2014-10-20 (R1. and the corresponding loopback interface addresses. the reserved bandwidth is set to 5 M. Configure TE tunnel 5 on P1. Configure tunnel6 on P1. 6. you can check whether the number of the protection LSPs and the backup bandwidth use on a backup tunnel are correct. and P3. 10. and P3. The backup tunnels for TE-FRR bandwidth protection are selected in the following sequence: a. Configure TE tunnel 4 on P1. and configure an available bandwidth of 40 M for the egress interfaces of P1. for which. the reserved bandwidth to 5 M. the display path to gei-0/1/0/2 of P1. for which. 5. and configure a backup bandwidth to 9 M. the reserved bandwidth is set to 10 M. 3. 9. If the limited backup tunnels are insufficient. and enable the TE function on the OSPF neighbors. the destination address to P2. P2. 2. and P3. 4. and configure a backup bandwidth to 20 M. and P3. a backup tunnel with a limited backup bandwidth and a less bandwidth waste (node protection is prior to link protection) is preferentially selected. the reserved bandwidth to 10 M. P2. tunnel 1 and tunnel 6 form FRR protection. and 6 on the gei-0/1/0/1 interface. and P3. the destination address is set to P2. 5. Enable the TE function on the loopback interfaces of P1. 11. the destination address to P2. the explicit path is set to strictly going through gei-0/1/0/2 of P1. 8. you can only select the backup bandwidth as the unlimited backup tunnel (node protection is prior to link protection). the destination address to P2. the display path to gei-0/1/0/2 of P1.ZXR10 M6000-S Configuration Guide (MPLS) If no bandwidth is configured or a cti (i≠0) bandwidth is configured for the active tunnel. further select unlimited backup tunnels (node protection is prior to link protection). Enable the TE function on the physical interfaces of P1. After an FRR is established. the explicit path is set to strictly going through gei-0/2/0/1 of P1. Configure TE tunnel 1 on P1. and the FRR facility bandwidth protection is enabled. Configure the interfaces connecting P1. the display path to gei-0/1/0/2 of P1.

1.1. Configuration Commands Run the following commands on P1: P1#configure terminal P1(config)#interface gei-0/1/0/1 P1(config-if-gei-0/1/0/1)#ip address 1.101.1.101.0.255.101.1 0.0 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#exit P1(config)#interface gei-0/2/0/1 P1(config-if-gei-0/2/0/1)#ip address 5.0.255.101. tunnel 1 and tunnel 5 form FRR protection. If tunnel2 and tunnel3 are further disabled.0) ZTE Proprietary and Confidential .0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 101.1 255.255.0 P1(config-if-gei-0/1/0/1)#no shutdown P1(config-if-gei-0/1/0/1)#exit P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#ip address 2.0.1.1 255.0.255.0 P1(config-if-gei-0/2/0/1)#no shutdown P1(config-if-gei-0/2/0/1)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 101.1.1.Chapter 2 MPLS TE Configuration b.0 area 0 P1(config-ospf-1)#network 5. c.255.1. tunnel 1 and tunnel 2 form FRR protection. If tunnel5 is further disabled.1. If tunnel6 is disabled.1 255.0.1 0.255 P1(config-if-loopback1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#network 1.101 P1(config-mpls-te)#interface gei-0/1/0/1 P1(config-mpls-te-if-gei-0/1/0/1)#bandwidth dynamic 40000 P1(config-mpls-te-if-gei-0/1/0/1)#exit P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#bandwidth dynamic 40000 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#interface gei-0/2/0/1 P1(config-mpls-te-if-gei-0/2/0/1)#bandwidth dynamic 40000 P1(config-mpls-te-if-gei-0/1/0/1)#exit P1(config-mpls-te)#explicit-path name main 2-81 SJ-20140731105308-012|2014-10-20 (R1.1.255.255. no FRR protection is formed.1 0.0 area 0 P1(config-ospf-1)#network 2.1. d.0.1.255.101 255.1.

1.103.102.102 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng bandwidth 10000 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng backup-bw 15000 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1 explicit-path name back P1(config-mpls-te-tunnel-te_tunnel2)#exit P1(config-mpls-te)#tunnel te_tunnel3 P1(config-mpls-te-tunnel-te_tunnel3)#tunnel destination ipv4 102.102 P1(config-mpls-te-tunnel-te_tunnel3)#tunnel mpls traffic-eng bandwidth 5000 P1(config-mpls-te-tunnel-te_tunnel3)#tunnel mpls traffic-eng backup-bw 20000 P1(config-mpls-te-tunnel-te_tunnel3)#tunnel mpls traffic-eng path-option 1 explicit-path name back P1(config-mpls-te-tunnel-te_tunnel3)#exit 2-82 SJ-20140731105308-012|2014-10-20 (R1.102.1.4 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#exit P1(config)#interface te_tunnel2 P1(config-if-te_tunnel2)#exit P1(config)#interface te_tunnel3 P1(config-if-te_tunnel3)#exit P1(config)#interface te_tunnel4 P1(config-if-te_tunnel4)#exit P1(config)#interface te_tunnel5 P1(config-if-te_tunnel5)#exit P1(config)#interface te_tunnel6 P1(config-if-te_tunnel6)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 103.2 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#explicit-path name back-1 P1(config-mpls-te-expl-path-name)#next-address strict 5.103 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng bandwidth 10000 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng fast-reroute facility bw-protect P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path name main P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#tunnel te_tunnel2 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel destination ipv4 102.103.102.2 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#explicit-path name back P1(config-mpls-te-expl-path-name)#next-address strict 2.1.0) ZTE Proprietary and Confidential .102.1.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-mpls-te-expl-path-name)#next-address strict 1.1.1.

2 255.255.102 255.1.1.103.1.102 P1(config-mpls-te-tunnel-te_tunnel5)#tunnel mpls traffic-eng bandwidth 5000 P1(config-mpls-te-tunnel-te_tunnel5)#tunnel mpls traffic-eng path-option 1 explicit-path name back P1(config-mpls-te-tunnel-te_tunnel5)#exi P1(config-mpls-te)#tunnel te_tunnel6 P1(config-mpls-te-tunnel-te_tunnel6)#tunnel destination ipv4 103.102.102.255.1.255.1.255 P2(config-if-loopback1)#exit 2-83 SJ-20140731105308-012|2014-10-20 (R1.102.2 255.255.255.255.102.1.102 P1(config-mpls-te-tunnel-te_tunnel4)#tunnel mpls traffic-eng bandwidth 10000 P1(config-mpls-te-tunnel-te_tunnel4)#tunnel mpls traffic-eng backup-bw 9000 P1(config-mpls-te-tunnel-te_tunnel4)#tunnel mpls traffic-eng path-option 1 explicit-path name back P1(config-mpls-te-tunnel-te_tunnel4)#exit P1(config-mpls-te)#tunnel te_tunnel5 P1(config-mpls-te-tunnel-te_tunnel5)#tunnel destination ipv4 102.103.0 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#exit P2(config)#interface loopback1 P2(config-if-loopback1)#ip address 102.255.0 P2(config-if-gei-0/1/0/1)#no shutdown P2(config-if-gei-0/1/0/1)#exit P2(config)#interface gei-0/2/0/1 P2(config-if-gei-0/2/0/1)#ip address 9.Chapter 2 MPLS TE Configuration P1(config-mpls-te)#tunnel te_tunnel4 P1(config-mpls-te-tunnel-te_tunnel4)#tunnel destination ipv4 102.0 P2(config-if-gei-0/2/0/1)#no shutdown P2(config-if-gei-0/2/0/1)#exit P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#ip address 2.103 P1(config-mpls-te-tunnel-te_tunnel6)#tunnel mpls traffic-eng bandwidth 5000 P1(config-mpls-te-tunnel-te_tunnel6)#tunnel mpls traffic-eng backup-bw 20000 P1(config-mpls-te-tunnel-te_tunnel6)#tunnel mpls traffic-eng path-option 1 explicit-path name back-1 P1(config-mpls-te-tunnel-te_tunnel6)#exit P1(config-mpls-te)#interface gei-0/1/0/1 P1(config-mpls-te-if-gei-0/1/0/1)#backup-path te_tunnel 2 P1(config-mpls-te-if-gei-0/1/0/1)#backup-path te_tunnel 3 P1(config-mpls-te-if-gei-0/1/0/1)#backup-path te_tunnel 4 P1(config-mpls-te-if-gei-0/1/0/1)#backup-path te_tunnel 5 P1(config-mpls-te-if-gei-0/1/0/1)#backup-path te_tunnel 6 Run the following commands on P2: P2#configure terminal P2(config)#interface gei-0/1/0/1 P2(config-if-gei-0/1/0/1)#ip address 1.255.2 255.102.102.0) ZTE Proprietary and Confidential .

255.0.2 0.1.0.2 0.0.0 area 0 P3(config-ospf-1)#mpls traffic-eng area 0 P3(config-ospf-1)#exit P3(config)#mpls traffic-eng P3(config-mpls-te)#interface loopback1 P3(config-mpls-te-if-loopback1)#exit P3(config-mpls-te)#router-id 103.0 area 0 P3(config-ospf-1)#network 5.102.255 P3(config-if-loopback1)#exit P3(config)#router ospf 1 P3(config-ospf-1)#network 9.255.255.0.0 area 0 P2(config-ospf-1)#network 2.1.1.2 0.103 P3(config-mpls-te)#interface gei-0/1/0/2 P3(config-mpls-te-if-gei-0/1/0/2)#exit P3(config-mpls-te)# 2-84 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential .1.0 area 0 P2(config-ospf-1)#network 9.1.255.1.1.0.ZXR10 M6000-S Configuration Guide (MPLS) P2(config)#router ospf 1 P2(config-ospf-1)#network 1.0.102 P2(config-mpls-te)#interface gei-0/1/0/1 P2(config-mpls-te-if-gei-0/1/0/1)#exit P2(config-mpls-te)#interface gei-0/2/0/1 P2(config-mpls-te-if-gei-0/2/0/1)#bandwidth dynamic 20000 P2(config-mpls-te-if-gei-0/2/0/1)#exit P2(config-mpls-te)# Run the following commands on P3: P3#configure terminal P3(config)#interface gei-0/1/0/2 P3(config-if-gei-0/1/0/2)#ip address 9.103.0 P3(config-if-gei-0/1/0/2)#no shutdown P3(config-if-gei-0/1/0/2)#exit P3(config)#interface gei-0/1/0/1 P3(config-if-gei-0/1/0/1)#ip address 5.103.1.0 P3(config-if-gei-0/1/0/1)#no shutdown P3(config-if-gei-0/1/0/1)#exit P3(config)#interface loopback1 P3(config-if-loopback1)#ip address 103.1.255.4 255.255.103.4 0.0.103 255.1.103.4 0.1.4 255.0.0.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback1 P2(config-mpls-te-if-loopback1)#exit P2(config-mpls-te)#router-id 102.1.102.1.0.1.

103 tunnel mpls traffic-eng bandwidth 10000 tunnel mpls traffic-eng record-route tunnel mpls traffic-eng fast-reroute facility bw-protect tunnel mpls traffic-eng path-option 1 explicit-path name main !</mpls-te> P1(config-mpls-te-tunnel-te_tunnel1)#show mpls traffic-eng tunnels te_tunnel 1 /*If the Bandwidth Protection field is set to enabled.103. The execution result is displayed as follows: P1(config-mpls-te-tunnel-te_tunnel1)#show this !<mpls-te> tunnel destination ipv4 103. run the show this command to check the tunnel configuration and information.Chapter 2 MPLS TE Configuration Configuration Verification 1.103. type explicit name: main (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: No path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: enabled Facility Fast-reroute: enabled Detour Fast-reroute: disabled Bandwidth Protection: enabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy Class: Default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 10000 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None Include-any: None 2-85 SJ-20140731105308-012|2014-10-20 (R1. After bandwidth protection is configured for a tunnel. the FRR bandwidth protection is enabled.0) ZTE Proprietary and Confidential .103.103 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.103.*/ Name: tunnel_1 (Tunnel1) Destination: 103.

102.1.4 103. burst= 0 byte.0.0 Without-CSPF: disabled InLabel: OutLabel: gei-0/1/0/1.ZXR10 M6000-S Configuration Guide (MPLS) Include-all: None AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0. inuse: 0 kbps Name: tunnel_3 2-86 SJ-20140731105308-012|2014-10-20 (R1.101. 15 minute.1.103. Run the show mpls traffic-eng tunnels backup command to check the information about a backup tunnel after a backup bandwidth is configured for the backup tunnel.1.101. Tun-ID 1. Dst 103.1.101.101.103.102.2 9.1.103.1.1.1.1 1.101. in which. Tun-Instance 4 RSVP Path Info: Explicit Route: 1.101. The execution result is displayed as follows.102.1.102(147457) 1. burst= 0 byte. 0 hour.2(147457) 103.1.103.4(3) Fspec: ave rate= 10000 kb.103(3) 9.102.2 9.Dest: 102.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 0 Backup BW: 15000 kbps.1.0) ZTE Proprietary and Confidential . peak rate= 10000 kb RSVP Resv Info: Record Route: 102. 147457 RSVP Signalling Info : Src 101.0. P1#show mpls traffic-eng tunnels backup Name: tunnel_2 LSP Head: Tunnel2 Admin: up Oper: up Src:101.103.1.102. 0 hour.103.103 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 10000 kb. the Backup BW field is the configured backup bandwidth. 40 second Last LSP Error Information: 2.103. 18 minute. peak rate= 10000 kb History: Tunnel: Time Since Created: 0 day. 3 second Prior LSP: path option 1 Current LSP: Uptime:0 day.

102.101. inuse: 0 kbps Name: tunnel_5 LSP Head: Tunnel5 Admin: up Oper: up Src:101.103.101. run the following commands to check the selected optimum backup tunnel: P1#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspID In-label Out intf/label FRR intf/label Status Tunnel1 4 Tu6:3 ready FRR intf/label Status Tun hd gei-0/1/0/1:147457 LSP midpoint frr information: LSP identifier In-label Out intf/label 4.102. the Protected lsps field is the number of the LSPs under the protection of the backup tunnel.101. in which.102.0) ZTE Proprietary and Confidential .101.101.Dest: 103.101. P1#show mpls traffic-eng tunnels backup Name: tunnel_2 LSP Head: Tunnel2 Admin: up Oper: up 2-87 SJ-20140731105308-012|2014-10-20 (R1.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 0 Backup BW: 20000 kbps.102.102.101.101. run the show mpls traffic-eng tunnels backup command to check the backup tunnel information. After FRR protection is formed.103.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 1 Backup BW: 20000 kbps. After FRR protection is formed.102.Dest: 102.101.102.Dest: 102.102.103.Chapter 2 MPLS TE Configuration LSP Head: Tunnel3 Admin: up Oper: up Src:101.101.101.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 0 Backup BW: 9000 kbps.102.Dest: 102. inuse: 0 kbps Name: tunnel_4 LSP Head: Tunnel4 Admin: up Oper: up Src:101. and the inuse field is the used backup bandwidth of the backup tunnel. inuse: 0 kbps 3. The execution result is displayed as follows. inuse: 0 kbps Name: tunnel_6 LSP Head: Tunnel6 Admin: up Oper: up Src:101.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 0 Backup BW: unlimited.101.

101. 2-88 SJ-20140731105308-012|2014-10-20 (R1.Dest: 102. an end-to-end MPLS-TE path protection tunnel is established by using IGP-TE. a backup tunnel Tunnel2 (P2->P4->P5->P3) protection link P2->P3 is configured on P2.101.101.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 0 Backup BW: 15000 kbps.102.101.101.101. the Tunnel HOT-LSP path is the black dotted line P1->P4->P2->P3.101. inuse: 0 kbps Name: tunnel_3 LSP Head: Tunnel3 Admin: up Oper: up Src:101.101.6.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 0 Backup BW: unlimited.102.0) ZTE Proprietary and Confidential . inuse: 0 kbps Name: tunnel_6 LSP Head: Tunnel6 Admin: up Oper: up Src:101.103.103.102.102.101.5 Instance of Configuration for HOT_LSP Supporting TE-FRR Configuration Description In Figure 2-18.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 0 Backup BW: 9000 kbps.102.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 1 Backup BW: 20000 kbps. and the HOT_LSP is configured to support TE-FRR.Instance:1 Fast Reroute Backup Provided: Protected i/fs: gei-0/1/0/1 Protected lsps: 0 Backup BW: 20000 kbps.Dest: 102.103.Dest: 103.101.101.102. inuse: 0 kbps Name: tunnel_5 LSP Head: Tunnel5 Admin: up Oper: up Src:101.101. inuse: 10000 kbps (BWP inuse: 10000 kbps) 2.101.Dest: 102.101. the FRR is enabled (facility or one-to-one).3.102.102.102.102. the path of the active LSP Tunnel1 is the yellow solid line P1->P2->P3.102.Dest: 102. inuse: 0 kbps Name: tunnel_4 LSP Head: Tunnel4 Admin: up Oper: up Src:101.102.101. Take ISIS-TE as example.ZXR10 M6000-S Configuration Guide (MPLS) Src:101.

Configure an MPLS-TE end-to-end path protection tunnel Tunnel1 on P1 to P3. Configuration Commands Run the following commands on P1: Interface configurations: P1(config)#interface gei-0/1/0/7 P1(config-if-gei-0/1/0/7)#no shutdown P1(config-if-gei-0/1/0/7)#ip address 107. enable the TE function on the ISIS and interfaces. Establish the ISIS neighbor relation for all interfaces interconnected in the network. and enable the FRR facility function. 6.4 255.44. 2. the FRR protection relation on P1 becomes active. the FRR protection relation on both P1 and P2 is active. If the P1-P2 link becomes invalid. If the P1-P2 link becomes invalid again.255. but the FRR protection relation on P2 is not affected.Chapter 2 MPLS TE Configuration Figure 2-18 Instance of Configuration for HOT_LSP Supporting TE-FRR Configuration Flow 1. 5. 3.255.255. which is still ready.0 2-89 SJ-20140731105308-012|2014-10-20 (R1.0.4 255.44.0) ZTE Proprietary and Confidential . 4. enable the active LSP to strictly route along P1->P2->P3. and the HOT-LSP along P1->P4->P2->P3.13.255.0 P1(config-if-gei-0/1/0/7)#exit P1(config)#interface gei-0/1/0/13 P1(config-if-gei-0/1/0/13)#no shutdown P1(config-if-gei-0/1/0/13)#ip address 1. Configure a proper HOT_LSP FRR protection relation on P1 and a protection link P2-P3 for backup tunnel Tunnel2 (P2->P4->P5->P3) on P2 to form a proper FRR link protection on P2. Configure a loopback address and interface address on each of five devices.

255.52.0.52.4.44.72.100 255.73 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 73.72 P1(config-mpls-te-expl-path-name)#next-address strict 208.52.0) ZTE Proprietary and Confidential .52 P1(config-mpls-te-expl-path-name)#next-address strict 15.13.73.4.4444 P1(config-isis-10)#is-type level-1 P1(config-isis-10)#metric-style wide P1(config-isis-10)#mpls traffic-eng level-1 P1(config-isis-10)#interface gei-0/1/0/7 P1(config-isis-10-if-gei-0/1/0/7)#ip router isis P1(config-isis-10-if-gei-0/1/0/7)#exit P1(config-isis-10)#interface gei-0/1/0/13 P1(config-isis-10-if-gei-0/1/0/13)#ip router isis P1(config-isis-10-if-gei-0/1/0/13)#exit P1(config-isis-10)#exit MPLS-TE configurations: P1(config)#mpls traffic-eng P1(config-mpls-te)#router-id 4.255.4444.4.73.100 P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#interface gei-0/1/0/7 P1(config-mpls-te-if-gei-0/1/0/7)#exit P1(config-mpls-te)#interface gei-0/1/0/13 P1(config-mpls-te-if-gei-0/1/0/13)#exit P1(config-mpls-te)#explicit-path name main P1(config-mpls-te-expl-path-name)#next-address strict 1.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit ISIS and ISIS-TE configurations: P1(config)#router isis 10 P1(config-isis-10)#area 00 P1(config-isis-10)#system-id 0000.44.4.73.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-if-gei-0/1/0/13)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 4.2 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng fast-reroute facility P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path name main 2-90 SJ-20140731105308-012|2014-10-20 (R1.52 P1(config-mpls-te-expl-path-name)#next-address strict 15.73.73 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#explicit-path name hot-lsp P1(config-mpls-te-expl-path-name)#next-address strict 107.

255.52.52 255.255.5252 P2(config-isis-10)#is-type level-1 P2(config-isis-10)#metric-style wide P2(config-isis-10)#mpls traffic-eng level-1 P2(config-isis-10)#interface gei-0/1/0/13 P2(config-isis-10-if-gei-0/1/0/13)#ip router isis P2(config-isis-10-if-gei-0/1/0/13)#exit P2(config-isis-10)#interface gei-0/1/0/15 P2(config-isis-10-if-gei-0/1/0/15)#ip router isis P2(config-isis-10-if-gei-0/1/0/15)#exit P2(config-isis-10)#interface gei-0/1/0/18 P2(config-isis-10-if-gei-0/1/0/18)#ip router isis P2(config-isis-10-if-gei-0/1/0/18)#exit P2(config-isis-10)#exit MPLS-TE configurations: 2-91 SJ-20140731105308-012|2014-10-20 (R1.52 255.72.73.255.52.0 P2(config-if-gei-0/1/0/18)#exit P2(config)#interface loopback1 P2(config-if-loopback1)#ip address 52.0 P2(config-if-gei-0/1/0/15)#exit P2(config)#interface gei-0/1/0/18 P2(config-if-gei-0/1/0/18)#no shutdown P2(config-if-gei-0/1/0/18)#ip address 208.255.0) ZTE Proprietary and Confidential .255 P2(config-if-loopback1)#exit P2(config)#interface te_tunnel2 P2(config-if-te_tunnel2)#ip unnumbered loopback1 P2(config-if-te_tunnel2)#exit ISIS and ISIS-TE configurations: P2(config)#router isis 10 P2(config-isis-10)#area 00 P2(config-isis-10)#system-id 0000.0 P2(config-if-gei-0/1/0/13)#exit P2(config)#interface gei-0/1/0/15 P2(config-if-gei-0/1/0/15)#no shutdown P2(config-if-gei-0/1/0/15)#ip address 15.255.52 255.255.255.52.0.Chapter 2 MPLS TE Configuration P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng hot-standby protect 1 explicit-path name hot-lsp P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng hot-standby-lsp fast-reroute P1(config-mpls-te-tunnel-te_tunnel1)#exit Run the following commands on P2: Interface configurations: P2(config)#interface gei-0/1/0/13 P2(config-if-gei-0/1/0/13)#no shutdown P2(config-if-gei-0/1/0/13)#ip address 1.100 255.13.5252.52.255.

255.52.255.2 P2(config-mpls-te-expl-path-name)#next-address strict 14.0 P3(config-if-gei-0/1/0/15)#exit P3(config)#interface gei-0/1/0/6 P3(config-if-gei-0/1/0/6)#no shutdown P3(config-if-gei-0/1/0/6)#ip address 14.255 P3(config-if-loopback1)#exit ISIS and ISIS-TE configurations: P3(config)#router isis 10 P3(config-isis-10)#area 00 P3(config-isis-10)#system-id 2008.255.52.1.2 255.1.2 255.1.52.1.561c.72 P2(config-mpls-te-expl-path-name)#next-address strict 13.13.255.73.13.73.72.ZXR10 M6000-S Configuration Guide (MPLS) P2(config)#mpls traffic-eng P2(config-mpls-te)#router-id 52.100 P2(config-mpls-te)#interface loopback1 P2(config-mpls-te-if-loopback1)#exit P2(config-mpls-te)#interface gei-0/1/0/13 P2(config-mpls-te-if-gei-0/1/0/13)#exit P2(config-mpls-te)#interface gei-0/1/0/15 P2(config-mpls-te-if-gei-0/1/0/15)#exit P2(config-mpls-te)#interface gei-0/1/0/18 P2 (config-mpls-te-if-gei-0/1/0/18)#exit P2(config-mpls-te)#explicit-path name P2-P4-P5-P3 P2(config-mpls-te-expl-path-name)#next-address strict 208.73 255.0) ZTE Proprietary and Confidential .255.0 P3(config-if-gei-0/1/0/6)#exit P3(config)#interface loopback1 P3(config-if-loopback1)#ip address 73.41a2 P3(config-isis-10)#is-type level-1 P3(config-isis-10)#metric-style wide P3(config-isis-10)#mpls traffic-eng level-1 2-92 SJ-20140731105308-012|2014-10-20 (R1.73.2 P2(config-mpls-te-expl-path-name)#exit P2(config-mpls-te)#tunnel te_tunnel2 P2(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1 explicit-path name P2-P4-P5-P3 P2(config-mpls-te-tunnel-te_tunnel2)#exit P2(config-mpls-te)#interface gei-0/1/0/15 P2(config-mpls-te-if-gei-0/1/0/15)#backup-path te_tunnel 2 P2(config-mpls-te-if-gei-0/1/0/15)#exit P2(config-mpls-te)#exit Run the following commands on P3: Interface configurations: P3(config)#interface gei-0/1/0/15 P3(config-if-gei-0/1/0/15)#no shutdown P3(config-if-gei-0/1/0/15)#ip address 15.255.52.

1 255.255 ISIS and ISIS-TE configurations: P4(config)#router isis 10 P4(config-isis-10)#area 00 P4(config-isis-10)#system-id 0000.52.13.Chapter 2 MPLS TE Configuration P3(config-isis-10)#interface gei-0/1/0/6 P3(config-isis-10-if-gei-0/1/0/6)#ip router isis P3(config-isis-10-if-gei-0/1/0/6)#exit P3(config-isis-10)#interface gei-0/1/0/15 P3(config-isis-10-if-gei-0/1/0/15)#ip router isis P3(config-isis-10-if-gei-0/1/0/15)#exit P3(config-isis-10)#exit MPLS-TE configurations: P3(config)#mpls traffic-eng P3(config-mpls-te)#router-id 73.255.13.1 255.255.72.72 255.73.255.73.0072 P4(config-isis-10)#is-type level-1 P4(config-isis-10)#metric-style wide P4(config-isis-10)#mpls traffic-eng level-1 P4(config-isis-10)#interface gei-0/1/0/7 P4(config-isis-10-if-gei-0/1/0/7)#ip router isis P4(config-isis-10-if-gei-0/1/0/7)#exit 2-93 SJ-20140731105308-012|2014-10-20 (R1.44.72 255.255.72.44.255.72.255.255.0000.0 P4(config-if-gei-0/2/0/8)#exit P4(config)#interface loopback1 P4(config-if-loopback1)#ip address 72.0) ZTE Proprietary and Confidential .0 P4(config-if-gei-0/2/0/1)#exit P4(config)#interface gei-0/2/0/8 P4(config-if-gei-0/2/0/8)#no shutdown P4(config-if-gei-0/2/0/1)# ip address 208.255.0 P4(config-if-gei-0/1/0/7)#exit P4(config)#interface gei-0/2/0/1 P4(config-if-gei-0/2/0/1)#no shutdown P4(config-if-gei-0/2/0/1)#ip address 13.2 P3(config-mpls-te)#interface loopback1 P3(config-mpls-te-if-loopback1)#exit P3(config-mpls-te)#interface gei-0/1/0/15 P3(config-mpls-te-if-gei-0/1/0/15)#exit P3(config-mpls-te)#interface gei-0/1/0/6 P3(config-mpls-te-if-gei-0/1/0/6)#exit P3(config-mpls-te)#exit Run the following commands on P4: Interface configurations: P4(config)#interface gei-0/1/0/7 P4(config-if-gei-0/1/0/7)#no shutdown P4(config-if-gei-0/1/0/7)#ip address 107.

1.0 P5(config-if-gei-0/1/0/6)#exit P5(config)#interface loopback1 P5(config-if-loopback1)#ip address 73.13.7301 P5(config-isis-10)#is-type level-1 P5(config-isis-10)#metric-style wide P5(config-isis-10)#mpls traffic-eng level-1 P5(config-isis-10)#interface gei-0/1/0/11 P5(config-isis-10-if-gei-0/1/0/11)#ip router isis P5(config-isis-10-if-gei-0/1/0/11)#exit P5(config-isis-10)#interface gei-0/1/0/6 2-94 SJ-20140731105308-012|2014-10-20 (R1.1 255.0 P5(config-if-gei-0/1/0/11)#exit P5(config)#interface gei-0/1/0/6 P5(config-if-gei-0/1/0/6)#no shutdown P5(config-if-gei-0/1/0/6)#ip address 14.255.73.1 255.72.0) ZTE Proprietary and Confidential .1.72.255 P5(config-if-loopback1)#exit ISIS and ISIS-TE configurations: P5(config)#router isis 10 P5(config-isis-10)#area 00 P5(config-isis-10)#system-id 0000.0000.1 P4(config-mpls-te)#interface loopback1 P4(config-mpls-te-if-loopback1)#exit P4(config-mpls-te)#interface gei-0/1/0/7 P4(config-mpls-te-if-gei-0/1/0/7)#exit P4(config-mpls-te)#interface gei-0/2/0/1 P4(config-mpls-te-if-gei-0/2/0/1)#exit P4(config-mpls-te)#interface gei-0/2/0/8 P4(config-mpls-te-if-gei-0/2/0/8)#exit P4(config-mpls-te)#exit Run the following commands on P5: Interface configurations: P5(config)#interface gei-0/1/0/11 P5(config-if-gei-0/1/0/11)#no shutdown P5(config-if-gei-0/1/0/11)#ip address 13.255.255.255.ZXR10 M6000-S Configuration Guide (MPLS) P4(config-isis-10)#interface gei-0/2/0/1 P4(config-isis-10-if-gei-0/2/0/1)#ip router isis P4(config-isis-10-if-gei-0/2/0/1)#exit P4(config-isis-10)#interface gei-0/2/0/8 P4(config-isis-10-if-gei-0/2/0/8)#ip router isis P4(config-isis-10-if-gei-0/2/0/8)#exit P4(config-isis-10)#exit MPLS-TE configurations: P4(config)#mpls traffic-eng P4(config-mpls-te)#router-id 72.255.2 255.255.73.13.

Run the show mpls traffic-eng tunnels brief command to check the status of the active LSP and HOT-LSP on P1.Chapter 2 MPLS TE Configuration P5(config-isis-10-if-gei-0/1/0/6)#ip router isis P5(config-isis-10-if-gei-0/1/0/6)#exit P5(config-isis-10)#exit MPLS-TE configurations: P5(config)#mpls traffic-eng P5(config-mpls-te)#router-id 73.2 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1. type explicit name: hot-lsp (Basis for Protect) Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: enabled 2-95 SJ-20140731105308-012|2014-10-20 (R1.2 - gei-0/1/0/13 up/up tunnel_1 (hot) 73. The execution result is displayed as follows: P1(config-mpls-te)#show mpls traffic-eng tunnels Name: tunnel_1 (Tunnel1) Destination: 73.73. The execution result is displayed as follows.73.0) ZTE Proprietary and Confidential . in which up/up indicates that the active LSP and HOT-LSP are activated. type explicit name: main (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: protect option: 1. P1(config-mpls-te)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process:running RSVP Process:running Forwarding:enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 73.73.2 - gei-0/1/0/7 up/up 2.73.73.73.1 P5(config-mpls-te)#interface loopback1 P5(config-mpls-te-if-loopback1)#exit P5(config-mpls-te)#interface gei-0/1/0/11 P5(config-mpls-te-if-gei-0/1/0/11)#exit P5(config-mpls-te)#interface gei-0/1/0/6 P5(config-mpls-te-if-gei-0/1/0/6)#exit P5(config-mpls-te)#exit Configuration Verification 1.73.73. Run the show mpls traffic-eng tunnels command to check the information about the active LSP and HOT-LSP.

48 second Prior LSP: path option 1 2-96 SJ-20140731105308-012|2014-10-20 (R1.13.13. Tun-Instance 143 RSVP Path Info: Explicit Route: 1.52.0) ZTE Proprietary and Confidential . Tun-ID 1. Dst 73.4 1.2(147456) 15 .52(212992) 73.100.ZXR10 M6000-S Configuration Guide (MPLS) Facility Fast-reroute: enabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy Class: Default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0. burst= 1000 byte.52. burst= 1000 byte.73(147456) Fspec: ave rate= 0 kb. 212992 RSVP Signalling Info : Src 4.52.13.73.4.52.73 73.73.73.73.73. 34 minute. peak rate= 0 kb History: Tunnel: Time Since Created: 0 day.0.73.0 Without-CSPF: disabled InLabel: OutLabel: gei-0/1/0/13.52 15.0.52.2 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kb.73.73.4.2.100(212992) 1.0.0.52 15. 14 hour. peak rate= 0 kb RSVP Resv Info: Record Route: 52.0.73.

errcode:1. Name: tunnel_1 (hot) (Tunnel1) Destination: 73.errvalue:2).errcode:1.73.72 208.44.73.52.4 107. 45 second Last LSP Error Information: Path-option config changed(lspid:139.0 Without-CSPF: disabled InLabel: OutLabel: gei-0/1/0/7.0.72(147458) 52.44.2(147462) 15.44. Path-option config changed(lspid:138.73.73.errvalue:2).52 15.2 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kb.52. 0 hour. Dst 73. Tunnel destination changed(lspid:137.72.72.73.73.73.52(212994) 73.52. Tun-Instance 157 RSVP Path Info: Explicit Route: 107.73(147462) 2-97 SJ-20140731105308-012|2014-10-20 (R1.44.73.52.44.2.72. Tun-ID 1.errcode:1.2 Status: Signalling: up Actual Bandwidth: N/A Hot-standby protection: Config Parameters: BFD: disabled Hot-standby-lsp Fast-reroute: disabled Hot-standby-lsp Auto-reoptimize: disabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.72.73.52.73.52.52.72 208.73.73 73.4.0) ZTE Proprietary and Confidential .44. 147458 RSVP Signalling Info : Src 4.52. burst= 1000 byte.Chapter 2 MPLS TE Configuration Current LSP: Uptime:0 day.100(212994) 208.72.52 15.100.1(147458) 107.0.errvalue:4).4. 7 minute. peak rate= 0 kb RSVP Resv Info: Record Route: 72.

72.72 208. peak rate= 0 kb RSVP Resv Info: Record Route: 72. 147458 RSVP Signalling Info : Src 4.73.errvalue:2).errvalue:2).5 2. Hot-standby Protection:ready indicates that FRR protection is enabled. P1(config-mpls-te)#show mpls traffic-eng tunnels hot-standby Name: tunnel_1 (Tunnel1) Destination: 73. Dst 73.52. 14 hour.0.72.44.52.72.52.errcode:1. 45 second Last LSP Error Information: Path-option config changed(lspid:139. Path-option config changed(lspid:138.4 107.44.52 15.73. 0 minute.0) ZTE Proprietary and Confidential .73.0 InLabel: OutLabel: gei-0/1/0/7.52 15. Tun-Instance 157 RSVP Path Info: Explicit Route: 107. 49 second Prior LSP: path option 1 Current LSP: Uptime:0 day.73. Run the show mpls traffic-eng tunnels hot-standby command to check the details of the HOT-LSP.52.44.44.52.72 208. 34 minute.44.1(147458) 107. burst= 1000 byte.44.72(147458) 52.4.72.ZXR10 M6000-S Configuration Guide (MPLS) Fspec: ave rate= 0 kb.errvalue:4). 0 hour.errcode:1.2 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kb.errcode:1.73.4.73.52(212994) 73. in which. The execution result is displayed as follows. Tun-ID 1. burst= 1000 byte.2.73.73.73.2(147462) 15. Tunnel destination changed(lspid:137.73 73.0.52.73(147462) Fspec: ave rate= 0 kb.100.52. burst= 1000 byte.2 Status: Admin: up Oper: up Path: valid Signalling: connected Fast Reroute Protection: none Hot-standby Protection: ready Config Parameters: BFD: disabled Hot-standby-lsp Fast-reroute: disabled Hot-standby-lsp Auto-reoptimize: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0. peak rate= 0 kb History: Tunnel: Time Since Created: 0 day. 3.72.100(212994) 208.73.73. peak rate= 0 kb 2-98 SJ-20140731105308-012|2014-10-20 (R1.

up/up indicates that Tunnel2 is properly established. The execution result is displayed as follows. Run the show mpls traffic-eng fast-reroute command on P1 to check the FRR protection relation.73. Run the show mpls traffic-eng tunnels te_tunnel 2 command on P2 to check the details of the backup tunnel Tunnel2.0) ZTE Proprietary and Confidential . The execution result is displayed as follows: P2(config)#show mpls traffic-eng tunnels te_tunnel 2 Name: tunnel_2 (Tunnel2) Destination: 73. P1(config-mpls-te)#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspID In-label Out intf/label Tunnel1 143 Tun hd gei-0/1/0/13:212992 FRR intf/label Status Tu1:147458 ready FRR intf/label Status LSP midpoint frr information: LSP identifier In-label Out intf/label P1(config-mpls-te)# 5.73. in which. P2(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process:running RSVP Process:running Forwarding:enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_2 73.2 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.73. ready indicates that the FRR protection relation is properly established. type explicit name: P2-P4-P5-P3 (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: No path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy Class: Default Track Name: 2-99 SJ-20140731105308-012|2014-10-20 (R1. in which.Chapter 2 MPLS TE Configuration 4.2 - gei-0/1/0/18 up/up 6.73. Run the show mpls traffic-eng tunnels brief command on P2 to check the status of the backup tunnel Tunnel2. The execution result is displayed as follows.

1 13.1.2 73.13.2.1.2 14. 147462 RSVP Signalling Info : Src 52. Tun-ID 2.52.73.0) ZTE Proprietary and Confidential .73.13.100 1/184 212993 gei-0/1/0/15:147461 Tu2:147457 ready 8. P2(config)#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspID In-label Out intf/label FRR intf/label Status LSP midpoint frr information: LSP identifier In-label Out intf/label FRR intf/label Status 4.52.52 208.52.72.13. the protection link P2->P3 of the backup tunnel Tunnel2 is displayed.52.100 1/183 212992 gei-0/1/0/15:147456 Tu2:147457 ready 4.2 7.72.100. Run the show mpls traffic-eng fast-reroute command on P2 to check the FRR link protection configuration. the FRR protection relation on P1 becomes active.1 14.4.0 Without-CSPF: disabled InLabel: OutLabel: gei-0/1/0/18.72 13.73. When the P1->P2 link is invalid. Dst 73.1.0.4.ZXR10 M6000-S Configuration Guide (MPLS) Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.4. The execution result is displayed as follows.4. Tun-Instance 18 RSVP Path Info: Explicit Route: 208.1. in which.0. for example: P1(config)#interface gei-0/1/0/13 P1(config-if-gei-0/1/0/13)#shutdown P1(config-if-gei-0/1/0/13)#show mpls traffic-eng fast-reroute 2-100 SJ-20140731105308-012|2014-10-20 (R1.73.13.

73.2 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.73.73. type explicit name: hot-lsp (Basis for Protect) Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: enabled Facility Fast-reroute: enabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy Class: Default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None 2-101 SJ-20140731105308-012|2014-10-20 (R1.Chapter 2 MPLS TE Configuration Tunnel head end item information Protected Tunnel LspID In-label Out intf/label Tunnel1 162 Tun hd FRR intf/label Status Tu1:147459 active gei-0/1/0/13:212992 Run the show mpls traffic-eng tunnels brief command on P1 to check the information about Tunnel1.73. type explicit name: main Actual Bandwidth: N/A Hot-standby protection: protect option: 1.2 - gei-0/1/0/7 up/up P1(config-if-gei-0/1/0/13)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 73.0) ZTE Proprietary and Confidential . The execution result is displayed as follows: P1(config-if-gei-0/1/0/13)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process:running RSVP Process:running Forwarding:enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 73.

52.4 107.72.0) ZTE Proprietary and Confidential .72.73 73. peak rate= 0 kb RSVP Resv Info: Record Route: 72. burst= 1000 byte.44.44. in which.52 15.44.2 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kb.73(147460) Fspec: ave rate= 0 kb.73.0 Without-CSPF: disabled InLabel: OutLabel: gei-0/1/0/7. Dst 73.0 2-102 SJ-20140731105308-012|2014-10-20 (R1.52(212993) 73.0.52.4.73. peak rate= 0 kb Run the show mpls traffic-eng tunnels hot-standby command on P1 to check the HOT-LSP protection relation.2(147460) 15.73.73.44.0.100(212993) 208.73.52.44.ZXR10 M6000-S Configuration Guide (MPLS) AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0. burst= 1000 byte.72 208.72 208.72.73.4.1(147459) 107.73.72. backup lsp in use indicates that the traffic on P1 is forwarded through HOT-LSP.73.52.73.52.2 Status: Admin: up Oper: up Path: valid Signalling: connected Fast Reroute Protection: none Hot-standby Protection: backup lsp in use Config Parameters: BFD: disabled Hot-standby-lsp Fast-reroute: disabled Hot-standby-lsp Auto-reoptimize: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.73.72(147459) 52. P1(config-if-gei-0/1/0/13)#show mpls traffic-eng tunnels hot-standby Name: tunnel_1 (Tunnel1) Destination: 73.52 15.73.52.100. Tun-ID 1. Tun-Instance 163 RSVP Path Info: Explicit Route: 107.2.52.52.0.44.72. 147459 RSVP Signalling Info : Src 4. The execution result is displayed as follows.0.

in which. Only when the P1->P2 link is also restored.4. the FRR protection relation on both P1 and P2 is active. FRR protection relation is still ready. a node protection relationship can be established between the backup tunnel and active tunnel by using FRR promotion. Select the optimal backup tunnel for establishing an FRR relationship (facility mode-based protection).0) ZTE Proprietary and Confidential .100 1/162 212992 Tu2:147462 ready gei-0/1/0/15:147456 9.7. the FRR relationship is deleted and a new FRR relationship is established. If the P2->P3 link also becomes invalid. for example: P2(config)#interface gei-0/1/0/15 P2(config-if-gei-0/1/0/15)#shutdown P2(config-if-gei-0/1/0/15)#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspID In-label Out intf/label FRR intf/label Status LSP midpoint frr information: LSP identifier In-label Out intf/label FRR intf/label Status 4.4. The FRR promotion function is used to properly adjust the protection relationships between active and backup tunnels. Configure FRR attributes on the protected tunnel. P2(config)#show mpls traffic-eng fast-reroute LSP midpoint frr information: LSP identifier In-label Out intf/label FRR intf/label Status 4.4. The process is as follows: 1.Chapter 2 MPLS TE Configuration Run the show mpls traffic-eng fast-reroute command on P2 to check the FRR protection relation. Implementation After the FRR relationship is established manually.100 1/184 212993 Tu2:147457 active gei-0/1/0/15:147461 When the P2->P3 link is restored. if an interface has a backup tunnel only (Tunnel1). 2. without being affected. 2.4. if the corresponding node has FRR promotion enabled.1 FRR Promotion Introduction Overview Multiple backup tunnels can be configured on an interface. If another backup tunnel (Tunnel2) is configured on the interface. 2-103 SJ-20140731105308-012|2014-10-20 (R1. For example. only a link protection relationship can be established between active and backup tunnels.7 FRR Promotion Introduction 2. the FRR protection relation on both P1 and P2 is active. The execution result is displayed as follows. can the FRR protection relation on P1 and P2 be restored to ready.

and enters TE configuration mode. 3 ZXR10(config-mpls-te)#fast-reroute timers promotion Configures a periodic interval interval <interval> for running FRR promotion. perform the following steps: Step Command Function 1 ZXR10(config-mpls-te)#fast-reroute promote Enables FRR promotion manually.2 Configuring FRR Promotion This procedure describes how to configure FRR promotion. 2 ZXR10(config-mpls-te)#fast-reroute timers promotion Enables the FRR promotion timer.7. 2. – End of Steps – 2-104 SJ-20140731105308-012|2014-10-20 (R1. Configure FRR promotion: select the optimal tunnel from the configured 16 tunnels. 5. and establish an FRR relationship between the optimal tunnel and protected tunnel. 4. Steps 1. The priorities of the conditions for selecting the optimal backup tunnel is as follows: protection type>bandwidth for backup tunnels>pooling mechanism. To enable MPLS TE. 2. FRR promotion takes effect for the backup tunnels in ready status only. To enable FRR promotion.0) ZTE Proprietary and Confidential . 3. Configure the ID of the backup tunnel on the egress interface of the protected tunnel. run the following command: Command Function ZXR10#show mpls traffic-eng fast-reroute promotion Displays the FRR promotion information. To display the configuration results. Context FRR promotion should be configured on an PLR node generated in FRR protection. A maximum of 16 tunnels can be configured on an egress interface for FRR protection. run the following command: Command Function ZXR10(config)#mpls traffic-eng Enables MPLS TE.ZXR10 M6000-S Configuration Guide (MPLS) 3.

4.3 FRR Promotion Configuration Examples 2.1 255. Tunnel2 (backup tunnel) should pass through P1 and P2. Establish OSPF neighbor relationships between the directly-connected interfaces of P1.7.255.255. and Tunnel3 provides node protection.1. Establish three tunnels. and P3. Tunnel1 (primary tunnel) should pass through P1.255.1 255. 3. and Tunnel3 should pass through P1 and P3. and enable OSPF TE. Figure 2-19 FRR Promotion Configuration Example (Node Protection Having a Higher Priority than Link Protection) Configuration Flow 1. P2.0 2-105 SJ-20140731105308-012|2014-10-20 (R1. and Tunnel3 (backup tunnel) should pass through P1 and P3.1. Tunnel2 provides link protection. It is required to establish a primary tunnel (Tunnel1) from P1 to P3 and two backup tunnels (Tunnel2 and Tunnel3). 2.1.0 P1(config-if-gei-0/2/1/1)#exit P1(config)#interface gei-0/2/1/3 P1(config-if-gei-0/2/1/3)#no shutdown P1(config-if-gei-0/2/1/3)#ip address 60. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/2/1/1 P1(config-if-gei-0/2/1/1)#no shutdown P1(config-if-gei-0/2/1/1)#ip address 74. Configure Tunnel2 and Tunnel3 to be backup tunnels on the gei-0/2/1/1 interface of P1. Tunnel1 should pass through P1.255. P2. and P3. Tunnel2 should pass through P1 and P2. P2.Chapter 2 MPLS TE Configuration 2. Enable FRR promotion in the TE configuration mode of P1.1.1 FRR Promotion Configuration Example (Node Protection Having a Higher Priority than Link Protection) Scenario Description Figure 2-19 shows a sample network topology.3.7.0) ZTE Proprietary and Confidential . and P3.

0.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#interface te_tunnel2 P1(config-if-te_tunnel2)#ip unnumbered loopback1 P1(config-if-te_tunnel2)#exit P1(config)#interface te_tunnel3 P1(config-if-te_tunnel3)#ip unnumbered loopback1 P1(config-if-te_tunnel3)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.1 P1(config-mpls-te)#explicit-path name primary P1(config-mpls-te-expl-path-name)#next-address strict 74.1.1.1.0 0.1.1.1 255.1.1.1.0.255.1.1.1 255.1.0.0.255.1.1.0) ZTE Proprietary and Confidential .0 area 0 P1(config-ospf-1)#network 74.0 0.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-if-gei-0/2/1/3)#exit P1(config)#interface gei-0/2/1/4 P1(config-if-gei-0/2/1/4)#no shutdown P1(config-if-gei-0/2/1/4)#ip address 39.1.1.0.1.2 P1(config-mpls-te)#explicit-path name back2 P1(config-mpls-te-expl-path-name)#next-address strict 60.0.3 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#interface gei-0/2/1/1 P1(config-mpls-te-if-gei-0/2/1/1)#exit P1(config-mpls-te)#interface gei-0/2/1/3 P1(config-mpls-te-if-gei-0/2/1/3)#exit P1(config-mpls-te)#interface gei-0/2/1/4 2-106 SJ-20140731105308-012|2014-10-20 (R1.0 P1(config-if-gei-0/2/1/4)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.1.1 P1(config-ospf-1)#network 1.1.1.255.255 area 0 P1(config-ospf-1)#network 39.1.0 0.1 0.3 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#explicit-path name back1 P1(config-mpls-te-expl-path-name)#next-address strict 39.255 area 0 P1(config-ospf-1)#network 60.0.255.1.2 P1(config-mpls-te-expl-path-name)#next-address strict 120.1.1.0.1.255 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.

255.1.1.1.1.255.1.Chapter 2 MPLS TE Configuration P1(config-mpls-te-if-gei-0/2/1/4)#exit P1(config-mpls-te)#fast-reroute promote P1(config-mpls-te)#fast-reroute timers promotion P1(config-mpls-te)#fast-reroute timers promotion interval 60 P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 3.1.1.255.2 255.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path name primary P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng fast-reroute facility P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#tunnel te_tunnel2 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel destination ipv4 2.1.2 255.255.0 P2(config-if-gei-0/2/1/2)#exit P2(config)#interface gei-0/2/1/4 P2(config-if-gei-0/2/1/4)#no shutdown P2(config-if-gei-0/2/1/4)#ip address 39.0) ZTE Proprietary and Confidential .1.1 255.1.255.255 2-107 SJ-20140731105308-012|2014-10-20 (R1.255.255.0 P2(config-if-gei-0/2/1/4)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.2 255.255.tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1 explicit-path name back1 P1(config-mpls-te-tunnel-te_tunnel2)#exit P1(config-mpls-te)#tunnel te_tunnel3 P1(config-mpls-te-tunnel-te_tunnel3)#tunnel destination ipv4 3.1 P1(config-mpls-te.1 P1(config-mpls-te-tunnel-te_tunnel3)#tunnel mpls traffic-eng path-option 1 explicit-path name back2 P1(config-mpls-te-tunnel-te_tunnel2)#exit P1(config-mpls-te)#interface gei-0/2/1/1 P1(config-mpls-te-if-gei-0/2/1/1)#backup-path te_tunnel 2 P1(config-mpls-te-if-gei-0/2/1/1)#backup-path te_tunnel 3 P1(config-mpls-te-if-gei-0/2/1/1)#exit P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/2/1/1 P2(config-if-gei-0/2/1/1)#no shutdown P2(config-if-gei-0/2/1/1)#ip address 74.0 P2(config-if-gei-0/2/1/1)#exit P2(config)#interface gei-0/2/1/2 P2(config-if-gei-0/2/1/2)#no shutdown P2(config-if-gei-0/2/1/2)#ip address 120.1.1.1.1.

1.0) ZTE Proprietary and Confidential .0 0.0.1.1 P3(config-ospf-1)#network 3.0.0.1.ZXR10 M6000-S Configuration Guide (MPLS) P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.1.0.1.0 0.1.255.0.1.0.255.0 P3(config-if-gei-0/2/1/2)#exit P3(config)#interface gei-0/2/1/3 P3(config-if-gei-0/2/1/3)#no shutdown P3(config-if-gei-0/2/1/3)#ip address 60.0 0.1.0.1.255.1.255.1 P2(config-ospf-1)#network 2.1.1.0.0 0.1.255 area 0 P3(config-ospf-1)#mpls traffic-eng area 0 P3(config-ospf-1)#exit P3(config)#mpls traffic-eng P3(config-mpls-te)#interface loopback3 2-108 SJ-20140731105308-012|2014-10-20 (R1.3 255.1.1.0 area 0 P3(config-ospf-1)#network 120.0.1.1 0.255.1.1.1.3 255.1 0.255 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1 255.1.0 P3(config-if-gei-0/2/1/3)#exit P3(config)#interface loopback3 P3(config-if-loopback3)#ip address 3.1.1 P2(config-mpls-te)#interface gei-0/2/1/1 P2(config-mpls-te-if-gei-0/2/1/1)#exit P2(config-mpls-te)#interface gei-0/2/1/2 P2(config-mpls-te-if-gei-0/2/1/2)#exit P2(config-mpls-te)#interface gei-0/2/1/4 P2(config-mpls-te-if-gei-0/2/1/4)#exit P2(config-mpls-te)#exit Run the following commands on P3: P3(config)#interface gei-0/2/1/2 P3(config-if-gei-0/2/1/2)#no shutdown P3(config-if-gei-0/2/1/2)#ip address 120.255 area 0 P3(config-ospf-1)#network 60.255 P3(config-if-loopback3)#exit P3(config)#router ospf 1 P3(config-ospf-1)#router-id 3.1.1.1.0.255.0.0.255 area 0 P2(config-ospf-1)#network 120.0 area 0 P2(config-ospf-1)#network 74.

1.1. Moreover.1 .0) ZTE Proprietary and Confidential .gei-0/2/1/4 up/up tunnel_33.gei-0/2/1/3 up/up P1#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspIDIn-label Out intf/label FRR intf/label Status Tunnel186 Tun hd gei-0/2/1/1:147456Tu3:3 ready LSP midpoint frr information: LSP identifierIn-label Out intf/label FRR intf/label Status P1(config)#show mpls traffic-eng fast-reroute promotion MPLS-TE: Enabled Periodic FRR Promotion: every 60 seconds.1.1. It is required to establish the primary tunnel (Tunnel1 has a 5000 kbps bandwidth) from P1 to P2 and two backup tunnels (Tunnel2 has a 6000 kbps bandwidth and Tunnel3 has a 5000 kbps bandwidth) through other two links. FRR promotion should be enabled to establish an FRR relationship between P1 and P2.gei-0/2/1/1 up/up tunnel_22.1.2 FRR Configuration Example (Bandwidth for Backup Tunnels Being Met) Scenario Description Figure 2-20 shows a sample network topology.7.1.Chapter 2 MPLS TE Configuration P3(config-mpls-te-if-loopback3)#exit P3(config-mpls-te)#router-id 3.1.1 . 2-109 SJ-20140731105308-012|2014-10-20 (R1. run the show mpls traffic-eng tunnels brief command on P1 to check whether FRR relationships have been established.1 .1.1 P3(config-mpls-te)#interface gei-0/2/1/2 P3(config-mpls-te-if-gei-0/2/1/2)#exit P3(config-mpls-te)#interface gei-0/2/1/3 P3(config-mpls-te-if-gei-0/2/1/3)#exit P3(config-mpls-te)#exit Configuration Verification After the tunnel goes up. next in 4 second 2.3. The execution result is displayed as follows: P1#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 3.

4. enable OSPF TE. The primary path is configured between the gei-0/1/0/2 interfaces of P1 and P2.255.1. and configure Tunnel2 and Tunnel3 to be backup tunnels on the egress interface (gei-0/1/0/2) of the primary tunnel of P1.1.255. 2.1.1 255.1.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.255.ZXR10 M6000-S Configuration Guide (MPLS) Figure 2-20 FRR Configuration Example (Bandwidth for Backup Tunnels Being Met) Configuration Flow 1. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192. Establish the primary tunnel (Tunnel1 with a 5000 kbps bandwidth) and two backup tunnels (Tunnel2 with a 6000 kbps bandwidth and Tunnel3 with a 5000 kbps bandwidth).255.0 P1(config-if-gei-0/1/0/3)#exit P1(config)#interface gei-0/1/0/4 P1(config-if-gei-0/1/0/4)#no shutdown P1(config-if-gei-0/1/0/4)#ip address 32.1 255. Establish an OSPF neighbor relationship between the directly-connected interfaces of P1 and P2.255 P1(config-if-loopback1)#exit P1(config)#interface gei-0/1/0/3 P1(config-if-gei-0/1/0/3)#no shutdown P1(config-if-gei-0/1/0/3)#ip address 31.255.255. Enable FRR promotion.168. and two backup paths are respectively configured between the gei-0/1/0/3 interfaces and between the gei-0/1/0/4 interfaces of P1 and P2.0) ZTE Proprietary and Confidential .1 255.0 P1(config-if-gei-0/1/0/4)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#interface te_tunnel2 P1(config-if-te_tunnel2)#ip unnumbered loopback1 P1(config-if-te_tunnel2)#exit 2-110 SJ-20140731105308-012|2014-10-20 (R1.1 255.255.255. and configure the bandwidth.1.1. 3.1. Establish three strict paths.

1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng 2-111 SJ-20140731105308-012|2014-10-20 (R1.0 0.1.1.168.1 P1(config-mpls-te)#fast-reroute timers promotion P1(config-mpls-te)#fast-reroute timers promotion interval 60 P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#bandwidth 20000 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#interface gei-0/1/0/3 P1(config-mpls-te-if-gei-0/1/0/3)#bandwidth 20000 P1(config-mpls-te-if-gei-0/1/0/3)#exit P1(config-mpls-te)#interface gei-0/1/0/4 P1(config-mpls-te-if-gei-0/1/0/4)#bandwidth 20000 P1(config-mpls-te-if-gei-0/1/0/4)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.0.0 0.1.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#explicit-path identifier 2 P1(config-mpls-te-expl-path-id-2)#next-address strict 31.0.0.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.0.2 P1(config-mpls-te-expl-path-id-3)#exit P1(config-mpls-te)#tunnel te_tunnel 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.168.1.1.1.0.0) ZTE Proprietary and Confidential .1.255 area 0 P1(config-ospf-1)#network 1.1.1.1 P1(config-ospf-1)#network 192.1.1.1.0.1.Chapter 2 MPLS TE Configuration P1(config)#interface te_tunnel3 P1(config-if-te_tunnel3)#ip unnumbered loopback1 P1(config-if-te_tunnel3)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.1.1 0.2 P1(config-mpls-te-expl-path-id-2)#exit P1(config-mpls-te)#explicit-path identifier 3 P1(config-mpls-te-expl-path-id-3)#next-address strict 32.1.255 area 0 P1(config-ospf-1)#network 31.1.1.1.0 0.0.255 area 0 P1(config-ospf-1)#network 32.0.

255.1.1.1.1.2 255.168.2 255.0.1.0 P2(config-if-gei-0/1/0/4)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.255 area 0 P2(config-ospf-1)#network 31.2 255.1.1 P2(config-ospf-1)#network 192.255.1 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 2 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng backup-bw 6000 P1(config-mpls-te)#tunnel te_tunnel 3 P1(config-mpls-te-tunnel-te_tunnel3)#tunnel destination ipv4 2.1.1.1.0 P2(config-if-gei-0/1/0/3)#exit P2(config)#interface gei-0/1/0/4 P2(config-if-gei-0/1/0/4)#no shutdown P2(config-if-gei-0/1/0/4)#ip address 32.1.168.1.1.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface gei-0/1/0/3 P2(config-if-gei-0/1/0/3)#no shutdown P2(config-if-gei-0/1/0/3)#ip address 31.255.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.0 0.255.0.1 P1(config-mpls-te-tunnel-te_tunnel3)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 3 P1(config-mpls-te-tunnel-te_tunnel3)#tunnel mpls traffic-eng backup-bw 5000 P1(config-mpls-te-tunnel-te_tunnel3)#exit P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/2/1/1)#backup-path te_tunnel 2 P1(config-mpls-te-if-gei-0/2/1/1)#backup-path te_tunnel 3 P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.1.255.255 area 0 2-112 SJ-20140731105308-012|2014-10-20 (R1.0 0.255.0.1 255.255.0.255.0) ZTE Proprietary and Confidential .1.1.1.ZXR10 M6000-S Configuration Guide (MPLS) fast-reroute facility P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng bandwidth 5000 P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#tunnel te_tunnel 2 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel destination ipv4 2.

1 0.1.0 0. run the show mpls traffic-eng tunnels brief command on P1 to check whether an FRR relationship has been enabled.1.0.0) ZTE Proprietary and Confidential .Chapter 2 MPLS TE Configuration P2(config-ospf-1)#network 32.255 area 0 P2(config-ospf-1)#network 2.1. The execution result is displayed as follows: P1#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_12.1.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1.1.1.1 -gei-0/1/0/4 up/up P1#show mpls traffic-eng fast-reroute Tunnel head end item information Tunnel head end item information Protected Tunnel LspID In-label Out intf/label FRR intf/label Status Tunnel176 Tun hd gei-0/1/0/2:3 Tu3:3 ready LSP midpoint frr information: LSP identifierIn-label Out intf/label FRR intf/label Status P1(config)#show mpls traffic-eng fast-reroute promotion MPLS-TE: Enabled Periodic FRR Promotion: every 60 seconds.1.0.0.1 -gei-0/1/0/2 up/up tunnel_22. next in 4 second 2-113 SJ-20140731105308-012|2014-10-20 (R1.1.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit P2(config-mpls-te)#interface gei-0/1/0/3 P2(config-mpls-te-if-gei-0/1/0/3)#exit P2(config-mpls-te)#interface gei-0/1/0/4 P2(config-mpls-te-if-gei-0/1/0/4)#exit Configuration Verification After the tunnel goes up.1 -gei-0/1/0/3 up/up tunnel_32.0.1.1.1.

2.8 FRR-Hello Configuration 2. BFD detection can only detect the loss of neighbors on the link-layer plane. This mechanism provides the basics of the RSVP-TE FRR HELLO technology. fault detection on neighbors cannot be implemented due to some reasons (for example. It also defines an hello object and an hello message (for more information. Implementation To implement RSVP FRR hello.1 FRR Hello Introduction Overview RSVP FRR protection is a local protection technology used to provide link or node protection for TE tunnels.2 Configuring FRR Hello This procedure describes how to configure FRR hello. Features l l A hello component sends a message to detect the reachability of a hello neighbor. users do not use the corresponding detection techniques or neighbor failures are not detected in time). such as the widespread BFD detection and MPLS OAM detection. however. FRR reroute starts to operate on the local device. the corresponding fast fault detection techniques are needed. FRR switchover is then triggered by using the MBB technology.8. 2-114 SJ-20140731105308-012|2014-10-20 (R1. refer to the "GR Introduction" section). In some cases.0) ZTE Proprietary and Confidential . RSVP HELLO messages are sent to neighboring devices through a local interface to detect the reachability. RFC defines an extended hello message mechanism.ZXR10 M6000-S Configuration Guide (MPLS) 2. and enables nodes to detect when neighbors become unreachable or reboot. IETF RFC defines and describes the implementation process of the function. If no hello-ack message is received from the neighbor during the “interval × misses” period. Due to the fast switchover requirements of RSVP FRR. If neighbors cannot be detected. it enables the traffic to bypass the faulty link or node along a backup tunnel.8. the neighbor is considered to be unreachable If a neighbor is considered to be unreachable. When a PLR detects a failure on its downstream node. The loss of neighbors may be caused by the loss of neighbors on the link-layer plane or protocol-layer plane. and therefore a technology for detecting the loss of neighbors on the protocol-layer plane is required (that is. FRR HELLO detection). It is required for RSVP itself to provide one neighbor failure detection technology (RSVP hello fault detection mechanism).

To enable FRR Hello. range: 4–10. 2 ZXR10(config-mpls-te)#interface <interface-name> Enters the signalling interface to be protected. 3. 4. To enable MPLS TE. ZXR10(config-mpls-te-if-interface-name)#signall Sets the maximum number of ing hello refresh misses <num> times that hello messages can be lost. The FRR Hello function is conflicted with the GR function. 2. run the following command: Command Function ZXR10(config)#mpls traffic-eng Enables MPLS TE. To enable FRR Hello. ZXR10(config-mpls-te-if-interface-name)#signal Sets the time interval (in ling hello refresh interval <interval> milliseconds) for refreshing hello messages. ZXR10#show ip rsvp hello instance detail Displays the detailed information about RSVP Hello instances.0) ZTE Proprietary and Confidential .Chapter 2 MPLS TE Configuration Context FRR hello should be configured on the PLR node generated in FRR protection and the signalling interface of the protected tunnel associated with a neighbor. 3 4 ZXR10(config-mpls-te-if-interface-name)#signall Enables FRR Hello on the ing hello interface. run the following commands: Command Function ZXR10#show ip rsvp hello instance summary Displays the summary information about RSVP Hello instances. and enters the TE configuration mode. Steps 1. run the following command: 2-115 SJ-20140731105308-012|2014-10-20 (R1. range: 1000–30000. perform the following steps: Step Command Function 1 ZXR10(config-mpls-te)#signalling hello Enables FRR Hello globally. To display the configuration results.

and the path is a strict path). and the backup path is P1–>P3. 3. and P3.3 FRR Hello Configuration Example Scenario Description Figure 2-21 shows a sample network topology. Tunnel 1 (active tunnel) passes through P1. Enable FRR hello on P1 and P2. It is required to establish two tunnels (with an FRR relationship between them) from P1 to P3 and enable FRR hello on P1 and P2.ZXR10 M6000-S Configuration Guide (MPLS) Command Function ZXR10#debug rsvp hello Enables the debugging of FRR Hello. P2. P2. 2. 2-116 SJ-20140731105308-012|2014-10-20 (R1. Enable TE on the interfaces of P1. and P3. Establish two strict paths. 5. Enable FRR facility on the active tunnel (the destination is the router-id of P2. The active path is P1–>P2–>P3. and enable OSPF TE. Establish active and backup tunnels. and P3. – End of Steps – 2.8. Establish OSPF neighbor relationships between the directly-connected interfaces of P1. 4. and Tunnel2 (backup tunnel) passes through P1 and P3. Figure 2-21 FRR Hello Configuration Example Configuration Flow 1. P2. and configure the backup tunnel on the gei-0/2/1/1 interface of P1.0) ZTE Proprietary and Confidential .

255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#interface te_tunnel2 P1(config-if-te_tunnel2)#ip unnumbered loopback1 P1(config-if-te_tunnel2)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.0.1 P1(config-mpls-te)#explicit-path name primary P1(config-mpls-te-expl-path-name)# next-address strict 74.1.1.1.1 255.0.0 0.2 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#explicit-path name back P1(config-mpls-te-expl-path-name)#next-address strict 60.2 255.1.2 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#interface gei-0/2/1/1 P1(config-mpls-te-if-gei-0/2/1/1)#exit P1(config-mpls-te)#interface gei-0/2/1/3 P1(config-mpls-te-if-gei-0/2/1/3)#exit 2-117 SJ-20140731105308-012|2014-10-20 (R1.1.0 area 0 P1(config-ospf-1)#network 74.1.255.255.1.1.0.1.1 0.1.255.1 P1(config-mpls-te-expl-path-name)#next-address strict 120.1.1.255 area 0 P1(config-ospf-1)#network 60.1.1.0.0 P1(config-if-gei-0/2/1/3)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.0.Chapter 2 MPLS TE Configuration Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/2/1/1 P1(config-if-gei-0/2/1/1)#no shutdown P1(config-if-gei-0/2/1/1)#ip address 74.1.255.1.1.255.0) ZTE Proprietary and Confidential .1.1.1.0 0.255.1.0 P1(config-if-gei-0/2/1/1)#exit P1(config)#interface gei-0/2/1/3 P1(config-if-gei-0/2/1/3)#no shutdown P1(config-if-gei-0/2/1/3)#ip address 60.1.1 255.255 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.0.1 P1(config-ospf-1)#network 1.

1.1 P2(config-ospf-1)#network 2.1.255 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng 2-118 SJ-20140731105308-012|2014-10-20 (R1.1.255.1 0.0.0 area 0 P2(config-ospf-1)#network 74.1.1.1.1.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.255 area 0 P2(config-ospf-1)#network 120.1.1.0.1 255.0.0 0.1.1 P1(config-mpls-te.255.tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1 explicit-path name back P1(config-mpls-te-tunnel-te_tunnel2)#exit P1(config-mpls-te)#interface gei-0/2/1/1 P1(config-mpls-te-if-gei-0/2/1/1)#backup-path te_tunnel 2 P1(config-mpls-te-if-gei-0/2/1/1)#exit P1(config-mpls-te)#signalling hello P1(config-mpls-te)#interface gei-0/2/1/1 P1(config-mpls-te-if-gei-0/2/1/1)#signalling hello P1(config-mpls-te-if-gei-0/2/1/1)#exit P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/2/1/1 P2(config-if-gei-0/2/1/1)#no shutdown P2(config-if-gei-0/2/1/1)#ip address 74.1.1.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 3.1.255.0 P2(config-if-gei-0/2/1/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.255.1.0) ZTE Proprietary and Confidential .1 255.1.0.1.0.1.1 255.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path name primary P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng fast-reroute facility P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#tunnel te_tunnel2 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel destination ipv4 3.0.255.0 P2(config-if-gei-0/2/1/1)#exit P2(config)#interface gei-0/2/1/2 P2(config-if-gei-0/2/1/2)#no shutdown P2(config-if-gei-0/2/1/2)#ip address 120.255.1.0 0.

Chapter 2 MPLS TE Configuration P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.255 area 0 P3(config-ospf-1)#network 60.0) ZTE Proprietary and Confidential .0.1.1.1.255.255 P3(config-if-loopback3)#exit P3(config)#router ospf 1 P3(config-ospf-1)#router-id 3.0.1.0.2 255.1.0 0.255.1.255.0.1.0.0.1.0 P3(config-if-gei-0/2/1/3)#exit P3(config)#interface loopback3 P3(config-if-loopback3)#ip address 3.0 P3(config-if-gei-0/2/1/2)#exit P3(config)#interface gei-0/2/1/3 P3(config-if-gei-0/2/1/3)#no shutdown P3(config-if-gei-0/2/1/3)#ip address 60.255.1.1.0 area 0 P3(config-ospf-1)#network 120.1.1.1.255.1 P3(config-mpls-te)#interface gei-0/2/1/2 P3(config-mpls-te-if-gei-0/2/1/2)#exit P3(config-mpls-te)#interface gei-0/2/1/3 P3(config-mpls-te-if-gei-0/2/1/3)#exit P3(config-mpls-te)#exit 2-119 SJ-20140731105308-012|2014-10-20 (R1.1.1 0.1.1.1.0 0.1 P2(config-mpls-te)#interface gei-0/2/1/1 P2(config-mpls-te-if-gei-0/2/1/1)#exit P2(config-mpls-te)#interface gei-0/2/1/2 P2(config-mpls-te-if-gei-0/2/1/2)#exit P2(config-mpls-te)# signalling hello P2(config-mpls-te)#interface gei-0/2/1/1 P2(config-mpls-te-if-gei-0/2/1/1)#signalling hello P2(config-mpls-te-if-gei-0/2/1/1)#exit P2(config-mpls-te)#exit Run the following commands on P3: P3(config)#interface gei-0/2/1/2 P3(config-if-gei-0/2/1/2)#no shutdown P3(config-if-gei-0/2/1/2)#ip address 120.255 area 0 P3(config-ospf-1)#mpls traffic-eng area 0 P3(config-ospf-1)#exit P3(config)#mpls traffic-eng P3(config-mpls-te)#interface loopback3 P3(config-mpls-te-if-loopback3)#exit P3(config-mpls-te)#router-id 3.1 255.1.1 P3(config-ospf-1)#network 3.255.2 255.

1. Dst_instance 28778033 GR HELLO parameters Refresh Misses Configured:4 Refresh Interval (msec) Configured:10000 Current :0 Local restart time (msec):120000 Local recovery time (msec):120000 Nbr restart time (msec):0 Nbr recovery time (msec):0 Lost count:0 2-120 SJ-20140731105308-012|2014-10-20 (R1.1.ZXR10 M6000-S Configuration Guide (MPLS) Configuration Verification After the tunnel goes up.2 Clients:Fast Reroute State:UP Type:ACTIVE I/F: gei-0/2/1/1 LSP num:1 Src_instance 30138456.1.1.1.1 Source 74.1 - gei-0/2/1/1 up/up tunnel_2 3.1.1.1.1. run the show mpls traffic-eng tunnels brief command on P1 to check the status of FRR.1 - gei-0/2/1/3 up/up P1#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspID In-label Out intf/label FRR intf/label Status Tunnel1 86 Tun hd gei-0/2/1/1:147456 Tu2:3 ready LSP midpoint frr information: LSP identifier In-label Out intf/label FRR intf/label Status R5(config)#show ip rsvp hello instance summary Client I/F Neighbor Type State LostCnt LSPs FRR gei-0/2/1/1 74.1 ACTIVE UP 0 1 R5(config)#show ip rsvp hello instance detail Hello Graceful Restart globally disabled Fast-Hello globally enabled Neighbor 74.0) ZTE Proprietary and Confidential . P1#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 3.1.

the traffic is transmitted through the working LSP path. one LSP is set as the primary LSP and another LSP is set as the second LSP. l l l l Each LSP has its own label switching item. After the handover. 2. In general.2 Path Configuration for MPLS TE End-to-End Protection This procedure describes how to configure MPLS TE End-to-End Protection. When a tunnel is established. the traffic is handed over to this primary LSP after the switching item of the primary LSP is written. In this case. The paths of these two LSPs on the tunnel do not intersect except the head node and the tail node. For the end-to-end protection. the RSVP-TE protocol tries to re-establish a primary LSP. Steps 1. the fast handover for the hot-backup item is implemented. 2-121 SJ-20140731105308-012|2014-10-20 (R1. On the head node.1 MPLS TE End-to-End Path Protection Overview Both TE FRR and Hot_standby are used to protect the RSVP-TE tunnel. If the primary LSP is established successfully. the switching layer hands over the traffic to the second LSP. two LSPs with different paths are established. The TE FRR is used for part protection and the Hot_standby is used for the a single LSP protection from the head node to the tail node (end-to-end protection). The out-label could be the same or be different. In general.0) ZTE Proprietary and Confidential . the switching items of these two LSPs are written and the relationship is bound. the egress interface and the next hop address are different. On the switching layer. In general. Only when the link or the node of the working LSP is faulty the traffic passes the Hot_standby_lsp path after the handover. the switching item of the primary LSP is used for switching.9 MPLS TE End-to-End Protection Path Configuration 2.9.Chapter 2 MPLS TE Configuration intf hello FRR HELLO parameters Fast_hello_period (msec):10000 Fast_hello_miss:4 Fast_hello_protect_lsps:1 Fast_hello_lost_count:0 Fast_hello_del_time (msec):0 Fast_hello_reroute_time (msec):5900 2. a Hot_standby_lsp path is created in advance for one working LSP before a fault occurs. Once when the path of the primary LSP is faulty.9. Configure MPLS TE End-to-End Protection.

dynamic: Specifies the dynamic calculation mode for the path of the standby LSP. the active and standby paths cannot be completely overlapped. prefer: Specifies the dynamic calculation mode for the path of the standby LSP. the active and standby paths cannot be overlapped except the head and tail nodes. 2 prefer]|explicit-path {identifier <explicit-path-identifie r-id>|name <explicit-path-of-name>}[exclude]} <protected-path-option-id>: specifies the active path-option that the standby LSP needs to protect. exclude: specifies the hot standby path and forcibly excludes the active path. – End of Steps – 2.0) ZTE Proprietary and Confidential .9. there is an MPLS TE end-to-end path protection tunnel created through the OSPF-TE protocol in the network. range: 1-16. identifier: Specifies the identity mode for the explicit path of the standby LSP. range: 1-64 characters. ZXR10(config-mpls-te-tunnel-te_tunnel- Enables the hot-standby function tunnel-number)#tunnel mpls traffic-eng hot-standby for the specified path option on protect <protected-path-option-id>{dynamic [ the tunnel. The path for working LSP is R1-R2 and the path for Hot_standby_lsp is R1-R3-R2. run the following command: Commands Functions ZXR10#show mpls traffic-eng tunnels hot-standby Displays the detailed information about the backup LSPs in hot-standby LSP protection.3 Establishing an MPLS TE End-to-End Path Protection Configuration Descriptions As shown in Figure 2-22. If this option is configured. 2-122 SJ-20140731105308-012|2014-10-20 (R1.ZXR10 M6000-S Configuration Guide (MPLS) Step Commands Functions 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters tunnel interface <tunnel-number> configuration mode. <explicit-path-of-name>: explicit path name used by the standby LSP. <explicit-path-identifier-id>: explicit path ID used by the standby LSP. To display the configuration results. 2. name: Specifies the name mode for the explicit path of the standby LSP. If the prefer option is not configured. range: 1-65535.

Configuration Commands The configuration of R1 is as follows: Interface related configuration: R1(config)#interface loopback1 R1(config-if-loopback1)#ip address 1. 7.255.Chapter 2 MPLS TE Configuration Figure 2-22 Establishing an MPLS TE End-to-End Path Protection Configuration Flow 1. 3. The specified strict path is R1-R2.1. 4.1.255.1. 2.255 R1(config-if-loopback1)#exit R1(config)#interface gei-0/0/1/4 R1(config-if-gei-0/0/1/4)#no shutdown R1(config-if-gei-0/0/1/4)#ip address 10. The next hop is Tunnel1. Check the hot-standby relationship. As shown in Figure 2-22. 5. Check the hot-standby relationship when the link of the primary tunnel recoveries normally. R2 and R3. R2 and R3 and enable TE.255.1. the traffic is transmitted through the tunnel. Configure a static route to the destination on the R1 router. Configure the hot-standby function on the head node of the tunnel in MPLS TE mode. Check the hot-standby relationship when the link of the primary tunnel is invalid. and configure the loopback address and the interface address for each router.1 255. 6.255. interconnect the R1. Establish the OSPF neighbor relationship through the direct-connected interfaces on the R1.0) ZTE Proprietary and Confidential . In this case.0 R1(config-if-gei-0/0/1/4)#exit R1(config)#interface gei-0/0/0/7 R1(config-if-gei-0/0/0/7)#no shutdown 2-123 SJ-20140731105308-012|2014-10-20 (R1.1 255.

1.1 255.0.2.0.255.2 R1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path name zte R1(config-mpls-te-tunnel-te_tunnel1)# tunnel mpls traffic-eng record-route R1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng hot-standby protect 1 explicit-path name hot R1(config-mpls-te-tunnel-te_tunnel1)#exit R1(config-mpls-te)#exit R1(config)#ip route 172.1 0.2 R1(config-mpls-te-expl-path-name)#exit R1(config-mpls-te)#tunnel te_tunnel1 R1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.20.1.2 255.255 area 0 R1(config-ospf-1)#exit MPLS-TE configuration: R1(config)#mpls traffic-eng R1(config-mpls-te)#interface loopback1 R1(config-mpls-te-if-loopback1)#exit R1(config-mpls-te)#router-id 1.1.0.1.2.0 0.1.2 R1(config-mpls-te-expl-path-name)#exit R1(config-mpls-te)#explicit-path name hot R1(config-mpls-te-expl-path-name)# next-address strict 20.1.0.0.255.255.1 R1(config-ospf-1)#network 1.1.1.1.1.1.1.0.255 area 0 R1(config-ospf-1)#network 20.1.1.0 area 0 R1(config-ospf-1)#mpls traffic-eng area 0 R1(config-ospf-1)#network 10.1.0) ZTE Proprietary and Confidential .1.ZXR10 M6000-S Configuration Guide (MPLS) R1(config-if-gei-0/0/0/7)#ip address 20.255 te_tunnel1 2-124 SJ-20140731105308-012|2014-10-20 (R1.1.1.255.1 R1(config-mpls-te)#interface gei-0/0/1/4 R1(config-mpls-te-if-gei-0/0/1/4)#exit R1(config-mpls-te)#interface gei-0/0/0/7 R1(config-mpls-te-if-gei-0/0/0/7)#exit R1(config-mpls-te)#exit R1(config)#mpls traffic-eng R1(config-mpls-te)#explicit-path name zte R1(config-mpls-te-expl-path-name)# next-address strict 10.3 R1(config-mpls-te-expl-path-name)# next-address strict 30.1.0 0.0 R1(config-if-gei-0/0/0/7)#exit R1(config)#interface te_tunnel1 R1(config-if-te_tunnel1)#ip unnumbered loopback1 R1(config-if-te_tunnel1)#exit OSPF and OSPF-TE related configuration: R1(config)#router ospf 1 R1(config-ospf-1)#router-id 1.

2.255.2 255.2.0 R2(config-if-gei-0/5/1/7)#exit R2(config)#interface gei-0/5/0/8 R2(config-if-gei-0/5/0/8)#no shutdown R2(config-if-gei-0/5/0/8)#ip address 30.3 255.1.0 area 0 R2(config-ospf-1)#mpls traffic-eng area 0 R2(config-ospf-1)#network 10.0.255.255 R2(config-if-loopback1)#exit R2(config)#interface gei-0/5/1/7 R2(config-if-gei-0/5/1/7)#no shutdown R2(config-if-gei-0/5/1/7)#ip address 10.2.2 R2(config-ospf-1)#network 2.255.255.3.1.255.0.2.2 255.3.255.1.0.1.0 0.2.2 R2(config-mpls-te)#interface gei-0/5/1/7 R2(config-mpls-te-if-gei-0/5/1/7)#exit R2(config-mpls-te)#interface gei-0/5/0/8 R2(config-mpls-te-if-gei-0/5/0/8)#exit R2(config-mpls-te)#exit The configuration of R3 is as follows: Interface related configuration: R3(config)#interface loopback1 R3(config-if-loopback1)#ip address 3.1.0.2.0 R3(config-if-gei-0/2/0/7)#exit R3(config)#interface gei-0/2/0/8 R3(config-if-gei-0/2/0/8)#no shutdown 2-125 SJ-20140731105308-012|2014-10-20 (R1.255.2 255.1.255.255 R3(config-if-loopback1)#exit R3(config)#interface gei-0/2/0/7 R3(config-if-gei-0/2/0/7)#no shutdown R3(config-if-gei-0/2/0/7)#ip address 20.255.255 area 0 R2(config-ospf-1)#network 30.0 R2(config-if-gei-0/5/0/8)#exit OSPF and OSPF-TE related configuration: R2(config)#router ospf 1 R2(config-ospf-1)#router-id 2.1.Chapter 2 MPLS TE Configuration The configuration of R2 is as follows: Interface related configuration: R2(config)#interface loopback1 R2(config-if-loopback1)#ip address 2.0.2.3 255.2.255 area 0 R2(config-ospf-1)#exit MPLS-TE related configuration: R2(config)#mpls traffic-eng R2(config-mpls-te)#interface loopback1 R2(config-mpls-te-if-loopback1)#exit R2(config-mpls-te)#router-id 2.1.0) ZTE Proprietary and Confidential .1.1.2 0 0.0 0.255.0.

1.0 0.0 R3(config-if-gei-0/2/0/8)#exit OSPF and OSPF-TE related configuration: R3(config)#router ospf 1 R3(config-ospf-1)#router-id 3.2 - 2.255.3 R3(config-mpls-te)#interface gei-0/2/0/7 R3(config-mpls-te-if-gei-0/2/0/7)#exit R3(config-mpls-te)# interface gei-0/2/0/8 R3(config-mpls-te-if-gei-0/2/0/8)#exit The configuration of R5 is as follows: R5(config)#interface gei-0/2/1/1 R5(config-if-gei-0/2/1/1)#no shutdown R5(config-if-gei-0/2/1/1)#ip address 172.255 area 0 R3(config-ospf-1)#exit MPLS-TE configuration: R3(config)#mpls traffic-eng R3(config-mpls-te)#interface loopback1 R3(config-mpls-te-if-loopback1)#exit R3(config-mpls-te)#router-id 3.ZXR10 M6000-S Configuration Guide (MPLS) R3(config-if-gei-0/2/0/8)#ip address 30.2 Status: Admin: up Oper: up Path: valid Signaling: connected Fast Reroute Protection:disabled 2-126 SJ-20140731105308-012|2014-10-20 (R1.2 255.1.2.0.3.3 0.2.0.3.1.255.0 0.1.2 STATE/PROT gei-0/0/1/4 - up/up gei-0/0/0 /7 up/up Check the protection relationship between the hot-standby LSP and the LSP: R1(config-if)#show mpls traffic-eng tunnels hot-standby Name: tunnel_1 (Tunnel1) Destination: 2.2.2.0.255.0.1.0.0 area 0 R3(config-ospf-1)#mpls traffic-eng area 0 R3(config-ospf-1)#network 20.3 255.3.3.2.255.3.3.0) ZTE Proprietary and Confidential .2.255 area 0 R3(config-ospf-1)#network 30.0 R5(config-if-gei-0/2/1/1)#exit Configuration Verification Check the R1 to see the status information of the tunnel: R1#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: TUNNEL NAME enabled DESTINATION tunnel_1 tunnel_1(hot) UP IF DOWN IF 2.0.1.20.3 R3(config-ospf-1)#network 3.1.

2 Status: Admin: up Oper: up Path: valid Signaling: connected Fast Reroute Protection:disabled Hot-standby Protection: Backup lsp in use Config Parameters: BFD: disabled When the link of the primary LSP recoveries normal.2.2.2.1.3 2. peak rate= 0 kbits RSVP Resv Info: Record Route: 3.1 20. Tun_Id 1. burst= 1000 bytes.2.1. check the protection relationship between hot-standby LSP and the primary LSP.1. 147456 RSVP Signaling Info : Src 1.2 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.3 20.1.1. type explicit name: hot (Basis for Protect) Config Parameters: Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0x0 Resv-Style: SE Metric Type: IGP (default) Upper Limit: 4294967295 2-127 SJ-20140731105308-012|2014-10-20 (R1.2.1.2.2.3.3 30. the detailed information of the primary LSP and the hot-standby LSP tunnel is as follows: R1(config-if)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 2.1 Tspec: ave rate= 0 kbits. Dst 2. Tun_Instance 2 RSVP Path Info: Explicit Route: 20.1.1.Chapter 2 MPLS TE Configuration Hot-standby Protection: Ready Config Parameters: BFD: disabled InLabel: OutLabel: gei-0/0/0/7.1. type explicit name zte (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: protect option: 1.3 2.1.1. peak rate= 0 kbits When the link of the primary LSP is down.2.2 Route: NULL Record Route: 1. burst= 1000 bytes. check the protection relationship between hot-standby LSP and the primary LSP.1.2 Fspec: ave rate= 0 kbits.2.2 Exclude 30.2 30.3.1.1 20. R1(config)#interface gei-0/0/1/4 R1(config-if-gei-0/0/1/4)#shutdown R1(config-if-gei-0/0/1/4)#show mpls traffic-eng tunnels hot-standby Name: tunnel_1 (Tunnel1) Destination: 2.1.1.2. After the recovery.1.1.2.0) ZTE Proprietary and Confidential .1.1.

2 Exclude Route: NONE Record Route: NONE Tspec:ave rate= 0 kbits.1.errvalue:0).10.2 10. burst= 2000 bytes.1 10.2 Configuring Loose Node Re-optimization This procedure describes how to configure loose node re-optimization. peak rate = 0 kbits History: Tunnel: Time since created: 0 days.errcode:24.0) ZTE Proprietary and Confidential .2. If there is.1.2.1.2.1.1 Loose Node Re-optimization Introduction Loose node re-optimization refers to triggering an intermediate node whose next hop is a loose or abstract node in the LSP path to check whether there is a better local route in accordance with a scheme.2.2.1. Path error:routing error. 11 minutes Last lsp error information: Delete mbb old inuse lsp(lspid:2.ZXR10 M6000-S Configuration Guide (MPLS) Facility Fast-reroute: disabled Detour Fast-reroute: disabled BFD: disabled Bidirect: disabled AutoRoute: disabled Forwarding-adjacency: disabled InLabel:OutLabel:gei-0/0/1/4.1. 37 minutes Time since path change: 0 days.2 2.errvalue:1).errvalue:5) 2.10 Loose Node Re-optimization 2. 2. 0 hours.errcode:23.1. Dst 2.2.10. 0 hours. 2-128 SJ-20140731105308-012|2014-10-20 (R1.no route to destination(lspid:1.errcode:1. Path error:rsvp sys error(lspid:3. peak rate = 0 kbits RSVP Resv Info: Record Route: 2. Tun_Id 1. 0 minutes Prior LSP: path option 1 [27] Current LSP: Uptime:0 days.1. burst= 2000 bytes.2 Fspec:ave rate= 0 kbits.2. the route is notified to the head node.1. Tun_Instance 34 RSVP Path Info: Explicit Route: 10.3 RSVP Signalling Info : Src 1. 18 hours. which determines whether to re-optimize the LSP.

ZXR10#show mpls traffic-eng tunnels Checks whether the re-optimization function is enabled on the tunnel. ZXR10(config-mpls-te)#tunnel te_tunnel Enters tunnel interface <tunnel-number> configuration mode. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Enables the re-optimization number)#tunnel mpls traffic-eng auto-reoptimize{ function on the active or main-lsp | hsb-lsp} standby LSP. and the explicit path is loosened to P2 first and then P3. – End of Steps – 2. an MPLS TE tunnel is established through OSPF-TE. 2. Figure 2-23 Loose Node Re-optimization Configuration Instance 2-129 SJ-20140731105308-012|2014-10-20 (R1. Verify the configurations. Command Function ZXR10#show mpls traffic-eng tunnels summary Checks whether the loose node re-optimization function is successfully configured.10. 2 3 4 ZXR10(config-mpls-te)#reoptimize timers frequency Configures the re-optimization <frequency> frequency. Step Command Function 1 ZXR10(config-mpls-te)#reoptimize loose-node Enables the loose node re-optimization function. (Optional) Configure the loose node re-optimization function.3 Loose Node Re-optimization Configuration Instance Configuration Description In Figure 2-23.Chapter 2 MPLS TE Configuration Steps 1. The tunnel path is P1->P2->P3.0) ZTE Proprietary and Confidential .

Set the interface gei-0/1/0/5 to no shutdown on P2. Configure a loopback address and interface address on P1. enable the TE function on the OSPF neighbors and interfaces.1.0. 6.255 P1(config-if-loopback1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#network 19.255 area 0.0 P1(config-ospf-1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#router-id 1.3. and enable periodical re-optimization on the tunnel.255.17.ZXR10 M6000-S Configuration Guide (MPLS) Configuration Flow 1.3 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 2-130 SJ-20140731105308-012|2014-10-20 (R1.1 P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#interface gei-0/1/0/1 P1(config-mpls-te-if-gei-0/1/0/1)#exit P1(config-mpls-te)#explicit-path name 1 P1(config-mpls-te-expl-path-name)#next-address loose 2. configure the explicit path to loosened to P2 first and then P3. and configure the egress gei-0/2/0/2 of P2 to cost so that link 1 is prior to link 2. P2.2.1. and P3. Set the interface gei-0/1/0/5 to shutdown on P2.0.255.0 P1(config-ospf-1)#mpls traffic-eng area 0.3.2.1 255.0. and check whether the tunnel goes through link 2 and whether the egress interface is gei-0/2/0/2. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/1 P1(config-if-gei-0/1/0/1)#no shutdown P1(config-if-gei-0/1/0/1)#ip address 19.18. Establish OSPF neighbors on P1.3. and P3.0) ZTE Proprietary and Confidential .255. 3.0. check whether the tunnel is MBB re-optimized to link 1 and the egress interface is gei-0/1/0/5.1.11 255. After OSPF neighbors are established and the timer expires.0 P1(config-if-gei-0/1/0/1)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1. P2. Configure a TE tunnel on P1.17.0.1.2 P1(config-mpls-te-expl-path-name)#next-address loose 3.18.3. Configure re-optimization at loose node on P2.3 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 3.0 0. 4. 2.255. and set the periodical re-optimization frequency to 30 seconds.0. 5.

27.0) ZTE Proprietary and Confidential .58.255 area 0.22 255.0.0.2.0 P2(config-ospf-1)#network 29.57.17.0 0.28.255.2.255.17.0.0.255 P2(config-if-loopback1)#exit P2(config)#router ospf 1 P2(config-ospf-1)#network 19.0.0 P2(config-if-gei-0/2/0/2)#no shutdown P2(config-if-gei-0/2/0/2)#exit P2(config)#interface loopback1 P2(config-if-loopback1)#ip address 2.0 P2(config-if-gei-0/1/0/5)#exit P2(config)#interface gei-0/2/0/2 P2(config-if-gei-0/2/0/2)#ip address 29.0.255.0.Chapter 2 MPLS TE Configuration explicit-path name 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng auto-reoptimize main-lsp Run the following commands on P2: P2(config)#interface gei-0/1/0/1 P2(config-if-gei-0/1/0/1)#no shutdown P2(config-if-gei-0/1/0/1)#ip address 19.18.27.0 P2(config-ospf-1)#network 59.0.2 255.22 255.0.58.255.0.0.0.0 P2(config-ospf-1)#mpls traffic-eng area 0.0 P2(config-if-gei-0/1/0/1)#exit P2(config)#interface gei-0/1/0/5 P2(config-if-gei-0/1/0/5)#no shutdown P2(config-if-gei-0/1/0/5)#ip address 59.255 area 0.22 255.2 P2(config-mpls-te)#interface loopback1 P2(config-mpls-te-if-loopback1)#exit P2(config-mpls-te)#interface gei-0/1/0/1 P2(config-mpls-te-if-gei-0/1/0/1)#exit P2(config-mpls-te)#interface gei-0/1/0/5 P2(config-mpls-te-if-gei-0/1/0/5)#exit P2(config-mpls-te)#interface gei-0/2/0/2 P2(config-mpls-te-if-gei-0/2/0/2)#exit P2(config-mpls-te)#reoptimize loose-node P2(config-mpls-te)#reoptimize timers frequency 30 Run the following commands on P3: P3(config)#interface gei-0/1/0/2 2-131 SJ-20140731105308-012|2014-10-20 (R1.0.0 0.255.0 0.2.18.0 P2(config-ospf-1)#interface gei-0/2/0/2 P2(config-ospf-1-if-gei-0/2/0/2)#cost 5 P2(config-ospf-1-if-gei-0/2/0/2)#exit P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#router-id 2.28.0.255.255.255 area 0.57.255.2.

0.1.2.0.0.3 255.3.255 area 0.0.3.33 255.255 P3(config-if-loopback1)#exit P3(config)#router ospf 1 P3(config-ospf-1)#network 59. Run the show running-config mpls-te command to check the MPLS-TE configuration on P1.2.0.3.0.0.ZXR10 M6000-S Configuration Guide (MPLS) P3(config-if-gei-0/1/0/2)#ip address 59.1 explicit-path name 1 index 1 next-address loose 2.3.0 0.255.58.0 P3(config-ospf-1)#mpls traffic-eng area 0.28.255.255.3 P3(config-mpls-te)#interface loopback1 P3(config-mpls-te-if-loopback1)#exit P3(config-mpls-te)#interface gei-0/1/0/2 P3(config-mpls-te-if-gei-0/1/0/2)#exit P3(config-mpls-te)#interface gei-0/2/0/2 P3(config-mpls-te-if-gei-0/2/0/2)#exit Configuration Verification 1.0 P3(config-ospf-1)#network 29.57.27.3.3.0.255 area 0.2 index 2 next-address loose 3.28. P2.0 P3(config-if-gei-0/2/0/2)#no shutdown P3(config-if-gei-0/2/0/2)#exit P3(config)#interface loopback1 P3(config-if-loopback1)#ip address 3.58.3 tunnel mpls traffic-eng auto-reoptimize main-lsp tunnel mpls traffic-eng path-option 1 explicit-path name 1 $ interface gei-0/1/0/1 $ interface loopback1 2-132 SJ-20140731105308-012|2014-10-20 (R1. and P3.0 P3(config-if-gei-0/1/0/2)#no shutdown P3(config-if-gei-0/2/0/2)#exit P3(config)#interface gei-0/2/0/2 P3(config-if-gei-0/2/0/2)#ip address 29.1.255.0.0) ZTE Proprietary and Confidential .57.33 255. The execution result is displayed as follows: P1(config)#show running-config mpls-te !<mpls-te> mpls traffic-eng router-id 1.0.0 P3(config-ospf-1)#exit P3(config)#mpls traffic-eng P3(config-mpls-te)#router-id 3.3.0 0.255.255.3 $ tunnel te_tunnel1 tunnel destination ipv4 3.27.3.

147456 OutLabel: gei-0/2/0/2.3.2.3.3 interface gei-0/1/0/2 $ interface gei-0/2/0/2 $ interface loopback1 $ $ !</mpls-te> 2.2. 3 2-133 SJ-20140731105308-012|2014-10-20 (R1.3.2 reoptimize loose-node reoptimize timers frequency 30 interface gei-0/1/0/1 $ interface gei-0/1/0/5 $ interface gei-0/2/0/2 $ interface loopback1 $ $ !</mpls-te> P3(config)#show running-config mpls-te !<mpls-te> mpls traffic-eng router-id 3. and whether the tunnel goes through link 2 and the egress interface is gei-0/2/0/2.0) ZTE Proprietary and Confidential . Run the show mpls traffic-eng tunnels remote-tunnel command to check whether the egress interface gei-0/1/0/5 is shut down on P2.Chapter 2 MPLS TE Configuration $ $ !</mpls-te> P2(config)#show running-config mpls-te !<mpls-te> mpls traffic-eng router-id 2.3 Status: Signalling: up RSVP Signalling Info : InLabel: gei-0/1/0/1. The execution result is displayed as follows: P2(config-if-gei-0/1/0/5)#shutdown P2(config-if-gei-0/1/0/5)#show mpls traffic-eng tunnels remote-tunnel Name: tunnel_1 (Tunnel1) Destination: 3.3.

33 3.3. Dst 3. Tun-Instance 813 RSVP Path Info: Explicit Route: 19. peak rate= 0 kb History: 2-134 SJ-20140731105308-012|2014-10-20 (R1.3(3) 59.57.3.27.17. Dst 3.1. peak rate= 0 kb History: Tunnel: Time Since Created: 0 day.18. and re-optimization is performed at loose nodes. burst= 1000 byte. 5 second Current LSP: Uptime:0 day.3. Enable the interface gei-0/1/0/5 on P2.33 3. After OSPF neighbors are established and the timer expires.1.ZXR10 M6000-S Configuration Guide (MPLS) Src 1.18.28.1.11 Tspec: ave rate= 0 kb.3. Tun-ID 1.57.11 Tspec: ave rate= 0 kb. 147457 OutLabel: gei-0/1/0/5.22 59.22 29.3.3.3(3) 29. 0 hour.3 Status: Signalling: up RSVP Signalling Info : InLabel: gei-0/1/0/1. 0 minute.28.22 29.1.18. Tun-ID 1.3.17.58.57.3. The execution result is displayed as follows: P2(config-if-gei-0/1/0/5)#show mpls traffic-eng tunnels remote-tunnel Name: tunnel_1 (Tunnel1) Destination: 3.3.1 19.3.0) ZTE Proprietary and Confidential .58. peak rate= 0 kb Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None RSVP Resv Info: Record Route: 3. burst= 1000 byte.17.18.3.1 19.27.1. burst= 1000 byte. 3 Src 1. 0 hour.3.1. Tun-Instance 814 RSVP Path Info: Explicit Route: 19.33(3) Fspec: ave rate= 0 kb.28.1.33(3) Fspec: ave rate= 0 kb.1. Run the show mpls traffic-eng tunnels remote-tunnel command to check the related information. 4 second 3. burst= 1000 byte.22 59.3.27.3.3.3 Exclude Route: NULL Record Route: 1.58. peak rate= 0 kb Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None RSVP Resv Info: Record Route: 3.1.3. 0 minute.3 Exclude Route: NULL Record Route: 1.17. MBB occurs on the tunnel.1. The tunnel goes through link 1 and the egress interface is gei-0/1/0/5.

With this function. you must understand the following two concepts: Sampling period: configured in a global MPLS-TE to control the rate of periodically collecting traffic data on a tunnel. 0 minute.11. 2 Manually triggers all tunnels ZXR10(config-mpls-te)#auto-bw adj-now all with the automatic bandwidth regulation function to regulate their bandwidths.0) ZTE Proprietary and Confidential . 0 hour. Configure automatic global sampling of TE bandwidth and real-time tunnel regulation. To understand the automatic bandwidth regulation function. 44 second Current LSP: Uptime:0 day. Regulation period: configured for a TE tunnel to control the rate of regulating a tunnel bandwidth. the bandwidth reserved for a tunnel is closer to the actual service traffic.1 Introduction to Automatic Bandwidth Regulation Function of the MPLS TE With the automatic bandwidth regulation function of the MPLS TE. Regulation is determined when a sampling period ends depending on the sampling data comparison result and whether the tunnel meets the regulation conditions. 43 second 2.2 Configuring Automatic MPLS TE Bandwidth Regulation This procedure describes how to configure automatic MPLS TE bandwidth regulation. 2-135 SJ-20140731105308-012|2014-10-20 (R1. 2. 0 hour. and a subscriber's bandwidth is regulated in accordance with the maximum bandwidth collected in an automatic bandwidth regulation period. the bandwidth actually used by a tunnel is collected. Step Command Function 1 ZXR10(config-mpls-te)#auto-bw timers [frequency Enables automatic bandwidth <para>] sampling and sets the sampling frequency. 3 ZXR10(config-mpls-te)#auto-bw adj-now tunnel-id Manually triggers a specific <tnnlid> tunnel to immediately perform automatic bandwidth regulation. Steps 1.11 Automatic Bandwidth Regulation on an MPLS TE 2. This value must be lower than the regulation period.Chapter 2 MPLS TE Configuration Tunnel: Time Since Created: 0 day.11. 0 minute. the maximum bandwidth in a sampling period is recorded.

unit: kbps. <maxbw>: maximum of the bandwidth. Range: 300-604800. 2.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 4 ZXR10(config-mpls-te)#tunnel te_tunnel Enters Tunnel interface <tunnel-number> configuration mode. – End of Steps – 2-136 SJ-20140731105308-012|2014-10-20 (R1. <bandwidth>: specifies the overflew bandwidth.0) ZTE Proprietary and Confidential . <freq>: bandwidth regulation period. unit: seconds. <multiple> 8 ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Sets the maximum and number)#tunnel mpls traffic-eng auto-bw adj-bw minimum of the tunnel <maxbw>[<minbw>] bandwidth.Range: 1-10. Verify the configurations. Range: 1-4294967295. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Enables the automatic number)#tunnel mpls traffic-eng auto-bw bandwidth regulation on a 5 tunnel. default: 100. <minbw>: minimum of the bandwidth. unit: seconds. <multiple>: tunnel bandwidth regulation rate. default: 10. Command Function ZXR10#show mpls traffic-eng tunnels Displays tunnel information. <para>: sampling period. <freq> 7 ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Sets the tunnel bandwidth number)#tunnel mpls traffic-eng auto-bw multiple regulation rate. Range: 0-4294967295. between which. Range: 50-100. the tunnel bandwidth can be regulated. 6 ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Sets the automatic bandwidth number)#tunnel mpls traffic-eng auto-bw frequency regulation period. default: 300. Range: 10-4294967295. units: kb/s. <percent>: specifies the percentage of the overflew bandwidth. range: 60-604800. 9 ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Configures regulation and number)#tunnel mpls traffic-eng auto-bw overflow detection upon tunnel threshold <percent>[min<bandwidth>] limit <limit> overflow. units: kb/s. default: 0. <limit>: specifies the threshold of the overflew bandwidth.Range: 1–100.

4. the LSP is re-calculated in accordance with the required bandwidth and a new LSP is formed when the bandwidth regulation period starts. The new LSP may be different from the original one. Enable automatic bandwidth sampling and regulation function in tunnel interface mode and set the automatic bandwidth regulation period to 300 seconds. Figure 2-24 Instance of Automatic Bandwidth Regulation Configuration for the MPLS TE Configuration Flow 1. When strictly routed. and the egress interface gei-0/0/0/1 of PE4 has an available bandwidth of 80 M. 3. the egress interface gei-0/0/0/1 of PE3 has an available bandwidth of 80 M. 2. Establish a common dynamically routed tunnel through ISIS-TE. When dynamically routed.Chapter 2 MPLS TE Configuration 2. PE1(config)#interface te_tunnel1 2-137 SJ-20140731105308-012|2014-10-20 (R1. the egress interface gei-0/0/0/1 of PE1 has an available bandwidth of 80 M. with the initial bandwidth of 10 M.11.0) ZTE Proprietary and Confidential . Configuration Commands Configuration for PE1: ISIS configuration is omitted. Enable the automatic bandwidth regulation function in global TE mode and set the sampling period to 60 seconds. which can be strictly or dynamically routed.3 Instances of Automatic Bandwidth Regulation Configuration for the MPLS TE Configuration Description Figure 2-24 shows tunnel1 from PE1 to PE2. The egress interface gei-0/0/0/3 of PE1 has an available bandwidth of 40 M. a new LSP is formed following the strict path when the bandwidth regulation period starts.

0) ZTE Proprietary and Confidential . The commands related to automatic bandwidth regulation do not need to be configured and are not described in this manual. PE3.2.2 PE1(config-mpls-te-tunnel-te_tunnel1)#exit PE1(config-mpls-te)#exit Configures a static route to the forwarded-to destination address on the PE1. The TEs configured on the PE2. PE1(config-mpls-te)#interface gei-0/0/0/3 PE1(config-mpls-te-if)#bandwidth 40000 PE1(config-mpls-te-if)#exit PE1(config-mpls-te)#interface gei-0/0/0/1 PE1(config-mpls-te-if)#bandwidth 80000 PE1(config-mpls-te-if)#exit PE1(config-mpls-te)#tunnel te_tunnel1 PE1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng auto-bw //Enables the automatic bandwidth regulation function on the tunnel. Configuration Verification Run the show mpls traffic-eng tunnels command to check the tunnel establishment information on the PE1. in which.2. with the next hop tunnel1.2.2.ZXR10 M6000-S Configuration Guide (MPLS) PE1(config-if)#ip unnumbered loopback1 PE1(config-if)#exit PE1(config)#mpls traffic-eng PE1(config-mpls-te)#auto-bw timers frequency 60 //Sets the sampling period. PE1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng auto-bw frequency 300 //Sets the bandwidth regulation period. the tunnel establishment path is PE1–>PE2. PE1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 - gei-0/0/0/3 up/up 2. and PE4 are the same as that configured when a common TE tunnel is being established. PE1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng auto-bw adj-bw 1000000 10000 PE1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng auto-bw multiple 100 PE1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng bandwidth 10000 PE1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 dynamic PE1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.2.2 PE1(config)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 2.2 Status: Admin: up Oper: up Path: valid Signalling: connected 2-138 SJ-20140731105308-012|2014-10-20 (R1.2. The execution result is displayed as follows.

and 117 s is the time before bandwidth regulation starts. Adjust Range:0-unconstrained(0) AutoRoute:disabled Adjust Multiple:100 AutoRouteMetricType:IGP(default) AutoRouteMetric: 0 Forwarding adjacency is not enabled No-cspf:disable Hot-standby: disabled InLabel:OutLabel:gei-0/0/0/3.0) ZTE Proprietary and Confidential .18 2. and the path is PE1->PE3->PE4–>PE2. the bandwidth of tunnel1 is regulated to 49508K. Run the show mpls traffic-eng tunnels te_tunnel command to check the information about the regulated tunnel1 on the PE1. Suppose the sampled traffic on tunnel1 is 49508K. after a bandwidth regulation period. Tun_Instance 11 RSVP Path Info: Explicit Route: 172.2.2.120.130. Dst 2.2.Chapter 2 MPLS TE Configuration Path option: 1.120.2 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.2.2.0 RSVP Signalling Info : Src 1.130.1. type dynamic (Basis for Setup) Config Parameters: Bandwidth: 49508 kbps (Global) Priority: 7 ClassType: 0 Affinity: 0x0/0x0 Bandwidth: 49508 kbps Metric Type: IGP (default) BFD:disable 7 Fast-reroute: enable disconnected down Auto-bw:(300/113) Samplling Bandwidth:49508 Adjust Range:0-unconstrained(0) Bandwidth Requested:49508 Adjust Multiple:100 2-139 SJ-20140731105308-012|2014-10-20 (R1. Tun_Id 1.1.1.17 172. The execution result is displayed as follows: PE1(config)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 2.2.2 Exclude Route: NONE Automatically regulates the tunnel bandwidth in accordance with the sampled traffic on a tunnel.2. type dynamic (Basis for Setup) Config Parameters: Bandwidth: 10000 kbps (Global) Priority: 7 ClassType: 0 7 Affinity: 0x0/0x0 Bandwidth: 0 kbps Metric Type: IGP (default) BFD:disable Fast-reroute: enable disconnected down Auto-bw:(300/117) Samplling Bandwidth:49508 Bandwidth Requested:0 //300 s is the configured bandwidth regulation period.

1.ZXR10 M6000-S Configuration Guide (MPLS) AutoRoute:disabled AutoRouteMetricType:IGP(default) AutoRouteMetric: 0 Forwarding adjacency is not enabled No-cspf:disable Hot-standby: disabled InLabel:OutLabel:gei-0/0/0/1.12 TE GR Configuration 2.2.21 172.20.2. Tun_Instance 12 RSVP Path Info: Explicit Route: 172.130.149 172.1 GR Introduction Overview Control-plane failures are divided into the following types: 2-140 SJ-20140731105308-012|2014-10-20 (R1.37 RSVP Signalling Info : Src 1.20.0) ZTE Proprietary and Confidential .158 2.20.12.1. The execution result is displayed as follows: PE1(config)#show running-config-interface te_tunnel1 !<if-intf> interface te_tunnel1 ! interface te_tunnel1 ip unnumbered loopback1 ! !</if-intf> !<mpls-te> mpls traffic-eng tunnel te_tunnel 1 tunnel mpls traffic-eng bandwidth 49508 tunnel mpls traffic-eng auto-bw tunnel mpls traffic-eng auto-bw frequency 300 tunnel mpls traffic-eng path-option 1 dynamic tunnel destination ipv4 2.130.2.130.130.2.20.130. Dst 2.2.130.1.22 172.157 172.2.2 Run the show running-config-interface command to display the changed tunnel bandwidth configuration.150 172. Tun_Id 1.2 $ !</mpls-te> 2.20.20.2.

The application of the GR technology enables the control plane to recover from one of the above failures. this value is set to 0. It also defines a hello object and a hello message. this value can be set to the system clock. this value remains unchanged. The SRC-INSTANCE value should not be set to 0. RFC defines an extended mechanism for hello messages. Different neighbors have different When the message sender reboots or loses communication with a neighbor. Node failure: Although the RSVP-TE control plane becomes faulty and the status of the control plane is lost. 2. the flow of processing control-channel failures and node failures. SRC-INSTANCE values.0) ZTE Proprietary and Confidential . For the remaining problems (for example. The neighbor detects the time when the failure occurs and the time when the reboot process is completed. also called Neighbor_Src_Instance. This provides the basics of the RSVP-TE GR technology. but the nodes can still obtain the status of the control plane or forwarding plane. the RFC in IETF define and describe the implementation process of the function. It also defines an optional summary refresh process and an CAPBILITY object. and an RESTART CAP object. the information of the LSR to reboot and whether it supports GR are advertised to the neighboring LSR. 3. In other cases. and then re-establishes a hello relationship. A RESTART CAP object contains an RESTART TIME field and an RECOVER TIME field. Before a hello message is received from the neighbor. this value must be changed. 1. RFC describes the GR flow when multiples nodes of an LSP become faulty. Through this technology. and enables nodes to detect when their neighbors become unreachable or reboot. the data plane is still operating. The neighbor assists the LSR that reboots in recovering the control plane status and re-synchronizing the control plane status and data forwarding plane status. l DST-INSTANCE: latest SRC-INSTANCE value carried in the hello message from a neighbor. and the LSR still remains in the data forwarding status. l l l l RFC defines an extended hello message. from the time when the control plane reboots to the time when the message sender 2-141 SJ-20140731105308-012|2014-10-20 (R1. l SRC-INSTANCE: message sender instance.Chapter 2 MPLS TE Configuration l l Inter-node communication failure: The control-plane communication between nodes is lost. During the implementation. RFC defines the actions for the downstream of the nodes that are rebooted (that is. the reboot of the head nodes on LSPs is not supported and incomplete PATH information). the downstream nodes send RECOVER PATH messages to the upstream nodes). An hello object contains an SRC-INSTANCE and a DST-INSTANCE. l RESTART TIME: indicates the time for a message sender to restart the control plane. Implementation To implement RSVP GR.

Unless otherwise specified. this field is set to 0. RecoveryPath Srefresh Capable (S): Both R and S flag bits are set to 1. RECOVER PATH messages use the same format as PATH messages. Features A GR is divided into three stages: l l l Stage before the reboot: Both upstream and downstream nodes receive the information carried in the hello messages from the node to reboot. l l This mechanism provides a means to detect node-to-node failures. Reboot stage: begins from the time when the node reboots to the time when both upstream and downstream nodes receive new hello messages from the node that reboots.0) ZTE Proprietary and Confidential . SRC-INSTANCE value. indicating that the message sender has the capability of receiving and processing the SREFRESH message (RecoveryPath=1) in a MESSAGE_ID LIST object. RECOVER PATH messages use message ID “30”. the handling ways that are the same as those for link-layer communication failures are used. If the node needs not to be kept in the forwarding status. the message sender can reset the RESTART TIME field to 0XFFFFFF (meaning infinite reboot time). RECOVER TIME: indicates whether the node that reboots should be kept in the forwarding status.ZXR10 M6000-S Configuration Guide (MPLS) l stops interactions with the neighbor through hello messages. Hello messages are primarily used to detect the status of the link with a neighboring node when: à The detection for the status of a link-layer neighboring node becomes invalidated or does not operate in real time. both upstream 2-142 SJ-20140731105308-012|2014-10-20 (R1. and DEST-INSTANCE value. such as the recovery capability. At the same time. RecoveryPath Desired (R): The message sender desires to receive a Recover Path message. If a control plane failure does not affect the forwarding of data plane messages. The destination address in the IP header of a RECOVER PATH message must be the same as that in the IP header of the associated RESV message. Hello messages provide a mechanism for an RSVP node to detect the unreachable failure related to a neighboring node. the objects in an RECOVER PATH message should be the same as those in the corresponding PATH message (received from the node that reboots). When an unreachable failure is detected. The recovery time begins from the time when the node that reboots re-establishes a neighbor relationship with its neighbor. Recovery stage: New neighboring relationships are established between the node that reboots and upstream and downstream node. A CAPBILITY object contains three flag bits: l l l RecoveryPath Transmit Enabled (T): The message sender has the capability of sending a RecoveryPath message. To distinguish between the two types of messages. à A link that is not marked is used.

The downstream node assists the invalidated node in recovering from the failure by sending a RECOVER PATH message to the node.2 Configuring GR This procedure describes how to configure GR. To enable MPLS TE. Context GR should be configured for each node that a tunnel passes through. If an exact match is found. After the node that reboots processes the RESV message. The invalidated node establishes the control-plane status by processing the PATH message (carrying a path recovery label) from the upstream. To enable GR. The ERO object in the PATH message should match that in the received RECOVER PATH message. and marks the status of the LSP associated with the forwarding plane to "Refresh".0) ZTE Proprietary and Confidential . run the following command: Command Function ZXR10(config)#mpls traffic-eng Enables MPLS TE. the recovery process of the LSP is completed.12. it sends a PATH message to the downstream. Upon receipt of the PATH message. the node that reboots searches for the match with the local LSP status. and the node that reboots should recover from the failure based on other objects in the received RECOVER PATH message. The upstream node assists an invalidated node in recovering the associated LSP by carrying a path recovery label in a PATH message. 2. 2-143 SJ-20140731105308-012|2014-10-20 (R1. The GR function is conflicted with the FRR HELLO function. 2.Chapter 2 MPLS TE Configuration and downstream nodes can determine the failure occurring on the node that becomes invalidated is a node failure or a control-plane failure. the downstream sends an RESV message to the upstream. Steps 1. Upon receipt of the RECOVER PATH message from the downstream. perform the following steps: Step Command Function 1 ZXR10(config-mpls-te)#signalling graceful-restart Enables the graceful-restart function. and enters the TE configuration mode.

range: 120000–600000. – End of Steps – 2. and enable the GR function in the TE configuration mode of P1 and P2. 3. ZXR10(config-mpls-te)#signalling hello Sets the maximum number of graceful-restart refresh misses <num> times that hello messages can be lost. run the following commands: Command Function ZXR10#show ip rsvp hello graceful-restart Displays the GR configuration. It is required to establish a common RSVP tunnel from P1 to P2 by using the OSPF TE-based strict routing mode. To maintain the GR function. To display the configuration results. range: 1000–30000.0) ZTE Proprietary and Confidential . ZXR10(config-mpls-te)#signalling hello Sets the maximum recovery graceful-restart timers recovery-time <recover-time> time (in milliseconds) for the graceful-restart function. ZXR10#show ip rsvp hello instance detail Displays the detailed information about RSVP HELLO instances. 2-144 SJ-20140731105308-012|2014-10-20 (R1. 4. ZXR10(config-mpls-te)#signalling hello Sets the maximum restart graceful-restart timers restart-time <restart-time> time (in milliseconds) for the graceful-restart function.12.3 GR Configuration Example Scenario Description Figure 2-25 shows a sample network topology. range: 4–10. range: 120000–600000. ZXR10#show ip rsvp hello instance summary Displays the summary information about RSVP HELLO instances. run the following commands: Command Function ZXR10#debug rsvp hello Enables the debugging of GR.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 2 ZXR10(config-mpls-te)#signalling hello Sets the time interval (in graceful-restart refresh interval <interval> milliseconds) for refreshing hello messages.

Enable the GR function in the TE configuration mode of P1 and P2.1.0. Establish an OSPF neighbor relationship between the directly-connected interfaces of P1 and P2.0.1.1.1 2-145 SJ-20140731105308-012|2014-10-20 (R1.1 255.1. Enable TE on the directly-connected interfaces of P1 and P2.255.0. 4.255.1.1.0.1 P1(config-ospf-1)#network 192.1 0.1 255. 2.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192. and enable OSPF TE. Configure the tunnel destination and strict routing mode on P1.1. 3.255.Chapter 2 MPLS TE Configuration Figure 2-25 GR Configuration Example Configuration Flow 1.168.1.1.1.168.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.0 0.0) ZTE Proprietary and Confidential .255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.255 area 0 P1(config-ospf-1)#network 1.255.

1 0.1.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#signalling graceful-restart P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.255 area 0 P2(config-ospf-1)#network 2.0.1.255.255.1.1 255.168.0.0 0.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.1.168.168.2 255.1.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1.1.1.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.1.1.255.0.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#tunnel te_tunnel 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit P2(config-mpls-te)#signalling graceful-restart Configuration Verification Run the show mpls traffic-eng tunnels brief command on P1 to check whether the tunnel has been established. The execution result is displayed as follows: P1(config)#show mpls traffic-eng tunnels brief Signalling Summary: 2-146 SJ-20140731105308-012|2014-10-20 (R1.0.1 P2(config-ospf-1)#network 192.1.0) ZTE Proprietary and Confidential .1.255.1.

1.0) ZTE Proprietary and Confidential .1.168.1. Run the show ip rsvp hello instance summary command on P1 to check whether GR has been enabled: P1(config)#show ip rsvp hello instance summary Client I/F Neighbor Type StateLostCnt LSPs GR gei-0/1/0/2 192.168.2 Source 192.1.2 ACTIVE UP0 1 P1(config)#show ip rsvp hello graceful-restart MPLS-TE: Enabled Graceful Restart: Enabled Refresh interval: 10000 msecs Refresh misses: 4 Advertised restart time: 120000 msecs Advertised recovery time: 120000 msecs P1(config)#show ip rsvp hello instance detail Hello Graceful Restart globally enabled Fast-Hello globally disabled Neighbor 192.168. Dst_instance 17128690 GR HELLO parameters Refresh Misses Configured:4 Refresh Interval (msec) Configured:10000 Current :10000 Local restart time (msec):120000 Local recovery time (msec):120000 Nbr restart time (msec):120000 Nbr recovery time (msec):0 Lost count:0 intf hello FRR HELLO parameters Fast_hello_period (msec):10000 Fast_hello_miss:4 2-147 SJ-20140731105308-012|2014-10-20 (R1.1 - STATE/PROT gei-0/1/0/2 up/up It can be seen that the tunnel is in up status.1 Clients:Graceful Restart State:UP Type:ACTIVE I/F: gei-0/1/0/2 LSP num:1 Src_instance 19002981.1.Chapter 2 MPLS TE Configuration LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF tunnel_1 2.

2 Configuring TE Tunnel FA This procedure describes how to configure TE tunnel FA. Steps 1. 2-148 SJ-20140731105308-012|2014-10-20 (R1. the amount of system resources for the packet forwarding can be greatly reduced. a great amount of system resources are spent in searching for the corresponding information in the database. the local router does not know tunnel flapping.13. the routing protocol has sufficient time to switch over traffic from the TE tunnel to other alternate entities. before the packet forwarding over the TE tunnel stops. and the higher-speed forwarding can be achieved. When the network topology is very complicated. run the following commands: Command Function ZXR10#show mpls traffic-eng tunnels Displays detailed information about tunnels. perform the following steps: Step Command Function 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters tunnel interface <tunnel-number> configuration mode. If this parameter is set. during the forwarding of packets. range: 0–4294967295.ZXR10 M6000-S Configuration Guide (MPLS) Fast_hello_protect_lsps:0 Fast_hello_del_time (msec):0 Fast_hello_reroute_time (msec):0 2. 2 forwarding-adjacency[<holdtime>] <holdtime>: the delay time (in seconds) for informing the local router that the tunnel is down after the corresponding link is down.1 TE Tunnel FA Introduction A routing protocol stores the path information related to the forwarding of packets through a database.13 TE Tunnel FA Configuration 2. 2. To display the configuration results. 2. To configure TE tunnel FA. ZXR10(config-mpls-te-tunnel-te_tunnel- Enables FA and sets the tunnel-number)#tunnel mpls traffic-eng holdtime. This process is achieved by using TE tunnel FA. If the TE tunnel function is fully utilized by using a TE tunnel as a forwarding entry of a route.0) ZTE Proprietary and Confidential .13. The status of a TE tunnel is advertised to a routing protocol in real time. This ensure that.

255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 2-149 SJ-20140731105308-012|2014-10-20 (R1. Enable FA on two tunnels.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.255.3 TE Tunnel FA Configuration Example Scenario Description Figure 2-26 shows a sample network topology.255. Enable TE on the directly-connected interfaces of P1 and P2. – End of Steps – 2.1.255. It is required to establish a common RSVP tunnel from P1 to P2 by using the OSPF TE-based strict routing mode. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192.1 255.255. 4. and enable OSPF TE.168. Figure 2-26 FA Configuration Example Configuration Flow 1. 2.1 255. and establish a reverse tunnel (Tunnel2) on P2. Establish an OSPF neighbor relationship between the directly-connected interfaces of P1 and P2. 3.13.1.0) ZTE Proprietary and Confidential . and enable FA on the tunnel.Chapter 2 MPLS TE Configuration Command Function ZXR10#show mpls traffic-eng forwarding-adjacency Displays detailed information about FA.1. Establish a tunnel (Tunnel1) on P1.

1 P1(config-ospf-1)#network 192.1 0.1.1.0.2 255.1.168.1.1.1.1.255.168.1.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.1.1.0.255 P2(config-if-loopback2)#exit P2(config)#interface te_tunnel2 P2(config-if-te_tunnel2)#ip unnumbered loopback2 P2(config-if-te_tunnel2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.168.168.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng forwarding-adjacency P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng forwarding-adjacency holdtime 1000 P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.1.0) ZTE Proprietary and Confidential .255.0 0.1.0.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#tunnel te_tunnel 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.255 area 0 2-150 SJ-20140731105308-012|2014-10-20 (R1.255.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.0 0.0.0.1 255.0.1 P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.1.255 area 0 P1(config-ospf-1)#network 1.1.1.1.1 P2(config-ospf-1)#network 192.255.

1.0. type explicit identifier: 2 (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: no path options protected Config Parameters: Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0x0 Resv-Style: SE Metric Type: IGP (default) Upper Limit: 4294967295 Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled BFD: disabled Auto-bw: disabled 2-151 SJ-20140731105308-012|2014-10-20 (R1.1.1 0. The execution result is displayed as follows: P1(config)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 2.168.1.1 P2(config-mpls-te-expl-path-id-2)#exit P2(config-mpls-te)#tunnel te_tunnel 2 P2(config-mpls-te-tunnel-te_tunnel2)#tunnel destination ipv4 1.1.0) ZTE Proprietary and Confidential .1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit P2(config-mpls-te)#explicit-path identifier 2 P2(config-mpls-te-expl-path-id-2)#next-address strict 192.1 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.1.1.0.1.Chapter 2 MPLS TE Configuration P2(config-ospf-1)#network 2.1 P2(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 2 P2(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng forwarding-adjacency P2(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng forwarding-adjacency holdtime 1000 P2(config-mpls-te-tunnel-te_tunnel2)#exit P2(config-mpls-te)#exit Configuration Verification Run the show mpls traffic-eng tunnels te_tunnel 1 command on P1 to check whether the tunnel has been established.1.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1.

Tun_Id 1. 3 RSVP Signalling Info : Src 1.14 TE Tunnel AR Configuration 2. and the higher-speed forwarding can be achieved.1.errcode:1. the amount of system resources spent in forwarding packets can be greatly reduced. 39 seconds Last lsp error information: Path error: admission fail(lspid:8.1 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kbits.1. peak rate= 0 kbits History: Tunnel: Time since created: 0 days. Tun_Instance 9 RSVP Path Info: Explicit Route: 192.1. during the forwarding of packets. 5 minutes.1.1.errvalue:3).1.1.errvalue:4). burst= 1000 bytes.1 TE Tunnel AR Introduction A routing protocol stores the path information related to the forwarding of packets through a database. 2-152 SJ-20140731105308-012|2014-10-20 (R1.1.1.1.1. a great amount of system resources are spent in searching for the corresponding information in the database.errvalue:4) P1(config)#show mpls traffic-eng forwarding-adjacency MPLS TE forwarding-adjacency enabled Destination 2. burst= 1000 bytes. When the network topology is very complicated. 56 minutes.errcode:1.1 Up 2.0) ZTE Proprietary and Confidential .1.168.1 192.errcode:1.ZXR10 M6000-S Configuration Guide (MPLS) Bidirect: disabled AutoRoute: disabled Forwarding adjacency: holdtime 1000s InLabel: OutLabel: gei-0/1/0/2. If the TE tunnel function is fully utilized by using a TE tunnel as a forwarding entry in the routing table. 0 hours.1 1000s 2. 0 hours.1. 22 seconds Prior LSP: path option 1 Current LSP: Uptime:0 days.2 2.1. peak rate= 0 kbits RSVP Resv Info: Record Route: NULL Fspec: ave rate= 0 kbits. Dst 2. Path error: admission fail(lspid:6.168.1. Tunnel config changed(lspid:7.1 has 1 tunnels TunnelName Destination State Nexthop Holdtime tunnel_1 2.14.1.

range: 1–4294967295. 2. and the CR-LSP can be used. Therefore. Both of the two features use the principle of involving TE tunnel interfaces in the SPF calculation of IGP. run the following commands: Command Function ZXR10#show mpls traffic-eng tunnels Displays detailed information about tunnels. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Enables AR for the TE tunnel.2 Configuring TE Tunnel AR This procedure describes how to configure TE tunnel AR. relative <value2>: sets the relative metric value of AR. and the CR-LSP cannot be used.14.0) ZTE Proprietary and Confidential . An FA-enabled router advertises the CR-LSP as a common LSA/LSP to its upstream router while using the CR-LSP as an egress interface. ZXR10#show mpls traffic-eng autoroute Displays detailed information about AR. range: 1–4294967295. but the router does not advertise the CR-LSP to the upstream router. range: -10 to +10. perform the following steps: Step Command Function 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters tunnel interface <tunnel-number> configuration mode. Therefore. l l An AR-enabled router uses CR-LSP as an egress interface. {<value0>| absolute <value1>| relative <value2>} <value0>: sets the default metric type of AR. Steps 1. To display the configuration results. default: absolute. – End of Steps – 2-153 SJ-20140731105308-012|2014-10-20 (R1. To configure TE tunnel AR. 2 number)#tunnel mpls traffic-eng autoroute announce 3 ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Specifies the metric value for number)#tunnel mpls traffic-eng autoroute metric the AR.Chapter 2 MPLS TE Configuration Auto route advertisement has AR and FR features. other routers do not store the CR-LSP information in their link databases. other routers store the CR-LSP information into their link databases. 2. absolute <value1>: sets the absolute metric value of AR.

1 255.255 area 0 P1(config-ospf-1)#network 1.0 0.1.0.1 255.168. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192.0. Enable TE on the directly-connected interfaces of P1 and P2.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1. 4. It is required to establish a common RSVP tunnel from P1 to P2 by using the OSPF TE-based strict routing mode and enable AR on the tunnel. and enable OSPF TE.3 TE Tunnel AR Configuration Example Scenario Description Figure 2-27 shows a sample network topology.1. 2.14.ZXR10 M6000-S Configuration Guide (MPLS) 2.0.255. Enable AR on the tunnel.0 area 0 2-154 SJ-20140731105308-012|2014-10-20 (R1.0.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1. Establish an OSPF neighbor relationship between the directly-connected interfaces of P1 and P2.255.1.1. Figure 2-27 AR Configuration Example Configuration Flow 1. 3.255. Establish a tunnel (Tunnel1) on P1.1.168.1.0) ZTE Proprietary and Confidential .1.255.1.1 0.1 P1(config-ospf-1)#network 192.

2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#tunnel te_tunnel 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1.0.Chapter 2 MPLS TE Configuration P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.0.1.1.0.1.1.1.1.255.1.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng autoroute announce P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng autoroute metric absolute 12 P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.1 P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.1.0) ZTE Proprietary and Confidential .255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.168.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.0 0.168.1.1.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1 P2(config-ospf-1)#network 192.1.255.168.255 area 0 P2(config-ospf-1)#network 2.1 0.1.1.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit 2-155 SJ-20140731105308-012|2014-10-20 (R1.2 255.255.1 255.1.0.255.

1 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.0) ZTE Proprietary and Confidential .1.0. The execution result is displayed as follows: P1(config)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 2.0.0 InLabel: OutLabel: gei-0/1/0/2. 3 RSVP Signalling Info : 2-156 SJ-20140731105308-012|2014-10-20 (R1.1. type explicit identifier: 1 (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: no path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Upper Limit: 4294967295 Hop Prior: disabled Upper Limit: - Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy class: default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 Affinity: 0x0/0x0 EBS: 0 byte AutoRoute: enabledAutoRouteMetricType: absoluteAutoRouteMetric: 12 AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.ZXR10 M6000-S Configuration Guide (MPLS) Configuration Verification Run the show mpls traffic-eng tunnels te_tunnel 1 command on P1 to check whether the tunnel has been established.

1. perform the following steps: 2-157 SJ-20140731105308-012|2014-10-20 (R1.1Absolute 12 2.1. To configure TE metric. The path for the MPLS TE tunnel can be indirectly specified by changing the metric values of associated interfaces.1. 56 seconds Last lsp error information: None log record.1. Steps 1. Tun_Id 1.1.1 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kbits.1. 2.1. peak rate= 0 kbits RSVP Resv Info: Record Route: NULL Fspec: ave rate= 0 kbits. burst= 1000 bytes.1 192. Dst 2.1.168.168.0) ZTE Proprietary and Confidential . P1(config)#show mpls traffic-eng autoroute MPLS TE autorouting enabled Destination 2.15 TE Metric Configuration 2.1.1.1.15.1 Up 2. 19 minutes. burst= 1000 bytes.1. 0 hours.Chapter 2 MPLS TE Configuration Src 1.1. during the CSPF-based path selection process.1 TE Metric Introduction After TE metric is enabled on an MPLS TE tunnel and the TE metric values are specified for associated interfaces.1. 0 hours. the path whose total TE metric values of all associated egress interfaces are the smallest is preferentially selected.1.15. 9 minutes. peak rate= 0 kbits History: Tunnel: Time since created: 0 days. which enables the path selection process to be manageable. 4 seconds Prior LSP: path option 1 Current LSP: Uptime:0 days.1.2 2.1 has 1 tunnels TunnelName Destination State NexthopMetricType MetricValue tunnel_1 2.2 Configuring TE Metric This procedure describes how to configure TE metric. Tun_Instance 30 RSVP Path Info: Explicit Route: 192.

2. range: 1–65535. range: 1–4294967295. – End of Steps – 2. It is required to establish a common RSVP tunnel from P1 to P2 by using the OSPF TE-based strict routing mode and configure TE metric on the tunnel and corresponding interfaces. 4 ZXR10(config-mpls-te-if-interface-name)#adminis Specifies the TE metric for the trative-weight<value> TE interface.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters tunnel interface <tunnel-number> configuration mode.3 TE Metric Configuration Example Scenario Description Figure 2-28 shows a sample network topology. ZXR10(config-mpls-te-tunnel-te_tunnel- Specifies the TE metric for the tunnel-number)#tunnel mpls traffic-eng tunnel. run the following commands: Command Function ZXR10#show mpls traffic-eng tunnels Displays detailed information about tunnels.15. To display the configuration results. Figure 2-28 TE Metric Configuration Example 2-158 SJ-20140731105308-012|2014-10-20 (R1. ZXR10#show mpls traffic-eng interface detail Displays detailed information about MPLS TE interface. 2 administrative-weight<value> 3 ZXR10(config-mpls-te)#interface <interface-name> Enters the TE interface configuration mode.0) ZTE Proprietary and Confidential .

1 P1(config-ospf-1)#network 192.1.1 0.1.255.0.1 255.255.1.255.1.168.0 0. Establish an OSPF neighbor relationship between the directly-connected interfaces of P1 and P2.168. and enable OSPF TE.1.255 area 0 P1(config-ospf-1)#network 1.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#tunnel te_tunnel 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.1. 4.0. 2. Establish a tunnel (Tunnel1) on P1.1.0. Configure TE metric on the tunnel and corresponding interfaces.1.0) ZTE Proprietary and Confidential .1.168.1.1 P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#administrative-weight 7 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng administrative-weight 12 P1(config-mpls-te-tunnel-te_tunnel1)#exit 2-159 SJ-20140731105308-012|2014-10-20 (R1.1.1.0.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1. 3.255.1 255. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192. Enable TE on the directly-connected interfaces of P1 and P2.Chapter 2 MPLS TE Configuration Configuration Flow 1.

0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1.1 0.1.168.0.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.0 0.168.1 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.1.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.255 area 0 P2(config-ospf-1)#network 2.1 255.0.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit Configuration Verification Run the show mpls traffic-eng tunnels te_tunnel 1 command on P1 to check whether the tunnel has been established.1.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.1. The execution result is displayed as follows: P1(config)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 2.0.255.1.255.1.1 P2(config-ospf-1)#network 192.1.0) ZTE Proprietary and Confidential .2 255.1.1.1.0.1. type explicit identifier: 1 (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: no path options protected Config Parameters: Resv-Style: SE Metric Type: TE Upper Limit: 12 Hop Prior: disabled Upper Limit: - Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled 2-160 SJ-20140731105308-012|2014-10-20 (R1.255.255.

1. burst= 1000 bytes.2 2. peak rate= 0 kbits RSVP Resv Info: Record Route: NULL Fspec: ave rate= 0 kbits. Dst 2.1. 9 minutes.1.1. Tun_Id 1.Chapter 2 MPLS TE Configuration Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy class: default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 Affinity: 0x0/0x0 EBS: 0 byte AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0. 56 seconds Last lsp error information: None log record.0. P1(config)#show mpls traffic-eng interface detail 2-161 SJ-20140731105308-012|2014-10-20 (R1.1.1.1. 3 RSVP Signalling Info : Src 1. 4 seconds Prior LSP: path option 1 Current LSP: Uptime:0 days.0) ZTE Proprietary and Confidential .1.0 InLabel: OutLabel: gei-0/1/0/2.1 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kbits.1.1 192. 19 minutes.168. burst= 1000 bytes. 0 hours.1.168. 0 hours. peak rate= 0 kbits History: Tunnel: Time since created: 0 days.0. Tun_Instance 30 RSVP Path Info: Explicit Route: 192.

OSPF or IS-IS floods the SRLG member information. all associated sublinks also fail to operate. the application of SRLG in MPLS TE prevents the backup path and a protected link being selected to the same SRLG. In an MPLS TE network. all of the optical links belonging to the optical fiber or pipe may also fail. and the information is used for the CSPF-based calculation. During the selection of a backup path. which provides better protection. For example. you should avoid the case that the backup path is in the same SRLG with the protected link. and other information to other network devices. TE SRLG is generally used for MPLS TE-FRR services. TE information (such as the available bandwidth) of links.1 TE SRLG Introduction If one of the links in an SRLG becomes faulty. If an optical fiber is faulty. 2-162 SJ-20140731105308-012|2014-10-20 (R1. The SRLG information can be used for the CSPF-based calculation. If the dynamic generation mode is used.16 TE SRLG Configuration 2. and can be used to optimize the selection of backup paths. If an optical fiber or pipe is faulty.0) ZTE Proprietary and Confidential . If the manual generation mode is generated.ZXR10 M6000-S Configuration Guide (MPLS) gei-0/1/0/2: State: ENABLE Traffic-eng metric: 7 Authentication: disabled Key: <encrypted> Type: md5 Challenge: disabled Challenge-imp: Not implemented(simulated) Window size: 32 BFD: disabled Backup path: None SRLGs: None Intf Fast-Hello: DISABLE Fast-Hello interval: 10000 Fast-Hello miss: 4 Convergence-Ratio: 100(%) 2. other links may also fail to operate.16. some of the interfaces of network devices can be configured to belong to the same SRLG. a backup path that is not in the same SRLG with the protected link can be automatically calculated and generated. SRLG is widely used during the MPLS TE deployment.

2 Configuring TE SRLG This procedure describes how to configure TE SRLG. options: 2 ZXR10(config-mpls-te)#interface <interface-name> l force l preferred Enters the TE interface configuration mode.0) ZTE Proprietary and Confidential . run the following commands: Command Function ZXR10#show mpls traffic-eng auto-backup parameter Displays the configurations of the auto-backup tunnel. and configure the SRLG value on the egress interface of the primary tunnel. ZXR10#show mpls traffic-eng interface detail Displays the SRLG configurations of MPLS TE interfaces. A maximum of three SRLG values can be set on an interface. Steps 1. To configure MPLS TE SRLG.16. perform the following steps: Step Command Function 1 ZXR10(config-mpls-te)#srlg exclude{auto-tunnel-bac Specifies the exclusion kup | facility-frr | hot-standby | one-to-one-frr}{force | mode of SRLG in global preferred} configuration mode. – End of Steps – 2.Chapter 2 MPLS TE Configuration 2. 2-163 SJ-20140731105308-012|2014-10-20 (R1. 2. configure the auto backup mode. To display the configuration results.16. It is also required to configure SRLG values on the egress interfaces of other links (the force mode is used in this example). range: 0–4294967295. It is required to establish a common RSVP tunnel from P1 to P2 by using the OSPF TE-based strict routing mode. 3 ZXR10(config-mpls-te-if-interface-name)#srlg<v Specifies the SRLG value alue> for the TE interface.3 TE SRLG Configuration Example Scenario Description Figure 2-29 shows a sample network topology.

168.0 0.1. 3.0.1.0.0 P1(config-if-gei-0/1/0/4)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.1.255.1.255.0. 2. Configure an SRLG value on the egress interface of the primary tunnel. and enable OSPF TE. Establish an OSPF neighbor relationship between the directly-connected interfaces of P1 and P2.1 255.1 255.255. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192.1.0.0 0.255.1.255.1 255.1.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface gei-0/1/0/3 P1(config-if-gei-0/1/0/3)#no shutdown P1(config-if-gei-0/1/0/3)#ip address 31.1.255 area 0 2-164 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential . 5.255 area 0 P1(config-ospf-1)#network 31.255.1 P1(config-ospf-1)#network 192. Establish a tunnel (Tunnel1) on P1.0.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.1.1. Configure SRLG values on the egress interfaces of other links. 4. and configure the auto backup mode.1.1 255. Enable TE on the directly-connected interfaces of P1 and P2.0 P1(config-if-gei-0/1/0/3)#exit P1(config)#interface gei-0/1/0/4 P1(config-if-gei-0/1/0/4)#no shutdown P1(config-if-gei-0/1/0/4)#ip address 32.168.255.255.1.0.255 area 0 P1(config-ospf-1)#network 32.1.ZXR10 M6000-S Configuration Guide (MPLS) Figure 2-29 TE SRLG Configuration Example Configuration Flow 1.0 0.1.

2 255.0.1.0.255.1.1.1.1 P1(config-mpls-te)#srlg exclude auto-tunnel-backup force P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#auto-tunnel backup P1(config-mpls-te-if-gei-0/1/0/2)#srlg 1 P1(config-mpls-te-if-gei-0/1/0/2)#srlg 2 P1(config-mpls-te-if-gei-0/1/0/2)#srlg 3 /*An interface can have a maximum of three SRLG values*/ P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#interface gei-0/1/0/3 P1(config-mpls-te-if-gei-0/1/0/3)#srlg 1 P1(config-mpls-te-if-gei-0/1/0/3)#exit P1(config-mpls-te)#interface gei-0/1/0/4 P1(config-mpls-te-if-gei-0/1/0/4)#srlg 4 P1(config-mpls-te-if-gei-0/1/0/4)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#tunnel te_tunnel 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng fast-reroute facility P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.1.Chapter 2 MPLS TE Configuration P1(config-ospf-1)#network 1.255.255.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface gei-0/1/0/3 P2(config-if-gei-0/1/0/3)#no shutdown P2(config-if-gei-0/1/0/3)#ip address 31.1 0.0 P2(config-if-gei-0/1/0/3)#exit P2(config)#interface gei-0/1/0/4 2-165 SJ-20140731105308-012|2014-10-20 (R1.255.168.1.1.168.0) ZTE Proprietary and Confidential .2 255.1.1.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.

0.1.1.1 P2(config-ospf-1)#network 192.1.1.1 0.1.1.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.1.1 255.1.0.168.255.255.0.ZXR10 M6000-S Configuration Guide (MPLS) P2(config-if-gei-0/1/0/4)#no shutdown P2(config-if-gei-0/1/0/4)#ip address 32.1.0.255 area 0 P2(config-ospf-1)#network 2.0 0.0 0.1.1.255.1.0 P2(config-if-gei-0/1/0/4)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.255 area 0 P2(config-ospf-1)#network 32.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit P2(config-mpls-te)#interface gei-0/1/0/3 P2(config-mpls-te-if-gei-0/1/0/3)#exit P2(config-mpls-te)#interface gei-0/1/0/4 P2(config-mpls-te-if-gei-0/1/0/4)#exit Configuration Verification Run the show mpls traffic-eng auto-backup parameter command on P1 to check whether the tunnel has been established. The execution result is displayed as follows: P1(config)#show mpls traffic-eng auto-backup parameter MPLS-TE: Enabled The setting of auto-tunnel minID is: 32001 The setting of auto-tunnel maxID is: 33000 Auto-tunnel minID in used is: 33000 Auto-tunnel maxID in used is: 33000 Auto-tunnel backup srlg exclude: Force P1(config)#show mpls traffic-eng interface detail gei-0/1/0/2: State: ENABLE Traffic-eng metric: 0 2-166 SJ-20140731105308-012|2014-10-20 (R1.1.255.2 255.0.255 area 0 P2(config-ospf-1)#network 31.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.0) ZTE Proprietary and Confidential .0.1.0 0.0.1.0.

0) ZTE Proprietary and Confidential .Chapter 2 MPLS TE Configuration Authentication: disabled Key: <encrypted> Type: md5 Challenge: disabled Challenge-imp: Not implemented(simulated) Window size: 32 BFD: disabled Backup path: auto-tunnel backup SRLGs: 1 2 3 Intf Fast-Hello: DISABLE Fast-Hello interval: 10000 Fast-Hello miss: 4 gei-0/1/0/3: State: ENABLE Traffic-eng metric: 0 Authentication: disabled Key: <encrypted> Type: md5 Challenge: disabled Challenge-imp: Not implemented(simulated) Window size: 32 BFD: disabled Backup path: None SRLGs: 1 Intf Fast-Hello: DISABLE Fast-Hello interval: 10000 Fast-Hello miss: 4 gei-0/1/0/4: State: ENABLE Traffic-eng metric: 0 Authentication: disabled Key: <encrypted> Type: md5 Challenge: disabled Challenge-imp: Not implemented(simulated) Window size: 32 BFD: disabled Backup path: None SRLGs: 4 Intf Fast-Hello: DISABLE 2-167 SJ-20140731105308-012|2014-10-20 (R1.

2 Configuring TE Tunnel Re-optimization This procedure describes how to configure TE tunnel re-optimization. It also uses the MBB technology to ensure that traffic is not lost during the path selection process. the re-optimization technology can be used to re-select a path for the tunnel that has been established and is in up status.17. 2.1. Configure re-optimization for a point-to-point TE tunnel. When link conditions are improved.17. range: 30–604800.1 Introduction to TE Tunnel Reoptimization The optimal path may be not selected during the initial setup stage of a TE tunnel due to some reasons. This technology not only helps in selecting the optimal path for a TE tunnel.1 - gei-0/1/0/4 up/up P1(config)#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel LspIDIn-label Out intf/labelFRR intf/label Status Tunnel1545 Tun hd gei-0/1/0/2:3Tu33000:3 ready LSP midpoint frr information: LSP identifierIn-label Out intf/label FRR intf/label Status 2.1. but also helps in switching back the tunnel to the reasonable primary path after a protection switchover.1 -gei-0/1/0/2 up/up tunnel_33000 2. Step Command Function 1 ZXR10(config-mpls-te)#reoptimize events link-up Enables re-optimization.17 TE Tunnel Reoptimization Configuration 2. Steps 1.ZXR10 M6000-S Configuration Guide (MPLS) Fast-Hello interval: 10000 Fast-Hello miss: 4 P1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAMEDESTINATION UP IFDOWN IFSTATE/PROT tunnel_12.0) ZTE Proprietary and Confidential . 2 ZXR10(config-mpls-te)#reoptimize timers Sets the re-optimization time frequency<timer> interval (in seconds).1.1. 2-168 SJ-20140731105308-012|2014-10-20 (R1.

all: all tunnels. This is an one-off triggering command. This command is an one-off triggering command. configures id>| all } manual re-optimization for one or all point-to-multipoint tunnels. unit: seconds. 4 5 ZXR10(config-mpls-te)#tunnel te_tunnel<tunnel-numb Enters point-to-point tunnel er> configuration mode. ZXR10(config-mpls-te-tunnel-te_tunnel- Enables tunnel tunnel-number)#tunnel mpls traffic-eng auto-reoptimize re-optimization.0) ZTE Proprietary and Confidential . Configure re-optimization for a point-to-multipoint TE tunnel. 2-169 SJ-20140731105308-012|2014-10-20 (R1. 2. all: Manually re-optimizes all point-to-multipoint tunnels. ZXR10(config-mpls-te)#reoptimize mtunnel {< mtunnel In global mode. 3 4 5 ZXR10(config-mpls-te)#mtunnel mte_tunnel<tunnel- Enters point-to-multipoint number> tunnel configuration mode.Chapter 2 MPLS TE Configuration Step Command Function 3 ZXR10(config-mpls-te)#reoptimize tunnel{<tunnel-i Enables re-optimization for a d>|all} tunnel or all tunnels. hsb-lsp: Enables the periodical re-optimization function on the hot-standby LSP. Step Command Function 1 ZXR10(config-mpls-te)#reoptimize events link-up Configures re-optimization upon link up events. ZXR10(config-mpls-te-mtunnel-mte_tunnel- Enables tunnel tunnel-number)#mtunnel mpls traffic-eng reoptimize re-optimization. { hsb-lsp|main-lsp} <tunnel-id>: ID of the specified tunnel. 3. 2 ZXR10(config-mpls-te)#reoptimize timers Sets the re-optimization frequency<timer> period. main-lsp: Enables the periodical re-optimization function on the active LSP. range: 30–604800. <tunnel-id>: Manually re-optimizes a point-to-multipoint tunnel. Verify the configurations.

ZXR10#show mpls traffic-eng mtunnels summary Checks the information about re-optimization for point-to-multipoint TE tunnels.ZXR10 M6000-S Configuration Guide (MPLS) Command Function ZXR10#show mpls traffic-eng tunnels summary Checks the information about re-optimization for point-to-point TE tunnels. Figure 2-30 TE Tunnel Re-optimization Configuration Example Configuration Flow 1.255.3 TE Tunnel Reoptimization Configuration Example Scenario Description Figure 2-30 shows a sample network topology. a manual re-optimization should be performed. Configure three path-options (1. and 3). 4. and enable OSPF TE. Run the no shutdown command on the two links corresponding to path-option 1 and path-option 2. Establish OSPF neighbor relationships on the three links between P1 and P2. – End of Steps – 2.168. 2. Run the shutdown command on the two links corresponding to path-option 1 and path-option 2. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192.17.1. After two of the three links are broken. 3. and run the no shutdown command on the tunnel interface to establish a tunnel. It is required to establish a tunnel from P1 to P2. 2.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface gei-0/1/0/3 2-170 SJ-20140731105308-012|2014-10-20 (R1.1 255.0) ZTE Proprietary and Confidential . and perform a manual optimization. corresponding to the three links. and configure three links between P1 and P2.255.

1.0.0.1.1 255.0.1.0 P1(config-if-gei-0/1/0/3)#exit P1(config)#interface gei-0/1/0/4 P1(config-if-gei-0/1/0/4)#no shutdown P1(config-if-gei-0/1/0/4)#ip address 32.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#explicit-path identifier 2 P1(config-mpls-te-expl-path-id-2)#next-address strict 31.0 0.1 0.1.168.255 area 0 P1(config-ospf-1)#network 32.1.1.1.1.0 0.255.255.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.1.0.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.255 area 0 P1(config-ospf-1)#network 31.Chapter 2 MPLS TE Configuration P1(config-if-gei-0/1/0/3)#no shutdown P1(config-if-gei-0/1/0/3)#ip address 31.255 area 0 P1(config-ospf-1)#network 1.255.1.0.1.2 P1(config-mpls-te-expl-path-id-2)#exit P1(config-mpls-te)#explicit-path identifier 3 2-171 SJ-20140731105308-012|2014-10-20 (R1.1.0.1.1.168.1.1 P1(config-ospf-1)#network 192.1 255.1.255.255.1 255.0 0.1.1.0.255.0 P1(config-if-gei-0/1/0/4)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.0.1 P1(config-mpls-te)#reoptimize events link-up P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#interface gei-0/1/0/3 P1(config-mpls-te-if-gei-0/1/0/3)#exit P1(config-mpls-te)#interface gei-0/1/0/4 P1(config-mpls-te-if-gei-0/1/0/4)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.0) ZTE Proprietary and Confidential .1.1.

255 area 0 P2(config-ospf-1)#network 31.0.0.1.1.2 255.2 255.0 P2(config-if-gei-0/1/0/3)#exit P2(config)#interface gei-0/1/0/4 P2(config-if-gei-0/1/0/4)#no shutdown P2(config-if-gei-0/1/0/4)#ip address 32.255.1.0 P2(config-if-gei-0/1/0/4)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.255 area 0 P2(config-ospf-1)#network 32.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-mpls-te-expl-path-id-3)#next-address strict 32.255.255.255.255.1.1.1 255.1.255.0.1.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface gei-0/1/0/3 P2(config-if-gei-0/1/0/3)#no shutdown P2(config-if-gei-0/1/0/3)#ip address 31.255 area 0 P2(config-ospf-1)#network 2.1.0) ZTE Proprietary and Confidential .1.1.255.0.1.1 0.255.0.1 P2(config-mpls-te)#interface gei-0/1/0/2 2-172 SJ-20140731105308-012|2014-10-20 (R1.0 0.1.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 2 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 2 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 3 explicit-path identifier 3 P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.1.168.1.0.2 P1(config-mpls-te-expl-path-id-3)#exit P1(config-mpls-te)#tunnel te_tunnel 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1.0 0.1.168.1.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.1.1.1.2 255.1.1 P2(config-ospf-1)#network 192.0 0.1.0.0.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.

gei-0/1/0/4 up/up Run the no shutdown command on the gei-0/1/0/2 and gei-0/1/0/3 interfaces of P1. P1(config-mpls-te)#reoptimize tunnel 1 Run the show mpls traffic-eng tunnels brief command on P1 to check whether the link between the gei-0/1/0/2 interfaces of P1 and P2 is selected as the tunnel.1.1. The execution result is displayed as follows: P1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAMEDESTINATION UP IFDOWN IF STATE/PROT tunnel_12.1 -gei-0/1/0/2 up/up 2.1 . the tunnel cannot be established even if the TE LSP can be established along the standby path.Chapter 2 MPLS TE Configuration P2(config-mpls-te-if-gei-0/1/0/2)#exit P2(config-mpls-te)#interface gei-0/1/0/3 P2(config-mpls-te-if-gei-0/1/0/3)#exit P2(config-mpls-te)#interface gei-0/1/0/4 P2(config-mpls-te-if-gei-0/1/0/4)#exit Configuration Verification Run the shutdown command on the gei-0/1/0/2 and gei-0/1/0/3 interfaces of P1. and run the show mpls traffic-eng tunnels brief command to check whether the link between the gei-0/1/0/4 interfaces of P1 and P2 is selected as the tunnel. P1(config)#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAMEDESTINATION UP IFDOWN IF STATE/PROT tunnel_12. If tunnel establishment with only TE HOTSTANDBY is enabled.18. and start a manual re-optimization in the TE configuration mode of P1. Without this function.1 Tunnel Establishment With Only TE HOTSTANDBY When the ZXR10 M6000-S is being deployed. TE HOTSTANDBY protection is also deployed. TE LSP establishment is attempted along the active path and the standby path in sequence. if a TE LSP cannot be established along the active path of a tunnel.18 TE HOTSTANDBY Configuration 2. which means that an active path and a standby path are configured. If a tunnel can be 2-173 SJ-20140731105308-012|2014-10-20 (R1.1.1.0) ZTE Proprietary and Confidential .

ZXR10 M6000-S Configuration Guide (MPLS) established along the hot standby path. 2-174 SJ-20140731105308-012|2014-10-20 (R1.18. – End of Steps – 2. and then the tunnel mpls traffic-eng reference hot-standby command is configured. Configure the TE HOTSTANDBY function of a TE tunnel. Step Command Function 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters Tunnel interface <tunnel-number> configuration mode. the standby path is restored and the tunnel can get UP properly and service messages can be properly forwarded.3 TE HOTSTANDBY Function Configuration Instance Configuration Description In Figure 2-31. a TE HOTSTANDBY command is configured. and another path is established and used to protect the active path of the tunnel.0) ZTE Proprietary and Confidential . 2. the tunnel continuously attempts switching back and finally switches back to the active path once the active path is restored. if both the active and standby paths of the TE HSB are down. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Enables the TE number)#tunnel mpls traffic-eng reference hot-standby HOTSTANDBY function 2 of the tunnel. In addition.18.2 Configuring the TE HOTSTANDBY Function This procedure describes how to configure the TE HOTSTANDBY function of a TE tunnel. a common RSVP tunnel from P1 to P2 is established in strict routing mode through OSPF TE. With this configuration. 2. Command Function ZXR10#show mpls traffic-eng tunnels Displays tunnel information. Steps 1. Verify the configurations.

255.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1. Configure a TE HOTSTANDBY command.255. 3.255. the standby path is restored and the tunnel can get UP properly and service messages can be properly forwarded.Chapter 2 MPLS TE Configuration Figure 2-31 Topological Graph of the Instance for Tunnel Establishment with Only TE HOTSTANDBY Configuration Flow 1. if both the active and standby paths of the TE HSB are down.255. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192.1. 2.1.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface gei-0/2/0/1 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 190.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1. Establish Tunnel1 and explicit path 1 on P1.1. Establish OSPF neighbors on the directly-connected interfaces of P1 and P2.1.1 255. 5. Enable the TE function on the directly-connected interfaces of P1 and P2.168.255.168.0) ZTE Proprietary and Confidential . and enable the TE function on the OSPF neighbors.255.1 255. and then configure the tunnel mpls traffi c-eng reference hot-standby command.1 255.1 2-175 SJ-20140731105308-012|2014-10-20 (R1. Configure explicit path 2 on P1 and configure HSB protection for tunnel1. With this configuration. 4. so that path 2 can be used to protect path 1.1.1.

1.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-ospf-1)#network 192.1 255.168.1 P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#interface gei-0/2/0/1 P1(config-mpls-te-if-gei-0/1/0/1)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.168.1 P2(config-ospf-1)#network 192.168.1.255.1.1.0.1.255.0 0.1.168.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng hot-standby protect 1 explicit-path identifier 2 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng reference hot-standby P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.0.0.0) ZTE Proprietary and Confidential .2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#explicit-path identifier 2 P1(config-mpls-te-expl-path-id-2)#next-address strict 190.1.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.255.168.0.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface gei-0/2/0/1 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 190.1.1.255 area 0 P1(config-ospf-1)#network 190.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.1.0.0 0.1.2 255.168.1.2 255.1.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.0 0.1 0.2 P1(config-mpls-te-expl-path-id-2)#exit P1(config-mpls-te)#tunnel te_tunnel 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1.1.1.0.0.1.0.255.255 area 0 P1(config-ospf-1)#network 1.255 area 0 2-176 SJ-20140731105308-012|2014-10-20 (R1.255.255.168.

1 0.0.1.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit P2(config-mpls-te)#interface gei-0/2/0/1 P2(config-mpls-te-if-gei-0/2/0/1)#exit Configuration Verification Run the show mpls traffic-eng tunnels te_tunnel 1 hot-standby command to check the information about the tunnel on P1.1 .2 Record Route: NULL Tspec: ave rate= 0 kb.1.168. 3 RSVP Signalling Info : Src 1.1.Chapter 2 MPLS TE Configuration P2(config-ospf-1)#network 190. 192.1.1 0 0.0.168.0.1.1.1.1.1 Exclude Route: 192.0.1 Status: Admin: up Oper: up Path: valid Signalling: connected Fast Reroute Protection: disabled Hot-standby Protection: ready Config Parameters: BFD: disabled Hot-standby-lsp Fast-reroute: enabled Hot-standby-lsp Auto-reoptimize: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0. 190.1.1 .1. Dst 2.1. burst= 1000 byte.0) ZTE Proprietary and Confidential . peak rate= 0 kb P1(config)# show mpls traffic-eng tunnels te_tunnel 1 2-177 SJ-20140731105308-012|2014-10-20 (R1.1.1.1.168.1.2 1.0 InLabel: OutLabel: gei-0/1/0/2.168.168. peak rate= 0 kb RSVP Resv Info: Record Route: 2.0. burst= 1000 byte.255 area 0 P2(config-ospf-1)#network 2.1 (3) Fspec: ave rate= 0 kb.168.0.1.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1.1. Tun-Instance 278 RSVP Path Info: Explicit Route: 190. Tun-ID 1.1.1. The execution result is displayed as follows: P1(config)#show mpls traffic-eng tunnels te_tunnel 1 hot-standby Name: tunnel_1 (Tunnel3) Destination: 2.1(3) 190.1.

Tun-ID 1.1.1. 3 RSVP Signalling Info : Src 1. Tun-Instance 278 2-178 SJ-20140731105308-012|2014-10-20 (R1. type explicit identifier :2 (Basis for Setup) Actual Bandwidth: 0 kbps Hot-standby protection: protect option: 1.1.0 InLabel: OutLabel: gei-0/1/0/2.1 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.1 Dst 2.1.1.0.0) ZTE Proprietary and Confidential .0. type explicit identifier :1(Basis for Protect) Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: enabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy class: default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: enabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.ZXR10 M6000-S Configuration Guide (MPLS) Name: tunnel_1 (Tunnel3) Destination: 2.1.1.

168.2 Configuring the WTR Function of a TE Tunnel This procedure describes how to configure the WTR function of a TE tunnel. Steps 1. During this period. 192.1.Chapter 2 MPLS TE Configuration RSVP Path Info: Explicit Route: 190. the device detecting the link or node fault can switch over the data traffic from the faulty active path to the standby path fast to reduce data loss. burst= 1000 byte. 190. When a fault occurs. 31 second Prior LSP: path option 1 Current LSP: Uptime:0 day. This switchback can be performed immediately or after the Wait To Restore (WTR) time.19 WTR Configuration for a TE Tunnel 2. 16 second Last LSP Error Information 2. WTR allows data traffic to wait for a period before being switched back to the active path.0) ZTE Proprietary and Confidential .1. peak rate= 0 kb RSVP Resv Info: Record Route: 2. 1 hour. data traffic must be switched back to the active path. burst= 1000 byte. 0 hour. Configure the TE WRT time.1 (3) Fspec: ave rate= 0 kb. The MPLS FRR previously establishes a local backup path to protect the LSP being affected by link or node failures.1.168. 57 minute. the Fast Reroute (FRR) technology acts an important role in the MPLS network. The forwarding information base of each downstream node gets ready successively and then the head node restores data traffic to the active path. after the active path is restored.1(3) 190.1 Introduction to TE Tunnel WTR To ensure the reliability of the MPLS network.19.1.2 Record Route: NULL Tspec: ave rate= 0 kb. 8 minute.2 1.1.1 .19.1.168.168. Because FRR protection is temporary.1. This technology uses the capability of the MPLS Traffic Engineering (TE) and provides a fast switchover protection capability for the LSP.1 Exclude Route: 192.1. 2-179 SJ-20140731105308-012|2014-10-20 (R1.168. peak rate= 0 kb History: Tunnel: Time Since Created: 0 day.1. 2.1 .

Verify the configurations. Configure the WTR period on P1. <timer>: switchback and deletion delay duration. and Tunnel2 passes through P1 and P3. traffic is switched back to the active tunnel after a WTR period. Tunnel1 passes through P1. and they form an FRR relation. 2.ZXR10 M6000-S Configuration Guide (MPLS) Command Function ZXR10(config-mpls-te)#reoptimize timers delay Sets the WTR period before installation-delay-time <timer> switchback in global mode. If the fault on the active tunnel is cleared.3 TE Tunnel WTR Configuration Instance Configuration Description In Figure 2-32. – End of Steps – 2. the backup tunnel implements protection and traffic is switched over to the backup tunnel. unit: seconds. and P3. Tunnel2 is the backup tunnel. Command Function ZXR10#show mpls traffic-eng tunnels summary Checks the WRT duration configured by a user.0) ZTE Proprietary and Confidential . Figure 2-32 TE Tunnel WTR Configuration Instance 2-180 SJ-20140731105308-012|2014-10-20 (R1. two tunnels are established from P1 to P3. Tunnel1 is the active tunnel. When any fault occurs on the active tunnel.19. P2.

1. 5. Enable the TE function on all interfaces used on P1.1.Chapter 2 MPLS TE Configuration Configuration Flow 1. and enable the FRR facility function on the active tunnel.0.255.0.1.0. and configure a backup tunnel on gei-0/2/1/1 of P1.0 P1(config-if-gei-0/2/1/3)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1. and P3.1. Configure the WTR period on P1. and P3. 6. Establish two strict paths.255.255.0.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#interface te_tunnel2 P1(config-if-te_tunnel2)#ip unnumbered loopback1 P1(config-if-te_tunnel2)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.0 area 0 P1(config-ospf-1)#network 74.1.1.255 area 0 P1(config-ospf-1)#network 60. with the next hop Tunnel1.0. P2.1 255.1.1.255 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.1. Create an active tunnel and a standby tunnel. and the other is the backup path through P1 and P3. 3.1.1.1.1.1 P1(config-ospf-1)#network 1.1. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/2/1/1 P1(config-if-gei-0/2/1/1)#no shutdown P1(config-if-gei-0/2/1/1)#ip address 74. P2. P2. With this configuration.0 0. 4.0 0.2 255.0. and enable the TE function on the OSPF neighbors.255.0) ZTE Proprietary and Confidential .1 P1(config-mpls-te)#reoptimize timers delay installation-delay-time 600 2-181 SJ-20140731105308-012|2014-10-20 (R1. 2.1.255.1 255. and P3.1. One is the active path through P1.0 P1(config-if-gei-0/2/1/1)#exit P1(config)#interface gei-0/2/1/3 P1(config-if-gei-0/2/1/3)#no shutdown P1(config-if-gei-0/2/1/3)#ip address 60. Establish OSPF neighbors for the directly-connected interfaces on P1. Configure a static route to the destination on P1.255. traffic is forwarded through Tunnel1.1 0.

1 P1(config-mpls-te-expl-path-name)#next-address strict 120.1.1 0.1 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1 explicit-path name back P1(config-mpls-te-tunnel-te_tunnel2)#exit P1(config-mpls-te)#interface gei-0/2/1/1 P1(config-mpls-te-if-gei-0/2/1/1)#backup-path te_tunnel 2 P1(config-mpls-te-if-gei-0/2/1/1)#exit P1(config-mpls-te)#exit P1(config)#ip route 172.1.0.1.255.1.1.255.1.1.0) ZTE Proprietary and Confidential .255.1.0 P2(config-if-gei-0/2/1/1)#exit P2(config)#interface gei-0/2/1/2 P2(config-if-gei-0/2/1/2)#no shutdown P2(config-if-gei-0/2/1/2)#ip address 120.255.2 255.255.1.1.1.255.2 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#interface gei-0/2/1/1 P1(config-mpls-te-if-gei-0/2/1/1)#exit P1(config-mpls-te)#interface gei-0/2/1/3 P1(config-mpls-te-if-gei-0/2/1/3)#exit P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 3.1.255.0 area 0 2-182 SJ-20140731105308-012|2014-10-20 (R1.1.1 P2(config-ospf-1)#network 2.1 255.1 255.1.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-mpls-te)#explicit-path name primary P1(config-mpls-te-expl-path-name)#next-address strict 74.255.1.1.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path name primary P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng record-route P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng fast-reroute facility P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#tunnel te_tunnel2 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel destination ipv4 3.1.20.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.1.1.1.2 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#explicit-path name back P1(config-mpls-te-expl-path-name)#next-address strict 60.255 te_tunnel1 Run the following commands on P2: P2(config)#interface gei-0/2/1/1 P2(config-if-gei-0/2/1/1)#no shutdown P2(config-if-gei-0/2/1/1)#ip address 74.1.0.1 255.0 P2(config-if-gei-0/2/1/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.

1.1.255 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.1.0.255 P3(config-if-loopback3)#exit P3(config)#router ospf 1 P3(config-ospf-1)#router-id 3.0.1.1.1.0.1 P2(config-mpls-te)#interface gei-0/2/1/1 P2(config-mpls-te-if-gei-0/2/1/1)#exit P2(config-mpls-te)#interface gei-0/2/1/2 P2(config-mpls-te-if-gei-0/2/1/2)#exit P2(config-mpls-te)#exit Run the following commands on P3: P3(config)#interface gei-0/2/1/2 P3(config-if-gei-0/2/1/2)#no shutdown P3(config-if-gei-0/2/1/2)#ip address 120.1.1.0.0.0.255 area 0 P3(config-ospf-1)#mpls traffic-eng area 0 P3(config-ospf-1)#exit P3(config)#mpls traffic-eng P3(config-mpls-te)#interface loopback3 P3(config-mpls-te-if-loopback3)#exit P3(config-mpls-te)#router-id 3.1 255.1.1.1.0 P3(config-if-gei-0/2/1/2)#exit P3(config)#interface gei-0/2/1/3 P3(config-if-gei-0/2/1/3)#no shutdown P3(config-if-gei-0/2/1/3)#ip address 60.255.1 P3(config-ospf-1)#network 3.0.1.1.1.Chapter 2 MPLS TE Configuration P2(config-ospf-1)#network 74.1.0 0.2 255.1.1.1.2 255.255.1 0.1.255.0 P3(config-if-gei-0/2/1/3)#exit P3(config)#interface loopback3 P3(config-if-loopback3)#ip address 3.0 0.0 0.1 P3(config-mpls-te)#interface gei-0/2/1/2 P3(config-mpls-te-if-gei-0/2/1/2)#exit P3(config-mpls-te)#interface gei-0/2/1/3 P3(config-mpls-te-if-gei-0/2/1/3)#exit P3(config-mpls-te)#exit Run the following commands on R2: 2-183 SJ-20140731105308-012|2014-10-20 (R1.255.0.0 0.255 area 0 P2(config-ospf-1)#network 120.1.1.255.0 area 0 P3(config-ospf-1)#network 120.255 area 0 P3(config-ospf-1)#network 60.0.255.1.0) ZTE Proprietary and Confidential .0.

ZXR10 M6000-S Configuration Guide (MPLS)
R2(config)#interface gei-0/2/1/1
R2(config-if-gei-0/2/1/1)#no shutdown
R2(config-if-gei-0/2/1/1)#ip address 172.20.1.2 255.255.255.0
R2(config-if-gei-0/2/1/1)#exit

Configuration Verification
Run the show mpls traffic-eng tunnels brief command to check the FRR establishment
information on P1 after the tunnel gets up. The execution result is displayed as follows:
P1#show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: running
Forwarding: enabled
TUNNEL NAME

DESTINATION

tunnel_1

3.1.1.1

UP IF
-

DOWN IF
gei-0/2/1/1

STATE/PROT
up/up

tunnel_2

3.1.1.1

-

gei-0/2/1/3

up/up

P1#show mpls traffic-eng fast-reroute
Tunnel head end item information
Protected Tunnel LspID In-label Out intf/label
Tunnel1

86

Tun hd

FRR intf/label Status

gei-0/2/1/1:147456 Tu2:3

ready

LSP midpoint frr information:
LSP identifier

In-label Out intf/label

FRR intf/label Status

Run the show mpls traffic-eng fast-reroute command to check the FRR status on P1 if the
active tunnel is faulty and the traffic is switched over to the standby tunnel, and FRR is in
active status. The execution result is displayed as follows:
P1#show mpls traffic-eng fast-reroute
Tunnel head end item information
Protected Tunnel LspID In-label Out intf/label
Tunnel1

86

Tun hd

FRR intf/label Status

gei-0/2/1/3:147456 Tu2:3

active

LSP midpoint frr information:
LSP identifier

In-label Out intf/label

FRR intf/label Status

After the fault on the active tunnel is cleared, FRR is still active in the WTR period, and
traffic is still forwarded through the standby tunnel. Run the show mpls traffic-eng fast-r
eroute Tunnel head end item information command to check the FRR status on P1. The
execution result is displayed as follows:
P1#show mpls traffic-eng fast-reroute
Tunnel head end item information
Protected Tunnel LspID In-label Out intf/label
Tunnel1

86

Tun hd

FRR intf/label Status

gei-0/2/1/3:147456 Tu2:3

active

LSP midpoint frr information:

2-184
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration
LSP identifier

In-label Out intf/label

FRR intf/label Status

After the WRT period reaches 600 s, the FRR status is restored to ready, and traffic is
forwarded through the active tunnel. Run the show mpls traffic-eng fast-reroute command
to check the FRR status on P1. The execution result is displayed as follows:
P1#show mpls traffic-eng fast-reroute
Tunnel head end item information
Protected Tunnel LspID In-label Out intf/label
Tunnel1

86

Tun hd

FRR intf/label Status

gei-0/2/1/1:147456 Tu2:3

ready

LSP midpoint frr information:
LSP identifier

In-label Out intf/label

FRR intf/label Status

2.20 TE Tunnels Supporting Soft Preemption
2.20.1 TE Tunnels Supporting Soft-Preemption
In an MPLS network, when a TE tunnel is established, it has two attributes, priority upon
establishment and priority after establishment.
Priority upon establishment refers to the priority of a tunnel being established, range: 0–7, 0
is the highest priority. When the resources are insufficient, this priority determines whether
the LSP can preempt the tunnel resources that have been UP.
Priority after establishment refers to the priority when a tunnel is established. Range: 0–7,
in which 0 is the highest priority. This priority is relative to being preempted. The higher
the priority after establishment of the current node, the more difficult its resources can be
preempted.
In general, the priority upon establishment cannot be higher than the priority after
establishment, that is, the value of the priority upon establishment cannot be lower than
that of the Priority after establishment. Otherwise, the tunnel will be in flapping status.
Tunnel preemption includes hard preemption and soft preemption.
Hard preemption: The preempted tunnel is directly disconnected upon preemption.
Therefore, the services bored on the preempted tunnels may be interrupted.
In Figure 2-33, the priority upon establishment of Tunnel1 is higher than the priority after
establishment of Tunnel2 (R1 and R5 links are interrupted).
l
l

The path of Tunnel2 is R2→R1→R4 (in UP status).
The path calculated for Tunnel1 is R0→R1→R4→R5 (in signaling status).

2-185
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)

Figure 2-33 Hard Preemption

Because the bandwidth used between R1 and R4 is insufficient, Tunnel1 preempts the
bandwidth resources of Tunnel2 on the preemption point R1. At this time, Tunnel2 sends
resv-tear to the upstream node at R1 and sends path-tear to the downstream node to tear
the tunnel. After that, Tunnel2 recalculates the path along R2→R3→R5→R4. However,
during Tunnel2 becomes up from down, services bored on Tunnel2 may be interrupted.
Soft preemption: The preempted tunnel is not directly disconnected upon preemption.
Signaling messages are sent to the head node of the tunnel to notify the head node to
perform re-optimization, without going through the link on which preemption occurs. In this
way, the service interruption risk from directly disconnecting a tunnel upon hard preemption
is greatly reduced.
In Figure 2-34, the priority upon establishment of Tunnel1 is higher than the priority after
establishment of Tunnel2 (R1 and R5 links are interrupted).
l
l

The path of Tunnel2 is R2→R1→R4 (in UP status).
The path calculated by Tunnel1 is R0→R1→R4→R5 (in signaling status).

Figure 2-34 Soft Preemption

Because the bandwidth used between R1 and R4 is insufficient, Tunnel1 preempts the
bandwidth resources of Tunnel2 on the preemption point R1. In this case, Tunnel2
2-186
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration

sends a path-err message to the upstream node at R1 to notify the head node R2 of
Tunnel2 to re-optimize Tunnel2, without going through the link R1→R4. The recalculated
path is R2→R3→R5→R4. After Tunnel2 is successfully re-optimized, the previous LSP
(R2→R1→R4) is disconnected, Tunnel2 is not down during preemption and services will
not be interrupted. However, soft preemption cannot completely avoid service interruption
due to preemption. For example, if pre-optimization fails, services may be interrupted.

2.20.2 Configuring a TE Tunnel Supporting Priorities and Soft
Preemption
This procedure describes how to enable a TE tunnel to support priorities and soft
preemption.

Steps
1. Configure a TE tunnel priority.
Step

Command

Function

1

ZXR10(config-mpls-te)#tunnel te_tunnel

Enters Tunnel interface

<tunnel-number>

configuration mode.

2

ZXR10(config-mpls-te-tunnel-te_tunnel-

Configures the setup priority

tunnel-number)#tunnel mpls traffic-eng priority

and hold priority of a tunnel.

<setup-priority><hold-priority>

The highest priority is 0. The
setup priority cannot be higher
than the hold priority.

<setup-priority>: setup priority of a tunnel, range: 0-7.
<hold-priority>: hold priority of a tunnel, range: 0-7.
2. Configure the soft preemption parameters and enable the soft preemption function of
a tunnel.
Step

Command

Function

1

ZXR10(config-mpls-te)#soft-preemption timeout

Sets the LSP keepalive time

<timeout>

for MPLS-TE soft preemption.

ZXR10(config-mpls-te)#tunnel te_tunnel

Enters Tunnel interface

<tunnel-number>

configuration mode.

ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel-

Enables the soft preemption

number)#tunnel mpls traffic-eng soft-preemption

function on a tunnel.

2

3

<timeout>: LSP keepalive time for MPLS-TE soft preemption.Range: 1-300, detault:
30, unit: seconds.
3. Verify the configurations.

2-187
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)

Command

Function

ZXR10#show mpls traffic-eng soft-preemption

Checks the local tunnel soft
preemption configuration, soft
preemption keepalive time, and
information about the tunnels
involved in soft preemption.

ZXR10#show mpls traffic-eng tunnels remote-tunnel

Checks the configuration for

[tunnel-id<tunnel_id> lsp-id<lsp_id> ingress-id <ingress_id>

remote tunnel soft preemption.

egress-id<egress_id>]

– End of Steps –

2.20.3 Instance of TE Tunnels Supporting Soft Preemption
Configuration Description
In Figure 2-35, a TE tunnel (ISIS-TE) is established following IGP-TE. The available
bandwidth of all TE interfaces is 500 M, the reserved bandwidth of Tunnel1 and Tunnel2
is 500 M, and the priority upon establishment of Tunnel2 is higher than the priority after
establishment of Tunnel1.
The path of Tunnel1 (in up status) is P2–>P3–>P5.
The path calculated by Tunnel2 is P1–>P3–>P5 (in signaling status).
Because the bandwidth of the link P3–>P5 is insufficient, Tunnel2 will preempt the
bandwidth of Tunnel1.
Figure 2-35 Instance of TE Tunnels Supporting Soft Preemption

2-188
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration

Configuration Flow
1. Configure a loopback address and interface address on each of six devices.
2. Establish ISIS neighbor relation among interconnected interfaces, enable the TE
function on both ISISs and interfaces, and set an available bandwidth for the dynamic
TE to 500 M.
3. Configure a dynamic TE Tunnel1 on P2 to P5, using dynamic routing, with a reserved
bandwidth of 500 M, the priorities upon and after establishment 7, and the soft preemption function enabled.
4. Configure a dynamic TE Tunnel2 on P1 to P5, using dynamic routing, with a reserved
bandwidth of 500 M, and the priorities upon and after establishment 6.
Because the bandwidth of the link P3–>P5 is insufficient, Tunnel2 will preempt the
bandwidth of Tunnel1. Tunnel1 sends a path-err message on P3 to P2 to notify P2 to
re-optimize Tunnel1, without going through the link P3–>P5. The re-optimized path is
P2–>P4–>P6–>P5.

Configuration Commands
Run the following commands on P1:
Interface configurations:
P1(config)#interface gei-0/2/0/6
P1(config-gei-0/2/0/6)#no shutdown
P1(config-gei-0/2/0/6)#ip address 106.172.1.1 255.255.255.0
P1(config-gei-0/2/0/6)#exit
P1(config)#interface loopback1
P1(config-if-loopback1)#ip address 1.1.1.100 255.255.255.255
P1(config-if-loopback1)#exit
P1(config)#interface te_tunnel2
P1(config-if-te_tunnel2)#ip unnumbered loopback1
P1(config-if-te_tunnel2)#exit
ISIS and ISIS-TE configurations:
P1(config)#router isis 10
P1(config-isis-10)#area 00
P1(config-isis-10)#system-id 0000.1111.1111
P1(config-isis-10)#is-type level-1
P1(config-isis-10)#metric-style wide
P1(config-isis-10)#mpls traffic-eng level-1
P1(config-isis-10)#interface gei-0/2/0/6
P1(config-isis-10-if-gei-0/2/0/6)#ip router isis
P1(config-isis-10-if-gei-0/2/0/6)#exit
P1(config-isis-10)#exit
P1(config)#
MPLS-TE configurations:
P1(config)#mpls traffic-eng
P1(config-mpls-te)#router-id 1.1.1.100

2-189
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
P1(config-mpls-te)#interface loopback1
P1(config-mpls-te-if-loopback1)#exit
P1(config-mpls-te)#interface gei-0/2/0/6
P1(config-mpls-te-if-gei-0/2/0/6)#bandwidth dynamic 1000000 percent 50
P1(config-mpls-te-if-gei-0/2/0/6)#exit
P1(config-mpls-te)#tunnel te_tunnel2
P1(config-mpls-te-tunnel-te_tunnel2)#tunnel destination ipv4 73.73.73.1
P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng bandwidth 500000
P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1 dynamic
P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng priority 6 6
P1(config-mpls-te-tunnel-te_tunnel2)#exit
P1(config-mpls-te)#exit

Run the following commands on P2:
Interface configurations:
P2(config)#interface gei-0/1/0/7
P2(config-if-gei-0/1/0/7)#no shutdown
P2(config-if-gei-0/1/0/7)#ip address 107.44.44.4 255.255.255.0
P2(config-if-gei-0/1/0/7)#exit
P2(config)#interface gei-0/1/0/13
P2(config-if-gei-0/1/0/13)#no shutdown
P2(config-if-gei-0/1/0/13)#ip address 1.0.13.4 255.255.255.0
P2(config-if-gei-0/1/0/13)#exit
P2(config)#interface loopback1
P2(config-if-loopback1)#ip address 4.4.4.100 255.255.255.255
P2(config-if-loopback1)#exit
P2(config)#interface te_tunnel1
P2(config-if-te_tunnel1)#ip unnumbered loopback1
P2(config-if-te_tunnel1)#exit
ISIS and ISIS-TE configurations:
P2(config)#router isis 10
P2(config-isis-10)#area 00
P2(config-isis-10)#system-id 0000.4444.4444
P2(config-isis-10)#is-type level-1
P2(config-isis-10)#metric-style wide
P2(config-isis-10)#mpls traffic-eng level-1
P2(config-isis-10)#interface gei-0/1/0/7
P2(config-isis-10-if-gei-0/1/0/7)#ip router isis
P2(config-isis-10-if-gei-0/1/0/7)#exit
P2(config-isis-10)#interface gei-0/1/0/13
P2(config-isis-10-if-gei-0/1/0/13)#ip router isis
P2(config-isis-10-if-gei-0/1/0/13)#exit
P2(config-isis-10)#exit
MPLS-TE configurations:

2-190
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration
P2(config)#mpls traffic-eng
P2(config-mpls-te)#router-id 4.4.4.100
P2(config-mpls-te)#interface loopback1
P2(config-mpls-te-if-loopback1)#exit
P2(config-mpls-te)#interface gei-0/1/0/7
P2(config-mpls-te-if-gei-0/1/0/7)#bandwidth dynamic 1000000 percent 50
P2(config-mpls-te-if-gei-0/1/0/7)#exit
P2(config-mpls-te)#interface gei-0/1/0/13
P2(config-mpls-te-if-gei-0/1/0/13)#bandwidth dynamic 1000000 percent 50
P2(config-mpls-te-if-gei-0/1/0/13)#exit
P2(config-mpls-te)#exit
P2(config)#mpls traffic-eng
P2(config-mpls-te)#tunnel te_tunnel1
P2(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 73.73.73.1
P2(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng bandwidth 500000
P2(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 dynamic
P2(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng soft-preemption
P2(config-mpls-te-tunnel-te_tunnel1)#exit
P2(config-mpls-te)#exit

Run the following commands on P3:
Interface configurations:
P3(config)#interface gei-0/1/0/6
P3(config-if-gei-0/1/0/6)#no shutdown
P3(config-if-gei-0/1/0/6)#ip address 106.172.1.72 255.255.255.0
P3(config-if-gei-0/1/0/6)#exit
P3(config)#interface gei-0/1/0/7
P3(config-if-gei-0/1/0/7)#no shutdown
P3(config-if-gei-0/1/0/7)#ip address 107.44.44.72 255.255.255.0
P3(config-if-gei-0/1/0/7)#exit
P3(config)#interface gei-0/2/0/1
P3(config-if-gei-0/2/0/1)#no shutdown
P3(config-if-gei-0/2/0/1)#ip address 13.13.13.1 255.255.255.0
P3(config-if-gei-0/2/0/1)#exit
P3(config)#interface loopback1
P3(config-if-loopback1)#ip address 72.72.72.1 255.255.255.255
P3(config-if-loopback1)#exit
ISIS and ISIS-TE configurations:
P3(config)#router isis 10
P3(config-isis-10)#area 00
P3(config-isis-10)#system-id 0000.0000.0072
P3(config-isis-10)#is-type

level-1

P3(config-isis-10)#metric-style wide
P3(config-isis-10)#mpls traffic-eng level-1

2-191
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

0) ZTE Proprietary and Confidential .ZXR10 M6000-S Configuration Guide (MPLS) P3(config-isis-10)#interface gei-0/1/0/6 P3(config-isis-10-if-gei-0/1/0/6)#ip router isis P3(config-isis-10-if-gei-0/1/0/6)#exit P3(config-isis-10)#interface gei-0/1/0/7 P3(config-isis-10-if-gei-0/1/0/7)#ip router isis P3(config-isis-10-if-gei-0/1/0/7)#exit P3(config-isis-10)#interface gei-0/2/0/1 P3(config-isis-10-if-gei-0/2/0/1)#ip router isis P3(config-isis-10-if-gei-0/2/0/1)#exit P3(config-isis-10)#exit MPLS-TE configurations: P3(config)#mpls traffic-eng P3(config-mpls-te)#router-id 72.5252 P4(config-isis-10)#is-type level-1 P4(config-isis-10)#metric-style wide 2-192 SJ-20140731105308-012|2014-10-20 (R1.255.255.73.255.100 255.52.1 P3(config-mpls-te)#interface loopback1 P3(config-mpls-te-if-loopback1)#exit P3(config-mpls-te)#interface gei-0/1/0/6 P3(config-mpls-te-if-gei-0/1/0/6)#exit P3(config-mpls-te)#interface gei-0/1/0/7 P3(config-mpls-te-if-gei-0/1/0/7)#exit P3(config-mpls-te)#interface gei-0/2/0/1 P3(config-mpls-te-if-gei-0/2/0/1)#bandwidth dynamic 1000000 percent 50 P3(config-mpls-te-if-gei-0/2/0/1)#exit P3(config-mpls-te)#exit P3(config)# Run the following commands on P4: Interface configurations: P4(config)#interface gei-0/1/0/13 P4(config-if-gei-0/1/0/13)#no shutdown P4(config-if-gei-0/1/0/13)#ip address 1.52.255.72.52 255.52.0 P4(config-if-gei-0/1/0/15)#exit P4(config)#interface loopback1 P4(config-if-loopback1)#ip address 52.52 255.72.255 P4(config-if-loopback1)#exit ISIS and ISIS-TE configurations: P4(config)#router isis 10 P4(config-isis-10)#area 00 P4(config-isis-10)#system-id 0000.255.0.0 P4(config-if-gei-0/1/0/13)#exit P4(config)#interface gei-0/1/0/15 P4(config-if-gei-0/1/0/15)#no shutdown P4(config-if-gei-0/1/0/15)#ip address 15.255.5252.13.

7301 P5(config-isis-10)#is-type level-1 P5(config-isis-10)#metric-style wide P5(config-isis-10)#mpls traffic-eng level-1 P5(config-isis-10)#interface gei-0/1/0/11 P5(config-isis-10-if-gei-0/1/0/11)#ip router isis P5(config-isis-10-if-gei-0/1/0/11)#exit P5(config-isis-10)#interface gei-0/1/0/6 2-193 SJ-20140731105308-012|2014-10-20 (R1.73.73.1 255.1.255 P5(config-if-loopback1)#exit ISIS and ISIS-TE configurations: P5(config)#router isis 10 P5(config-isis-10)#area 00 P5(config-isis-10)#system-id 0000.255.13.255.100 P4(config-mpls-te)#interface loopback1 P4(config-mpls-te-if-loopback1)#exit P4(config-mpls-te)#interface gei-0/1/0/13 P4(config-mpls-te-if-gei-0/1/0/13)#exit P4(config-mpls-te)#interface gei-0/1/0/15 P4(config-mpls-te-if-gei-0/1/0/15)#bandwidth dynamic 1000000 percent 50 P4(config-mpls-te-if-gei-0/1/0/15)#exit P4(config-mpls-te)#exit Run the following commands on P5: Interface configurations: P5(config)#interface gei-0/1/0/11 P5(config-if-gei-0/1/0/11)#no shutdown P5(config-if-gei-0/1/0/11)#ip address 13.255.255.13.1.1 255.0) ZTE Proprietary and Confidential .52.2 255.0 P5(config-if-gei-0/1/0/11)#exit P5(config)#interface gei-0/1/0/6 P5(config-if-gei-0/1/0/6)#no shutdown P5(config-if-gei-0/1/0/6)#ip address 14.Chapter 2 MPLS TE Configuration P4(config-isis-10)#mpls traffic-eng level-1 P4(config-isis-10)#interface gei-0/1/0/13 P4(config-isis-10-if-gei-0/1/0/13)#ip router isis P4(config-isis-10-if-gei-0/1/0/13)#exit P4(config-isis-10)#interface gei-0/1/0/15 P4(config-isis-10-if-gei-0/1/0/15)#ip router isis P4(config-isis-10-if-gei-0/1/0/15)#exit P4(config-isis-10)#exit MPLS-TE configurations: P4(config)#mpls traffic-eng P4(config-mpls-te)#router-id 52.255.0 P5(config-if-gei-0/1/0/6)#exit P5(config)#interface loopback1 P5(config-if-loopback1)#ip address 73.0000.255.52.

0 P6(config-if-gei-0/1/0/6)#exit P6(config)#interface loopback1 P6(config-if-loopback1)#ip address 73.41a2 P6(config-isis-10)#is-type level-1 P6(config-isis-10)#metric-style wide P6(config-isis-10)#mpls traffic-eng level-1 P6(config-isis-10)#interface gei-0/1/0/6 P6(config-isis-10-if-gei-0/1/0/6)#ip router isis P6(config-isis-10-if-gei-0/1/0/6)#exit P6(config-isis-10)#interface gei-0/1/0/15 P6(config-isis-10-if-gei-0/1/0/15)#ip router isis P6(config-isis-10-if-gei-0/1/0/15)#exit P6(config-isis-10)#exit MPLS-TE configurations: P6(config)#mpls traffic-eng P6(config-mpls-te)#router-id 73.255.0 P6(config-if-gei-0/1/0/15)#exit P6(config)#interface gei-0/1/0/6 P6(config-if-gei-0/1/0/6)#no shutdown P6(config-if-gei-0/1/0/6)#ip address 14.73.255 P6(config-if-loopback1)#exit ISIS and ISIS-TE configurations: P6(config)#router isis 10 P6(config-isis-10)#area 00 P6(config-isis-10)#system-id 2008.1.255.73.255.255.0) ZTE Proprietary and Confidential .73.73.2 255.255.73 255.52.561c.73.2 2-194 SJ-20140731105308-012|2014-10-20 (R1.1 P5(config-mpls-te)#interface loopback1 P5(config-mpls-te-if-loopback1)#exit P5(config-mpls-te)#interface gei-0/1/0/11 P5(config-mpls-te-if-gei-0/1/0/11)#exit P5(config-mpls-te)#interface gei-0/1/0/6 P5(config-mpls-te-if-gei-0/1/0/6)#exit P5(config-mpls-te)#exit Run the following commands on P6: Interface configurations: P6(config)#interface gei-0/1/0/15 P6(config-if-gei-0/1/0/15)#no shutdown P6(config-if-gei-0/1/0/15)#ip address 15.1.73.255.ZXR10 M6000-S Configuration Guide (MPLS) P5(config-isis-10-if-gei-0/1/0/6)#ip router isis P5(config-isis-10-if-gei-0/1/0/6)#exit P5(config-isis-10)#exit MPLS-TE configurations: P5(config)#mpls traffic-eng P5(config-mpls-te)#router-id 73.2 255.73.

1 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.1 - gei-0/1/0/7 up/up P2#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 73.73.73.0) ZTE Proprietary and Confidential . type dynamic (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: No path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy Class: Default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled 2-195 SJ-20140731105308-012|2014-10-20 (R1.73.73.Chapter 2 MPLS TE Configuration P6(config-mpls-te)#interface loopback1 P6(config-mpls-te-if-loopback1)#exit P6(config-mpls-te)#interface gei-0/1/0/15 P6(config-mpls-te-if-gei-0/1/0/15)#exit P6(config-mpls-te)#interface gei-0/1/0/6 P6(config-mpls-te-if-gei-0/1/0/6)#bandwidth dynamic 500000 percent 100 P6(config-mpls-te-if-gei-0/1/0/6)#exit P6(config-mpls-te)#exit Configuration Verification 1. Run the show mpls traffic-eng tunnels brief command to check the establishment status (path: P2->P3->P5) of Tunnel1 on P2 before configuring Tunnel2 on P1. The execution result is displayed as follows: P2#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process:running RSVP Process:running Forwarding:enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT tunnel_1 73.

147458 RSVP Signalling Info : Src 4.errcode:1. P2 re-optimizes Tunnel1.44.0 Without-CSPF: disabled InLabel: OutLabel: gei-0/1/0/7.100.2 73.44.1 13.73.44. burst= 0 byte.13. 37 minute. After receiving the path-err message. 0 minute. the original LSP (P2–>P3–>P5) is disconnected.errvalue:7). 0 hour. 40 second Last LSP Error Information: Clear mpls rsvp(lspid:2. Tun-Instance 2 RSVP Path Info: Explicit Route: 107. peak rate= 500000 kb History: Tunnel: Time Since Created: 0 day.1.4. Path error: admission fail(lspid:9. After Tunnel2 is configured on P1. Clear mpls rsvp(lspid:10.13.73. 2. and Tunnel1 will 2-196 SJ-20140731105308-012|2014-10-20 (R1. Tun-ID 1.errvalue:7). burst= 0 byte. peak rate= 500000 kb RSVP Resv Info: Record Route: NULL Fspec: ave rate= 500000 kb.errcode:1. 41 second Prior LSP: path option 1 Current LSP: Uptime:0 day.13.73.errcode:1.4 107.72 13.73.44.0) ZTE Proprietary and Confidential . Tunnel1 sends a path-err message from P3 to P2.errvalue:2).13.0. without going through the link P3–>P5. Tunnel1 is re-optimized. In this way.0. 0 hour. Dst 73.1 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 500000 kb.ZXR10 M6000-S Configuration Guide (MPLS) Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 500000 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: enabled Soft Preemption Status: not pending Addresses of preempting links: 0.4. The calculated path is P2–>P4–>P6–>P5.

Chapter 2 MPLS TE Configuration never get down during preemption.0. P2#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 73.1 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1.0 Without-CSPF: disabled 2-197 SJ-20140731105308-012|2014-10-20 (R1.0. services bored on Tunnel1 will not be interrupted. type dynamic (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: No path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Upper Limit: 4294967295 Hop Prior: disabled Upper Limit: - Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy Class: Default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 500000 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: enabled Soft Preemption Status: not pending Addresses of preempting links: 0.0) ZTE Proprietary and Confidential . Run the show mpls traffic-eng tunnels te_tunnel 1 command on P2 to check the path after re-optimization (P2–>P4–>P6–>P5).73. Therefore.73.

13. Step Command Function 1 ZXR10(config)#te-ecmp-group <te-ecmp-id> Configures a TE-ECMP load sharing group in global mode.73.ZXR10 M6000-S Configuration Guide (MPLS) InLabel: OutLabel: gei-0/1/0/13.4.1 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 500000 kb.1 73.100.13. peak rate= 500000 kb 2. ZXR10(config-te-ecmp-group-te-ecmp-id)#load-sha Sets the load sharing policy ring policy {per-stream | per-packet} for the load sharing group to per flow or per packet. 2 3 ZXR10(config-te-ecmp-group-te-ecmp-id)#tunnel Binds the TE tunnel to the <tunnel-id> TE-ECMP load sharing group.4.73.73. Dst 73.1.0) ZTE Proprietary and Confidential . Tun-ID 1.52 15.4 1.1 Equal Load Sharing on the TE-ECMP ECMP configures multiple TE tunnels with the same source and destination addresses to a load sharing group. <te-ecmp-id>: TE-ECMP load sharing group ID.1.2 Configuring Equal Load Sharing on the TE-ECMP This procedure describes how to configure equal load sharing on the TE-ECMP.73. A load sharing policy (per-flow or per-packet) is configured for the group as needed.0. 212993 RSVP Signalling Info : Src 4.1. {per-stream | per-packet}>: per-stream indicates per flow.1. peak rate= 500000 kb RSVP Resv Info: Record Route: NULL Fspec: ave rate= 500000 kb. 128 sharing groups can be configured. burst= 0 byte.21 Equal Load Sharing on the TE-ECMP 2.21. burst= 0 byte.52.21.73 14. 2. per-packet indicates per packet.52 15. 2-198 SJ-20140731105308-012|2014-10-20 (R1. Configure equal load sharing on the TE-ECMP.0.73.2 14. At present.73.52.1. Tun-Instance 3 RSVP Path Info: Explicit Route: 1. Steps 1.

Command Function ZXR10#show te-ecmp-group {all|id} Checks the configured load sharing group and the information about the binding relation with the TE tunnel.Chapter 2 MPLS TE Configuration 2. all: indicates all configured sharing groups. – End of Steps – 2. id: indicates a sharing group. and the two tunnels are bound to the load sharing group in accordance with the per packet policy.21. Establish Tunnel1 and Tunnel2 on P1 in the same way. Configuration Commands Run the following commands on P1: P1(config)#interface gei-0/1/0/2 2-199 SJ-20140731105308-012|2014-10-20 (R1. Enable the TE function on the directly-connected interfaces of P1 and P2. Verify the configurations. and bind Tunnel1 and Tunnel2 to the load sharing group. and enable the TE function on the OSPF neighbors. two common RSVP tunnels are established from P1 to P2 in strict routing mode through OSPF TE. 3. Figure 2-36 Instance of Equal Load Sharing Configuration on the TE-ECMP Configuration Flow 1. 2.3 Instance of Equal Load Sharing Configuration on the TE-ECMP Configuration Description In Figure 2-36. 4. Configure a load sharing group. Establish OSPF neighbors on the directly-connected interfaces of P1 and P2.0) ZTE Proprietary and Confidential . define the per-packet policy.

1 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel mpls traffic-eng path-option 1 2-200 SJ-20140731105308-012|2014-10-20 (R1.168.1.1 P1(config-mpls-te)#interface gei-0/1/0/2 P1(config-mpls-te-if-gei-0/1/0/2)#exit P1(config-mpls-te)#interface gei-0/2/0/2 P1(config-mpls-te-if-gei-0/2/0/2)#exit P1(config-mpls-te)#explicit-path identifier 1 P1(config-mpls-te-expl-path-id-1)#next-address strict 192.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#interface te_tunnel2 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#router-id 1.0 P1(config-if-gei-0/1/0/2)#exit P1(config)#interface gei-0/2/0/2 P1(config-if-gei-0/2/0/2)#no shutdown P1(config-if-gei-0/2/0/2)#ip address 190.255 area 0 P1(config-ospf-1)#network 1.1.0.255.255 area 0 P1(config-ospf-1)#network 190.1.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#explicit-path identifier 2 P1(config-mpls-te-expl-path-id-1)#next-address strict 190.1 0.168.1.1 255.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 1.255.1.0.ZXR10 M6000-S Configuration Guide (MPLS) P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#ip address 192.1.1.1 255.1.0 P1(config-if-gei-0/2/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.1.1.1.0.168.1.255.168.255.0 0.1.255.0) ZTE Proprietary and Confidential .0.1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path identifier 1 P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#tunnel te_tunnel 2 P1(config-mpls-te-tunnel-te_tunnel2)#tunnel destination ipv4 2.0.1 P1(config-ospf-1)#network 192.1.168.0 0.1.168.1.2 P1(config-mpls-te-expl-path-id-1)#exit P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.1.1.0.1 255.255.

1.168.0 P2(config-if-gei-0/2/0/2)#exit P2(config)#interface loopback2 P2(config-if-loopback2)#ip address 2.1.1.0.255.1.Chapter 2 MPLS TE Configuration explicit-path identifier 2 P1(config-mpls-te-tunnel-te_tunnel2)#exit P1(config-mpls-te)#exit P1(config)#te-ecmp-group 1 P1(config-te-ecmp-group-1)#load-sharing policy per-packet P1(config-te-ecmp-group-1)#tunnel 1 P1(config-te-ecmp-group-1)#tunnel 2 P1(config-te-ecmp-group-1)#exit Run the following commands on P2: P2(config)#interface gei-0/1/0/2 P2(config-if-gei-0/1/0/2)#no shutdown P2(config-if-gei-0/1/0/2)#ip address 192.1.0.0) ZTE Proprietary and Confidential .255.168.1.1.255 P2(config-if-loopback2)#exit P2(config)#router ospf 1 P2(config-ospf-1)#router-id 2.1.1 0.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback2 P2(config-mpls-te-if-loopback2)#exit P2(config-mpls-te)#router-id 2.0.0.0 0.0.168.1.1 255.255 area 0 P2(config-ospf-1)#network 2.255.255.0 P2(config-if-gei-0/1/0/2)#exit P2(config)#interface gei-0/2/0/2 P2(config-if-gei-0/2/0/2)#no shutdown P2(config-if-gei-0/2/0/2)#ip address 190.1.1.2 255.1 P2(config-ospf-1)#network 192.255 area 0 P2(config-ospf-1)#network 190.0 0.1. The execution result is displayed as follows: P1(config)#show te-ecmp-group 1 TE-ECMP group 1 2-201 SJ-20140731105308-012|2014-10-20 (R1.2 255.255.0.255.168.1 P2(config-mpls-te)#interface gei-0/1/0/2 P2(config-mpls-te-if-gei-0/1/0/2)#exit P2(config-mpls-te)#interface gei-0/2/0/2 P2(config-mpls-te-if-gei-0/2/0/2)#exit Configuration Verification Run the show te-ecmp-group 1 command to check the information about the tunnel ECMP group.

range: 0–31. By limiting some types of traffic for some types of links. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Configures three affinity number)#tunnel mpls traffic-eng affinity { exclude-any | attribute constraints in include-any | include-all } bit-position <value> accordance with the affinity bit position. this attribute implements the routing policy for some services and achieves the network engineering purpose. At most three types of affinity commands (32 commands) are supported by a TE tunnel. At most 32 affinity attribute bits can be configured for an interface. Verify the configurations.0) ZTE Proprietary and Confidential . Step Command Function 1 ZXR10(config-mpls-te)#interface <interface-name> Enters TE interface configuration mode. Steps 1. range: 0–31.1 TE Affinity Introduction TE Color is an abstract TE link attribute. 2 ZXR10(config-mpls-te-if-interface-name)#affinity attribute bit-position <value> Sets the affinity attribute bit position of a TE interface.22 TE Affinity 2. 2.22. 3 4 ZXR10(config-mpls-te)#tunnel te_tunnel Enters Tunnel interface <tunnel-number> configuration mode. 2-202 SJ-20140731105308-012|2014-10-20 (R1. Configure the value of the MPLS TE affinity.ZXR10 M6000-S Configuration Guide (MPLS) Load-sharing policy: per-packet Member tunnel: 1 Member tunnel: 2 2.2 Configuring the TE Affinity This procedure describes how to configure the TE affinity of a TE tunnel.22. 2. or displaying some excluded link types for paths with some types of traffic.

3. P2. Configuration Flow 1. and the tunnel is configured with affinity constraint. P2. and enable the TE function on the OSPF neighbors. 2. the egress interface is configured to have the affinity attribute. including include-any. and P4. ZXR10#show mpls traffic-eng tunnels [te_tunnel <tunnel_id>] Displays the local tunnel affinity configuration. P2. P2. and configure the router-id of the TE as the loopback interface address. egress-id<egress_id>] – End of Steps – 2. Configure the interfaces connecting P1. P3. and P4. P2.0) ZTE Proprietary and Confidential . include-all. 25. P1: gei-0/1/0/1: 0. and the corresponding loopback interface addresses. and P4. and P3. 30 2-203 SJ-20140731105308-012|2014-10-20 (R1. 4. and exclude-any. ZXR10#show mpls traffic-eng tunnels remote-tunnel Displays the remote tunnel [tunnel-id<tunnel_id> lsp-id<lsp_id> ingress-id <ingress_id> affinity configuration. P3. 2. and configure the following affinity attributes for the egress interfaces of P1.3 TE Affinity Configuration Instance Configuration Description Figure 2-37 shows a TE tunnel established among P1-P2-P3-P4 through an IGP-TE.22. P3. and P4. 21. Enable the TE function of the loopback interfaces of P1.Chapter 2 MPLS TE Configuration Command Function ZXR10#show mpls traffic-eng interface detail [< interface name Displays the affinity configuration >] on an interface. Configure OSPF neighbors for P1. Figure 2-37 TE Affinity Configuration Instance The head node notifies the affinity constraint of the tunnel to downstream nodes through the flag of the SESSION_ATTRIBUTE object in RSVP-PATH. Enable the TE function on interfaces of P1. A tunnel can be established successfully only when the affinity attributes of all egress interfaces meet the tunnel affinity constraint. P3.

1. 21. Configuration Commands Run the following commands on P1: P1#configure terminal P1(config)#interface gei-0/1/0/1 P1(config-if-gei-0/1/0/1)#ip address 1. and gei-0/1/0/6 on P3.1.1 255. 21.255.255. 28 5. 2. Configure tunnel 1 on P1. The egress interfaces are in the following sequence: gei-0/1/0/2 on P1.0. 25 P3: gei-0/1/0/3: 0.1. exclude-any 30.1. 6.101 P1(config-mpls-te)#interface gei-0/1/0/1 P1(config-mpls-te-if-gei-0/1/0/1)#affinity attribute bit-position 0 P1(config-mpls-te-if-gei-0/1/0/1)#affinity attribute bit-position 2 P1(config-mpls-te-if-gei-0/1/0/1)#affinity attribute bit-position 21 P1(config-mpls-te-if-gei-0/1/0/1)#affinity attribute bit-position 25 P1(config-mpls-te-if-gei-0/1/0/1)#affinity attribute bit-position 30 2-204 SJ-20140731105308-012|2014-10-20 (R1.0 P1(config-if-gei-0/1/0/1)#no shutdown P1(config-if-gei-0/1/0/1)#exit P1(config)#interface gei-0/1/0/2 P1(config-if-gei-0/1/0/2)#ip address 2.255 P1(config-if-loopback1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#network 1.1. 25.0. include-all 21.101 255.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 101. 25 gei-0/2/0/2: 6. include-all 25. include-any 2.255. 25 gei-0/1/0/6: 0.0 P1(config-if-gei-0/1/0/2)#no shutdown P1(config-if-gei-0/1/0/2)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 101. 25 P2: gei-0/2/0/1: 2. with the destination address P4 and dynamic routing.101. 21. gei-0/2/0/1 on P2.1 255.0) ZTE Proprietary and Confidential .1. 21. After tunnel 1 gets up.101. and configure affinity constraint conditions include-any 0.0.1 0.ZXR10 M6000-S Configuration Guide (MPLS) gei-0/1/0/2: 0.0 area 0 P1(config-ospf-1)#network 2. check whether the egress interfaces meet the tunnel affinity constraint.101.1. and exclude-any 31.101.1 0.0.1.255.255.255.

Chapter 2 MPLS TE Configuration
P1(config-mpls-te-if-gei-0/1/0/1)#exit
P1(config-mpls-te)#interface gei-0/1/0/2
P1(config-mpls-te-if-gei-0/1/0/2)#affinity attribute bit-position 0
P1(config-mpls-te-if-gei-0/1/0/2)#affinity attribute bit-position 21
P1(config-mpls-te-if-gei-0/1/0/2)#affinity attribute bit-position 25
P1(config-mpls-te-if-gei-0/1/0/2)exit
P1(config-mpls-te)#exit
P1(config)#interface te_tunnel1
P1(config-if-te_tunnel1)#exit
P1(config)#mpls traffic-eng
P1(config-mpls-te)#tunnel te_tunnel1
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 104.104.104.104
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 dynamic
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng affinity include-any
bit-position 0
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng affinity include-any
bit-position 2
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng affinity include-all
bit-position 21
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng affinity include-all
bit-position 25
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng affinity exclude-any
bit-position 30
P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng affinity exclude-any
bit-position 31

Run the following commands on P2:
P2#configure terminal
P2(config)#interface gei-0/1/0/1
P2(config-if-gei-0/1/0/1)#ip address 1.1.1.2 255.255.255.0
P2(config-if-gei-0/1/0/1)#no shut
P2(config-if-gei-0/1/0/1)#exit
P2(config)#interface gei-0/2/0/1
P2(config-if-gei-0/2/0/1)#ip address 9.1.1.2 255.255.255.0
P2(config-if-gei-0/2/0/1)#no shut
P2(config-if-gei-0/2/0/1)#exit
P2(config)#interface gei-0/1/0/2
P2(config-if-gei-0/1/0/2)#ip address 2.1.1.2 255.255.255.0
P2(config-if-gei-0/1/0/2)#no shut
P2(config-if-gei-0/1/0/2)#exit
P2(config)#interface gei-0/2/0/2
P2(config-if-gei-0/2/0/2)#ip address 15.1.1.2 255.255.255.0
P2(config-if-gei-0/2/0/2)#no shut
P2(config-if-gei-0/2/0/2)#exit

2-205
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
P2(config)#interface loopback1
P2(config-if-loopback1)#ip address 102.102.102.102 255.255.255.255
P2(config-if-loopback1)#exit
P2(config)#router ospf 1
P2(config-ospf-1)#network 1.1.1.2 0.0.0.0 area 0
P2(config-ospf-1)#network 9.1.1.2 0.0.0.0 area 0
P2(config-ospf-1)#network 2.1.1.2 0.0.0.0 area 0
P2(config-ospf-1)#network 15.1.1.2 0.0.0.0 area 0
P2(config-ospf-1)#mpls traffic-eng area 0
P2(config-ospf-1)#exit
P2(config)#mpls traffic-eng
P2(config-mpls-te)#interface loopback1
P2(config-mpls-te-if-loopback1)#exit
P2(config-mpls-te)#router-id 102.102.102.102
P2(config-mpls-te)#interface gei-0/2/0/1
P2(config-mpls-te-if-gei-0/2/0/1)#affinity attribute bit-position 2
P2(config-mpls-te-if-gei-0/2/0/1)#affinity attribute bit-position 21
P2(config-mpls-te-if-gei-0/2/0/1)#affinity attribute bit-position 25
P2(config-mpls-te-if-gei-0/2/0/1)#exit
P2(config-mpls-te)#interface gei-0/2/0/2
P2(config-mpls-te-if-gei-0/2/0/2)#affinity attribute bit-position 6
P2(config-mpls-te-if-gei-0/2/0/2)#affinity attribute bit-position 21
P2(config-mpls-te-if-gei-0/2/0/2)#affinity attribute bit-position 25
P2(config-mpls-te-if-gei-0/2/0/2)#exit
P2(config-mpls-te)#interface gei-0/1/0/1
P2(config-mpls-te-if-gei-0/1/0/1)#exit
P2(config-mpls-te)#interface gei-0/1/0/2
P2(config-mpls-te-if-gei-0/1/0/2)#exit
P2(config-mpls-te)#

Run the following commands on P3:
P3#configure terminal
P3(config)#interface gei-0/1/0/2
P3(config-if-gei-0/1/0/2)#ip address 9.1.1.4 255.255.255.0
P3(config-if-gei-0/1/0/2)#no shut
P3(config-if-gei-0/1/0/2)#exit
P3(config)#interface gei-0/1/0/5
P3(config-if-gei-0/1/0/5)#ip address 15.1.1.4 255.255.255.0
P3(config-if-gei-0/1/0/5)#no shut
P3(config-if-gei-0/1/0/5)#exit
P3(config)#interface gei-0/1/0/3
P3(config-if-gei-0/1/0/3)#ip address 13.1.1.4 255.255.255.0
P3(config-if-gei-0/1/0/3)#no shut
P3(config-if-gei-0/1/0/3)#exit

2-206
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration
P3(config)#interface gei-0/1/0/6
P3(config-if-gei-0/1/0/6)#ip address 17.1.1.4 255.255.255.0
P3(config-if-gei-0/1/0/6)#no shut
P3(config-if-gei-0/1/0/6)#exit
P3(config)#interface loopback1
P3(config-if-loopback1)#ip address 103.103.103.103 255.255.255.255
P3(config-if-loopback1)#exit
P3(config)#router ospf 1
P3(config-ospf-1)#network 9.1.1.4 0.0.0.0 area 0
P3(config-ospf-1)#network 15.1.1.4 0.0.0.0 area 0
P3(config-ospf-1)#network 13.1.1.4 0.0.0.0 area 0
P3(config-ospf-1)#network 17.1.1.4 0.0.0.0 area 0
P3(config-ospf-1)#mpls traffic-eng area 0
P3(config-ospf-1)#exit
P3(config)#mpls traffic-eng
P3(config-mpls-te)#interface loopback1
P3(config-mpls-te-if-loopback1)#exit
P3(config-mpls-te)#router-id 103.103.103.103
P3(config-mpls-te)#interface gei-0/1/0/3
P3(config-mpls-te-if-gei-0/1/0/3)#affinity attribute bit-position 0
P3(config-mpls-te-if-gei-0/1/0/3)#affinity attribute bit-position 2
P3(config-mpls-te-if-gei-0/1/0/3)#affinity attribute bit-position 25
P3(config-mpls-te-if-gei-0/1/0/3)#exit
P3(config-mpls-te)#interface gei-0/1/0/6
P3(config-mpls-te-if-gei-0/1/0/6)#affinity attribute bit-position 0
P3(config-mpls-te-if-gei-0/1/0/6)#affinity attribute bit-position 21
P3(config-mpls-te-if-gei-0/1/0/6)#affinity attribute bit-position 25
P3(config-mpls-te-if-gei-0/1/0/6)#affinity attribute bit-position 28
P3(config-mpls-te-if-gei-0/1/0/6)#exit
P3(config-mpls-te)#interface gei-0/1/0/2
P3(config-mpls-te-if-gei-0/1/0/2)#exit
P3(config-mpls-te)#interface gei-0/1/0/5
P3(config-mpls-te-if-gei-0/1/0/5)#exit
P3(config-mpls-te)#

Run the following commands on P4:
P4#configure terminal
P4(config)#interface gei-0/1/0/3
P4(config-if-gei-0/1/0/3)#ip address 13.1.1.5 255.255.255.0
P4(config-if-gei-0/1/0/3)#no shut
P4(config-if-gei-0/1/0/3)#exit
P4(config)#interface gei-0/1/0/5
P4(config-if-gei-0/1/0/5)#ip address 17.1.1.5 255.255.255.0
P4(config-if-gei-0/1/0/5)#no shut

2-207
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
P4(config-if-gei-0/1/0/5)#exit
P4(config)#interface loopback1
P4(config-if-loopback1)#ip address 104.104.104.104 255.255.255.255
P4(config-if-loopback1)#exit
P4(config)#router ospf 1
P4(config-ospf-1)#network 13.1.1.5 0.0.0.0 area 0
P4(config-ospf-1)#network 17.1.1.5 0.0.0.0 area 0
P4(config-ospf-1)#mpls traffic-eng area 0
P4(config-ospf-1)#exit
P4(config)#mpls traffic-eng
P4(config-mpls-te)#interface loopback1
P4(config-mpls-te-if-loopback1)#exit
P4(config-mpls-te)#router-id 104.104.104.104
P4(config-mpls-te)#interface gei-0/1/0/3
P4(config-mpls-te-if-gei-0/1/0/3)#exit
P4(config-mpls-te)#interface gei-0/1/0/5
P4(config-mpls-te-if-gei-0/1/0/5)#exit
P4(config-mpls-te)#

Configuration Verification
1. Run the show this !<mpls-te> command to check the configuration result after
configuring the affinity attribute on the interface of P1. The execution result is
displayed as follows:
P1(config-mpls-te-if-gei-0/1/0/1)#show this
!<mpls-te>
affinity attribute bit-position 0
affinity attribute bit-position 2
affinity attribute bit-position 21
affinity attribute bit-position 25
affinity attribute bit-position 30
!</mpls-te>

2. Check the interface information on P1, in which the Affinity attributes(Bit position)
field displays the configured affinity attribute.
P1#show mpls traffic-eng interface detail gei-0/1/0/1
gei-0/1/0/1:
State:
ENABLE
Traffic-eng metric: 0
Authentication: disabled
Key:

<encrypted>

Type:

md5

Challenge:

disabled

Challenge-imp: Not implemented(simulated)

2-208
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration
Window size:

32

BFD: disabled
Backup path:
None
SRLGs: None
Affinity attributes(Bit position):
0,2,21,25,30
DSCP: None
Intf Fast-Hello: DISABLE
Fast-Hello interval: 10000
Fast-Hello miss: 4
Convergence-Ratio: 100(%)

3. Run the show this !<mpls-te> command to check the configuration result after
configuring the affinity constraint on the tunnel of P1. The execution result is displayed
as follows:
P1(config-mpls-te-tunnel-te_tunnel1)#show this
!<mpls-te>
tunnel destination ipv4 104.104.104.104
tunnel mpls traffic-eng affinity exclude-any bit-position 30
tunnel mpls traffic-eng affinity exclude-any bit-position 31
tunnel mpls traffic-eng affinity include-any bit-position 0
tunnel mpls traffic-eng affinity include-any bit-position 2
tunnel mpls traffic-eng affinity include-all bit-position 21
tunnel mpls traffic-eng affinity include-all bit-position 25
tunnel mpls traffic-eng path-option 1 dynamic
!</mpls-te>

4. Check the tunnel information on P1, in which the Affinity(Bit position) field displays
the configured affinity constraint.
P1#show mpls traffic-eng tunnels te_tunnel 1
Name: tunnel_1
(Tunnel1) Destination: 104.104.104.104
Status:
Admin: up

Oper: up

Path:

valid

Signalling: connected

Path option: 1, type dynamic (Basis for Setup)
Actual Bandwidth: N/A
Hot-standby protection:
No path options protected
Config Parameters:
Resv-Style: SE
Metric Type: IGP (default)
Hop Prior: disabled

Upper Limit: 4294967295
Upper Limit: -

Record-Route: disabled
Facility Fast-reroute: disabled
Detour Fast-reroute: disabled
Bandwidth Protection: disabled

2-209
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
Hot-standby-lsp Fast-reroute: disabled
BFD: disabled
Policy Class: Default
Track Name:
Auto-reoptimize: disabled
Hot-standby-lsp Auto-reoptimize: disabled
Reference Hot-standby: disabled
Tunnel-Status: enabled
Bandwidth: 0 kbps (Global) Priority: 7
CBS: 0 byte

EIR: 0 kbps

7

EBS: 0 byte

Affinity(Bit position):
Exclude-any: 30-31
Include-any: 0,2
Include-all: 21,25
AutoRoute: disabled
AUTO-BW: disabled
Forwarding-adjacency: disabled
Co-routed Bidirect: disabled
Associated Bidirect: disabled
Rate-limit: disabled
Crankback: disabled
Soft Preemption: disabled
Soft Preemption Status: not pending
Addresses of preempting links: 0.0.0.0
Without-CSPF: disabled
InLabel: OutLabel: gei-0/1/0/2, 147457
RSVP Signalling Info :
Src 101.101.101.101, Dst 104.104.104.104, Tun-ID 1, Tun-Instance 8
RSVP Path Info:
Explicit Route: 2.1.1.1 2.1.1.2 9.1.1.2 9.1.1.4 17.1.1.4 17.1.1.5
104.104.104.104
Exclude Route: NULL
Record Route: NULL
Tspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb
RSVP Resv Info:
Record Route: NULL
Fspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb
History:
Tunnel:
Time Since Created: 0 day, 0 hour, 5 minute, 8 second
Prior LSP: path option 1
Current LSP: Uptime:0 day, 0 hour, 2 minute, 23 second
Last LSP Error Information:

2-210
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

Chapter 2 MPLS TE Configuration

5. Run the show ip ospf database opaque-area self-originate command to check the
notified affinity attribute of the IGP-TE database interface on P1. The execution result
is displayed as follows:
P1#show ip ospf database opaque-area self-originate
OSPF Router with ID (101.101.101.101) (Process ID 1)
Type-10 Opaque Link Area Link States

(Area 0.0.0.0)

LS age: 282
Options: (No TOS-capability, DC)
LS Type: Opaque Area Link
Link State ID: 1.0.0.0
Opaque Type: 1
Opaque ID: 0
Advertising Router: 101.101.101.101
LS Seq Number: 0x80000004
Checksum: 0xe320
Length: 28
Fragment number : 0
MPLS TE router ID : 101.101.101.101
Number of Links : 0
LS age: 779
Options: (No TOS-capability, DC)
LS Type: Opaque Area Link
Link State ID: 1.0.0.1
Opaque Type: 1
Opaque ID: 1
Advertising Router: 101.101.101.101
LS Seq Number: 0x8000000f
Checksum: 0x71d1
Length: 124
Fragment number : 1
Link connected to Broadcast network
Link ID : 1.1.1.2
Interface Address : 1.1.1.1
Neighbor Interface Address : 0.0.0.0
Admin Metric : 0
Maximum bandwidth : 12500000
Maximum reservable bandwidth : 2500000
Number of Priority : 8
Priority 0 : 2500000

Priority 1 : 2500000

Priority 2 : 2500000

Priority 3 : 2500000

Priority 4 : 2500000

Priority 5 : 2500000

Priority 6 : 2500000

Priority 7 : 2500000

Affinity Bit : 0x42200005
Number of Links : 1
LS age: 1122

2-211
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

ZXR10 M6000-S Configuration Guide (MPLS)
Options: (No TOS-capability, DC)
LS Type: Opaque Area Link
Link State ID: 1.0.0.2
Opaque Type: 1
Opaque ID: 2
Advertising Router: 101.101.101.101
LS Seq Number: 0x80000003
Checksum: 0xb223
Length: 124
Fragment number : 2
Link connected to Broadcast network
Link ID : 2.1.1.2
Interface Address : 2.1.1.1
Neighbor Interface Address : 0.0.0.0
Admin Metric : 0
Maximum bandwidth : 12500000
Maximum reservable bandwidth : 0
Number of Priority : 8
Priority 0 : 0

Priority 1 : 0

Priority 2 : 0

Priority 3 : 0

Priority 4 : 0

Priority 5 : 0

Priority 6 : 0

Priority 7 : 0

Affinity Bit : 0x2200001
Number of Links : 1

6. After the tunnel of P1 gets up, run the show mpls traffic-eng tunnels te_tunnel 1
command to check whether all egress interfaces of the tunnel meet the tunnel affinity
constraint.
Because only gei-0/1/0/2 of P1, gei-0/2/0/1 of P2, and gei-0/1/0/6 of P3 meet the affinity
attribute, the tunnel will not go along other paths.
P1#show mpls traffic-eng tunnels te_tunnel 1
Name: tunnel_1
(Tunnel1) Destination: 104.104.104.104
Status:
Admin: up

Oper: up

Path:

valid

Signalling: connected

Path option: 1, type dynamic (Basis for Setup)
Actual Bandwidth: N/A
Hot-standby protection:
No path options protected
Config Parameters:
Resv-Style: SE
Metric Type: IGP (default)
Hop Prior: disabled

Upper Limit: 4294967295
Upper Limit: -

Record-Route: disabled

2-212
SJ-20140731105308-012|2014-10-20 (R1.0)

ZTE Proprietary and Confidential

0 Without-CSPF: disabled InLabel: OutLabel: gei-0/1/0/2.2 Include-all: 21. peak rate= 0 kb RSVP Resv Info: Record Route: NULL Fspec: ave rate= 0 kb.0.1.1. burst= 1000 byte. Dst 104.1.1. 5 minute.1.5 104.101.101.104.104. 0 hour.1.101. 8 second Prior LSP: path option 1 2-213 SJ-20140731105308-012|2014-10-20 (R1.1. Tun-Instance 8 RSVP Path Info: Explicit Route: 2.2 9.25 AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0.1.2 9.1.0.1.1.104.1.4 17.Chapter 2 MPLS TE Configuration Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy Class: Default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 0 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: 30-31 Include-any: 0.4 17. 147457 RSVP Signalling Info : Src 101.104 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kb. Tun-ID 1.1 2. burst= 1000 byte.0) ZTE Proprietary and Confidential .104. peak rate= 0 kb History: Tunnel: Time Since Created: 0 day.104.

Step Command Function 1 ZXR10(config-mpls-te)#interface <interface-name> Enters TE interface configuration mode.23. Steps 1.ZXR10 M6000-S Configuration Guide (MPLS) Current LSP: Uptime:0 day. Verify the configurations. Command Function ZXR10#show mpls traffic-eng interface detail [< interface name Checks whether the TE >] bandwidth management mode is enabled on the bound interface. – End of Steps – 2-214 SJ-20140731105308-012|2014-10-20 (R1. Similar binding interfaces include the smartgroup.2 Configuring Binding Interfaces Supporting TE Bandwidth Reservation This procedure describes how to enable a binding interface to support TE bandwidth reservation. 2 ZXR10(config-mpls-te-if-interface-name)#te-tr Enables the TE bandwidth unk management mode on the bound interface. 0 hour. Configure TE tunnel re-optimization.23. 2. 23 second Last LSP Error Information: 2. 2.1 Binding Interfaces Supporting TE Bandwidth Reservation If a binding interface supports TE bandwidth reservation. and multilink interfaces.0) ZTE Proprietary and Confidential .23 Binding Interfaces Supporting TE Bandwidth Reservation 2. posgroup. the TE LSP selects an active member link of the SG interface to reserve a bandwidth and forwards traffic. 2 minute. Traffic is forwarded strictly through a member interface and not shared among all member interfaces.

3ad P1(config-lacp-sg-if-smartgroup1)#exit P1(config-lacp)#interface gei-0/1/0/1 P1(config-lacp-member-if-gei-0/1/0/1)#smartgroup 1 mode active P1(config-lacp-member-if-gei-0/1/0/1)#exit P1(config-lacp)#interface gei-0/1/0/2 P1(config-lacp-member-if-gei-0/1/0/2)#smartgroup 1 mode active P1(config-lacp-member-if-gei-0/1/0/2)#exit P1(config-lacp)#exit 2-215 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential . and bind gei-0/1/0/1 and gei-0/1/0/2 to the smartgroup1 interface on P1 and P2. and the bandwidth to 10 M. and the egress of the tunnel is the smartgroup binding interface. two interfaces on P1 and P2 are bound to the smartgroup binding interface. 5. Configure the MPLS-TE on P1 and P2. Figure 2-38 Configuration Instance for Binding Interfaces Supporting TE Bandwidth Reservation Configuration Flow 1. Configuration Commands Run the following commands on P1: P1(config)#interface smartgroup1 P1(config-if-smartgroup1)#exit P1(config)#lacp P1(config-lacp)#interface smartgroup1 P1(config-lacp-sg-if-smartgroup1)#lacp mode 802. Configure the TE tunnel tunnel1.3 Configuration Instance for Binding Interfaces Supporting TE Bandwidth Reservation Configuration Description In Figure 2-38. the MPLS TE tunnel is established through OSPF-TE. Configure the smartgroup binding interface. and enable the TE function on the smartgroup1 interface. Configure the routing protocol OSPF on P1 and P2.23. 3. 2. Set the bandwidth reservation management mode of the smartgroup1 interface to te-trunk.Chapter 2 MPLS TE Configuration 2. the tunnel path is P1-P2. configure a 10 M reserved bandwidth for the tunnel and configure the smartgroup1 interface as the egress of the TE tunnel. In the network. 4.

1 P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#interface smartgroup1 P1(config-mpls-te-if-smartgroup1)#exit P1(config-mpls-te)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#ip unnumbered loopback1 P1(config-if-te_tunnel1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#explicit-path name 1 P1(config-mpls-te-expl-path-name)#next-address strict 19.1.22 P1(config-mpls-te-expl-path-name)#exit P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 2.2.255.255 P1(config-if-loopback1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#router-id 1.3ad P2(config-lacp-sg-if-smartgroup1)#exit P2(config-lacp)#interface gei-0/1/0/1 2-216 SJ-20140731105308-012|2014-10-20 (R1.1 255.18.18.0.0.0.0.255.17.2.2 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 explicit-path name 1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng bandwidth 10000 P1(config-mpls-te-tunnel-te_tunnel1)#exit P1(config-mpls-te)#interface smartgroup1 P1(config-mpls-te-if-smartgroup1)#te-trunk P1(config-mpls-te-if-smartgroup1)#bandwidth 10000 P1(config-mpls-te-if-smartgroup1)#exit P1(config-mpls-te)#exit Run the following commands on P2: P2(config)#interface smartgroup1 P2(config-if-smartgroup1)#exit P2(config)#lacp P2(config-lacp)#interface smartgroup1 P2(config-lacp-sg-if-smartgroup1)#lacp mode 802.0 P1(config-ospf-1)#mpls traffic-eng area 0.17.1.11 255.0 0.17.18.1.0 P1(config-if-smartgroup1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#network 19.ZXR10 M6000-S Configuration Guide (MPLS) P1(config)#interface smartgroup1 P1(config-if-smartgroup1)#ip address 19.1.255.0.0 P1(config-ospf-1)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 1.255.0.255 area 0.0) ZTE Proprietary and Confidential .

0.255 area 0.255.Port is requested in Slow LACPDUs F .2.18.Chapter 2 MPLS TE Configuration P2(config-lacp-member-if-gei-0/1/0/1)#smartgroup 1 mode active P2(config-lacp-member-if-gei-0/1/0/1)#exit P2(config-lacp)#interface gei-0/1/0/2 P2(config-lacp-member-if-gei-0/1/0/2)#smartgroup 1 mode active P2(config-lacp-member-if-gei-0/1/0/2)#exit P2(config-lacp)#exit P2(config)#interface smartgroup1 P2(config-if-smartgroup1)#no shutdown P2(config-if-smartgroup1)#ip address 19. The execution result is displayed as follows: P1(config)#show rsvp bandwidth interface 2-217 SJ-20140731105308-012|2014-10-20 (R1. Run the show rsvp bandwidth interface command to check the bandwidth reservation information of the TE interface on P1.17.Port is in Passive mode Actor Agg LACPDUs Port[Flags] State Interval Pri Port Oper Port Key State Machine RX Mux Machine -------------------------------------------------------------------------------gei-0/1/0/2[SA*] ACTIVE 30 32768 0x111 0x3d CURRENT COLL&DIST gei-0/1/0/1[SA*] ACTIVE 30 32768 0x111 0x3d CURRENT COLL&DIST 2.18.0. Run the show lacp 1 internal command to check the binding interface information on P1.17.2 255.0 P2(config-if-smartgroup1)#exit P2(config)#router ospf 1 P2(config-ospf-1)#network 19. The execution result is displayed as follows: P1(config)#show lacp 1 internal Smartgroup:1 Flags: * .0.0.255.2.0.2.0 P2(config-ospf-1)#exit P2(config)#interface loopback1 P2(config-if-loopback1)#ip address 2.2 P2(config-mpls-te)#interface loopback1 P2(config-mpls-te-if-loopback1)#exit P2(config-mpls-te)#interface smartgroup1 P2(config-mpls-te-if-smartgroup1)#exit P2(config-mpls-te)# Configuration Verification 1.2.0) ZTE Proprietary and Confidential .Port is in Active mode P .255 P2(config-if-loopback1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#router-id 2.22 255.0 P2(config-ospf-1)#mpls traffic-eng area 0.255.Port is requested in Fast LACPDUs A .0.0 0.255.Port is Active member Port S .

ZXR10 M6000-S Configuration Guide (MPLS) config: Reserved bandwidth is defined for the future TE-LSP (kbps) maxAvail: Maximum bandwidth can be allocated (kbps) used: Bandwidth is allocated for the existed TE-LSP (kbps) Interface: gei-0/1/0/1 Static perflow: 0 Static percent: 0 Dynamic perflow:0 Dynamic percent:40 Config MaxAvail Used Static reserve 0 0 0 10000 10000 10000 Dynamic reserve Interface: gei-0/1/0/2 Static perflow: 0 Static percent: 0 Dynamic perflow:0 Dynamic percent:40 Config MaxAvail Used Static reserve 0 0 0 10000 0 0 Dynamic reserve Interface: smartgroup1 Static perflow: 0 Static percent: 0 Dynamic perflow:0 Dynamic percent:40 Config MaxAvail Used Static reserve 0 0 0 10000 10000 10000 Dynamic reserve 3.2 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1. The execution result is displayed as follows: P1(config)#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 2.0) ZTE Proprietary and Confidential . Run the show mpls traffic-eng tunnels te_tunnel 1 command on P1 to check which member interface of the smartgroup1 interface is the egress on the tunnel. type dynamic (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: No path options protected Config Parameters: Resv-Style: SE Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: disabled 2-218 SJ-20140731105308-012|2014-10-20 (R1.2.2.

0.2.Chapter 2 MPLS TE Configuration Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy Class: Default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 10000 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None Include-any: None Include-all: None AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0. Dst 2.11 19.17. burst= 0 byte. 3 RSVP Signalling Info : Src 1.17.1. 3 hour.22 2.2. 2 minute. 3 second Prior LSP: path option 1 Current LSP: Uptime:0 day.0) ZTE Proprietary and Confidential .18.18.1. Tun-ID 1. burst= 0 byte. Tun-Instance 321 RSVP Path Info: Explicit Route: 19.2. 10 minute. 0 hour.0 Without-CSPF: disabled InLabel: OutLabel: smartgroup1(gei-0/1/0/2).0. 29 second 2-219 SJ-20140731105308-012|2014-10-20 (R1.2 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 10000 kb.2. peak rate= 10000 kb History: Tunnel: Time Since Created: 0 day.2.1. peak rate= 10000 kb RSVP Resv Info: Record Route: NULL Fspec: ave rate= 10000 kb.

errcode:66. Enable a TE tunnel to support resource reservation. 2-220 SJ-20140731105308-012|2014-10-20 (R1. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Sets the tunnel to support FF number)#tunnel mpls traffic-eng resv-style {ff | se} (ff) or SE (se) style. If the FRR function is enabled first on a tunnel. If the FF style is configured on a tunnel first.1 Resource Reservation in FF Mode on the RSVP-TE Resource reservation refers to reserving resources for different transmitting ends in the same session. Default: 2 se. resources are reserved for every transmitting end. The ZXR10 M6000-S supports two reservation modes: l l Fixed Filter (FF): in which. The output information shows that the member interface gei-0/1/0/2 of smartgroup1 is selected as the egress interface of the tunnel.0) ZTE Proprietary and Confidential . Steps 1.24.errvalue:0). Shared Explicit (SE): in which. Tunnel config changed(lspid:1. The FF style and the FRR function are mutually exclusive. This function configures a tunnel to dynamically support both the FF and SE modes.errcode:1. 2.2 Configuring RSVP-TE Supporting Resource Reservation This procedure describes how to enable a TE tunnel to support resource reservation. Verify the configurations. 2. 2. Step Command Function 1 ZXR10(config-mpls-te)#tunnel te_tunnel Enters Tunnel interface <tunnel-number> configuration mode. resources are shared among specified transmitting ends.errvalue:3).24. the FF style cannot be configured.24 RSVP-TEs Supporting Resource Reservation 2.ZXR10 M6000-S Configuration Guide (MPLS) Last LSP Error Information: Resv tear:resv tear(lspid:4. the FRR function cannot be configured.

the resource reservation mode must be set to SE. and P3. Enable the TE function on the physical interfaces of P1. reserved bandwidth of 20 M. 2-221 SJ-20140731105308-012|2014-10-20 (R1. in which a tunnel is established among P1-P2-P3 through the IGP-TE. a reserved bandwidth is configured for the tunnel. 5. and resource reservation mode of FF. Configure TE tunnel 1 on P1. A tunnel supports only one resource reservation mode.0) ZTE Proprietary and Confidential .Chapter 2 MPLS TE Configuration Command Function ZXR10#show mpls traffic-eng tunnels Displays tunnel information. P2. To enable a tunnel to support FRR or multiple LSPs of the same tunnel to share the bandwidth. the tunnel will be cleared and re-established. 3. dynamic routing mode. Enable the TE function on the loopback interfaces of P1. and P3. and enable the TE function on the OSPF neighbors. Figure 2-39 Instance for Resource Reservation Configuration on the RSVP-TE After a resource reservation mode is successfully configured. and configure the router-id of the TE as the loopback interface address. you can check whether the resource reservation mode in the tunnel information is correct on the head node. and configure an available bandwidth of 20 M for the egress interfaces of P1 and P2. and P3. If you modify the mode of a tunnel. Configuration Flow 1. 2. Configure the interfaces connecting P1. Configure OSPF neighbors for P1. an available bandwidth is configured for the egress interface. and the resource reservation mode configured for the tunnel is SE (default) or FF. and the corresponding loopback interface addresses. 4. and P3. P2. P2. – End of Steps – 2.3 Instance for Resource Reservation in FF Mode on the RSVP-TE Configuration Description Figure 2-39 shows a configuration instance.24. P2. with the destination address P3.

101.1.101.0.0 area 0 P1(config-ospf-1)#mpls traffic-eng area 0 P1(config-ospf-1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit P1(config-mpls-te)#router-id 101.1 0.255 P1(config-if-loopback1)#exit P1(config)#router ospf 1 P1(config-ospf-1)#network 1.255.255.0 P1(config-if-gei-0/1/0/1)#no shutdown P1(config-if-gei-0/1/0/1)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 101.255.255.1.1.101.255. the system prompts that the FRR function is conflicting with the FF resource reservation mode.103.101 255.103.255.1.1.0) ZTE Proprietary and Confidential . Configuration Commands Run the following commands on P1: P1#configure terminal P1(config)#interface gei-0/1/0/1 P1(config-if-gei-0/1/0/1)#ip address 1.2 255.0.101.0 P2(config-if-gei-0/1/0/1)#no shutdown 2-222 SJ-20140731105308-012|2014-10-20 (R1.ZXR10 M6000-S Configuration Guide (MPLS) Note: When the FRR function is configured in tunnel 1.103 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng bandwidth 20000 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng path-option 1 dynamic P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng resv-style ff Run the following commands on P2: P2#configure terminal P2(config)#interface gei-0/1/0/1 P2(config-if-gei-0/1/0/1)#ip address 1.1 255.101 P1(config-mpls-te)#interface gei-0/1/0/1 P1(config-mpls-te-if-gei-0/1/0/1)#bandwidth dynamic 20000 P1(config-mpls-te-if-gei-0/1/0/1)#exit P1(config-mpls-te)#exit P1(config)#interface te_tunnel1 P1(config-if-te_tunnel1)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#tunnel te_tunnel1 P1(config-mpls-te-tunnel-te_tunnel1)#tunnel destination ipv4 103.1.

255.0 P2(config-if-gei-0/2/0/1)#no shutdown P2(config-if-gei-0/2/0/1)#exit P2(config)#interface loopback1 P2(config-if-loopback1)#ip address 102.0 area 0 P3(config-ospf-1)#mpls traffic-eng area 0 P3(config-ospf-1)#exit P3(config)#mpls traffic-eng P3(config-mpls-te)#interface loopback1 P3(config-mpls-te-if-loopback1)#exit P3(config-mpls-te)#router-id 103.0 area 0 P2(config-ospf-1)#mpls traffic-eng area 0 P2(config-ospf-1)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#interface loopback1 P2(config-mpls-te-if-loopback1)#exit P2(config-mpls-te)#router-id 102.102.0.1.103 255.0.103 P3(config-mpls-te)#interface gei-0/1/0/2 P3(config-mpls-te-if-gei-0/1/0/2)#exit P3(config-mpls-te)# 2-223 SJ-20140731105308-012|2014-10-20 (R1.103.4 255.0 P3(config-if-gei-0/1/0/2)#no shutdown P3(config-if-gei-0/1/0/2)#exit P3(config)#interface loopback1 P3(config-if-loopback1)#ip address 103.0.0.255.1.102.0.1.Chapter 2 MPLS TE Configuration P2(config-if-gei-0/1/0/1)#exit P2(config)#interface gei-0/2/0/1 P2(config-if-gei-0/2/0/1)#ip address 9.1.103.2 255.255.1.102 255.1.1.0 area 0 P2(config-ospf-1)#network 9.255.1.2 0.255 P2(config-if-loopback1)#exit P2(config)#router ospf 1 P2(config-ospf-1)#network 1.255.255.255 P3(config-if-loopback1)#exit P3(config)#router ospf 1 P3(config-ospf-1)#network 9.102.0) ZTE Proprietary and Confidential .102 P2(config-mpls-te)#inter gei-0/1/0/1 P2(config-mpls-te-if-gei-0/1/0/1)#exit P2(config-mpls-te)#inter gei-0/2/0/1 P2(config-mpls-te-if-gei-0/2/0/1)#bandwidth dynamic 20000 P2(config-mpls-te-if-gei-0/2/0/1)#exit P2(config-mpls-te)# Run the following commands on P3: P3#configure terminal P3(config)#interface gei-0/1/0/2 P3(config-if-gei-0/1/0/2)#ip address 9.103.1.102.103.2 0.0.4 0.1.255.255.

type dynamic (Basis for Setup) Actual Bandwidth: N/A Hot-standby protection: No path options protected Config Parameters: Resv-Style: FF Metric Type: IGP (default) Hop Prior: disabled Upper Limit: 4294967295 Upper Limit: - Record-Route: disabled Facility Fast-reroute: disabled Detour Fast-reroute: disabled Bandwidth Protection: disabled Hot-standby-lsp Fast-reroute: disabled BFD: disabled Policy Class: Default Track Name: Auto-reoptimize: disabled Hot-standby-lsp Auto-reoptimize: disabled Reference Hot-standby: disabled Tunnel-Status: enabled Bandwidth: 20000 kbps (Global) Priority: 7 CBS: 0 byte EIR: 0 kbps 7 EBS: 0 byte Affinity(Bit position): Exclude-any: None 2-224 SJ-20140731105308-012|2014-10-20 (R1.103. P1(config-mpls-te-tunnel-te_tunnel1)#show this !<mpls-te> tunnel destination ipv4 103.103.103 tunnel mpls traffic-eng bandwidth 20000 tunnel mpls traffic-eng path-option 1 dynamic tunnel mpls traffic-eng resv-style ff !</mpls-te> 2. Resv-Style: FF in the displayed result indicates that the resource reservation mode FF is correct.0) ZTE Proprietary and Confidential . Run the following command to check the configuration of a tunnel. Run the following command to check the tunnel information on P1.ZXR10 M6000-S Configuration Guide (MPLS) Configuration Verification 1. P1#show mpls traffic-eng tunnels te_tunnel 1 Name: tunnel_1 (Tunnel1) Destination: 103.103.103 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 1. ff in the displayed result indicates that the resource reservation mode is FF.103.

Dst 103.0 Without-CSPF: disabled InLabel: OutLabel: gei-0/1/0/1.103.103. a conflict prompt is displayed. 0 hour.errcode:1. 3.Chapter 2 MPLS TE Configuration Include-any: None Include-all: None AutoRoute: disabled AUTO-BW: disabled Forwarding-adjacency: disabled Co-routed Bidirect: disabled Associated Bidirect: disabled Rate-limit: disabled Crankback: disabled Soft Preemption: disabled Soft Preemption Status: not pending Addresses of preempting links: 0. 3 second Last LSP Error Information: Tunnel config changed(lspid:1. 0 minute.103 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 20000 kb.1.1.0) ZTE Proprietary and Confidential .1. Tun-ID 1.103.1. 0 minute.101.1. peak rate= 20000 kb RSVP Resv Info: Record Route: NULL Fspec: ave rate= 20000 kb. 147457 RSVP Signalling Info : Src 101. burst= 0 byte.103.1 1.101.101.0. 31 second Prior LSP: path option 1 Current LSP: Uptime:0 day.1.1. No that when you configure the FRR with the resource reservation mode set to FF.1.2 9. peak rate= 20000 kb History: Tunnel: Time Since Created: 0 day.errvalue:3).2 9. 0 hour.103.0. for example: P1(config-mpls-te-tunnel-te_tunnel1)#tunnel mpls traffic-eng fast-reroute facility %Error 90953: MPLS-TE resv-style FF and FRR are mutually exclusive. 2-225 SJ-20140731105308-012|2014-10-20 (R1. burst= 0 byte.4 103. Tun-Instance 2 RSVP Path Info: Explicit Route: 1.

ZXR10 M6000-S Configuration Guide (MPLS) This page intentionally left blank. 2-226 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential .

Through MPLS OAM....................... Steps 1...........0) ZTE Proprietary and Confidential ................................ The ingress node sends OAM connectivity detection packets (Connectivity Verification (CV)/Fast Failure Detection (FFD)) periodically................. the source end sending/the destination end detecting... Administration and Maintenance (OAM) technology provides a set of mechanisms for failure detection on MPLS network......... Before the configuration of MPLS OAM....... The transit nodes transmit the packets transparently..3-1 Configuring MPLS OAM ...3-4 3.Chapter 3 MPLS OAM Configuration Table of Contents MPLS OAM Overview .... The egress node detects the packets periodically.. MPLS OAM aims at the connectivity detection of single LSP... it is necessary to establish the detecting tunnel and the reversed tunnel................. 3.. It is necessary to configure MPLS OAM function on the ingress node of the detecting tunnel and the packet type............. To enable MPLS OAM globally..... and then configure the corresponding command to receive and detect MPLS OAM packets....................1 MPLS OAM Overview MPLS Operation.................... run the following command: 3-1 SJ-20140731105308-012|2014-10-20 (R1............ It is also necessary to configure MPLS OAM function on the egress node of the detecting tunnel...........2 Configuring MPLS OAM This procedure describes how to configure MPLS OAM............... detection function on the Constraint-based Routing Label Switched Path (CR-LSP) forwarding plane can be realized........3-1 MPLS OAM Configuration Example... Network administrators need to configure MPLS OAM function manually.. it will send Backward Defect Indication (BDI) packets to notify the LSP source node through the reversed tunnel to implement protection handover.............................. When the destination end detects a failure... and then enable OAM to send the detection packets............

ZXR10#show mpls oam statistics local_tunnel {all | cv | Displays information about all packets ffd | bdi |fdi} or the specified packets over all local tunnels. <interval>: time interval (in milliseconds) for sending MPLS OAM detection packets. ype ffd frequence <interval >[ exp <exp-priority>] 3 ZXR10(config-mpls-oam-te_tunnel-tunnel-id)#m Enables MPLS OAM (the pls oam enable ingress node starts to send detection packets).0) ZTE Proprietary and Confidential .ZXR10 M6000-S Configuration Guide (MPLS) Command Function ZXR10(config)#mpls oam Enables MPLS OAM globally. and enters MPLS OAM global configuration mode. ZXR10#show mpls oam information remote_tunnel Displays information about all remote tunnels. range: 0–7. To display the configuration results. <tunnel-id>[share] type {cv |ffd frequence <interval>} exp <exp-priority>: priority of MPLS OAM detection packets. perform the following steps: Step Command Function 1 ZXR10(config-mpls-oam)#local te_tunnel < tunnel-id> Enables MPLS OAM on the ingress <ingress-id> local tunnel.3 l 10 l 20 l 50 l 100 l 200 l 500 3. options: l 3. 4 ZXR10(config-mpls-oam)#egress te_tunnel Enables MPLS OAM on the <tunnel-id> ingress <ingress-id> backward-tunnel tail node of the tunnel. ZXR10(config-mpls-oam-te_tunnel-tunnel-id)#t Configures the type and ype cv [ exp <exp-priority>] priority of MPLS OAM 2 ZXR10(config-mpls-oam-te_tunnel-tunnel-id)#t detection packets. 2. run the following commands: Command Function ZXR10#show mpls oam information local_tunnel Displays information about all local tunnels. To enable MPLS OAM on a tunnel. 3-2 SJ-20140731105308-012|2014-10-20 (R1.

the result of the packet statistics displayed by using related show commands are cleared. ZXR10(config-mpls-oam-te_tunnel-tunnel- Collects statistics on MPLS OAM id)#statistics {all | cv | ffd | fdi | bdi} packets on the specified local tunnel. l To collect packet statistics. run the following commands: 3-3 SJ-20140731105308-012|2014-10-20 (R1. and the information is collected again. ZXR10#show mpls oam statistics remote_tunnel {all | cv Displays statistical information about all | ffd | bdi | fdi} packets or the specified packets over all remote tunnels. l To clear packet statistics. After the commands are executed. ZXR10(config-mpls-oam)#statistics remote_tunnel Collects statistics on MPLS OAM <tunnel-id> ingress <ingress-id>{all | cv | ffd | bdi| packets on the specified remote fdi} tunnel. Displays the debugging switch state. ZXR10#show mpls oam statistics remote_tunnel Displays statistical information about all <ingress-id> ingress <ingress-id>{all | cv | ffd | bdi | fdi} packets or the specified packets over the specified remote tunnel. Maintain MPLS OAM.0) ZTE Proprietary and Confidential . ZXR10#show debug mpls-oam 4. There is no output result of the commands to collect packet statistics. run related show commands to display the sending and receiving statistical information about OAM packets on the tunnels where MPLS OAM is enabled. ZXR10#clear mpls oam statistics remote_tunnel Clears the statistical information about <tunnel-id> ingress <ingress-id>{all | cv | ffd | fdi the specified packets on the specified | bdi} remote static tunnel. There is no output result of the commands to clear statistics of packets. run the following commands: Command Function ZXR10(config-mpls-oam)#statistics {all | cv | ffd | Collects statistics on MPLS OAM fdi | bdi} packets on all tunnels.Chapter 3 MPLS OAM Configuration Command Function ZXR10#show mpls oam statistics local_tunnel Displays statistical information about <tunnel-id> ingress <ingress-id>{all | cv | ffd | bdi |fdi} all packets or specified packets of a specific local tunnel. l To debug MPLS OAM-related functions. After the commands are executed. run the following commands: Command Function ZXR10#clear mpls oam statistics local_tunnel Clears the statistics information about <tunnel-id> ingress <ingress-id>{all | cv | ffd | fdi the specified packets on the specified | bdi} local static tunnel.

It is required to establish two tunnels between PE1 to PE2. set Tunnel1002 to the reversed tunnel. Enable MPLS OAM to detect the remote tunnels on the tail node of Tunnel1001. Enable MPLS OAM to detect the local tunnels on the head node of Tunnel1001. Figure 3-1 MPLS OAM Configuration Example Configuration Flow Set Tunnel1001 to the detecting tunnel.3 MPLS OAM Configuration Example Scenario Description Figure 3-1 shows a sample network topology. and Tunnel1002 is the reverse tunnel. Configuration Commands Run the following commands to configure head node PE1: 3-4 SJ-20140731105308-012|2014-10-20 (R1. Enables the debugging of MPLS OAM BDI ZXR10#debug mpls oam bdi packets. Enables the debugging of MPLS OAM CV ZXR10#debug mpls oam cv packets. Enables the debugging of MPLS OAM FDI ZXR10#debug mpls oam fdi packets. Tunnel1001 is the detection tunnel.ZXR10 M6000-S Configuration Guide (MPLS) Command Function ZXR10#debug mpls oam all Enables the debugging of all MPLS OAM functions. – End of Steps – 3.0) ZTE Proprietary and Confidential .

2 PE1(config-mpls-te-static-te_tunnel1001-lsp)#exit PE1(config-mpls-te-static-te_tunnel1001)#exit PE1(config-mpls-te)#exit PE1(config)#ip route 85.255 PE1(config-if-loopback1)#exit PE1(config)#interface te_tunnel1001 PE1(config-if-te_tunnel1001)#ip unnumbered loopback1 PE1(config-if-te_tunnel1001)#exit PE1(config)#mpls traffic-eng PE1(config-mpls-te)#interface loopback1 PE1(config-mpls-te-if-loopback1)#exit PE1(config-mpls-te)#router-id 4.5.81.255.5.1/24 PE1(config-if-gei-0/3/0/4)#exit PE1(config)#interface loopback1 PE1(config)#ip address 4.81 255.81.255.255 3-5 SJ-20140731105308-012|2014-10-20 (R1.255.255.0) ZTE Proprietary and Confidential .255.81.82 255.81.3.2/24 PE2(config-if-gei-0/3/1/2)#exit PE2(config)#interface loopback1 PE2(config-if-loopback1)#ip address 4.3 PE1(config-mpls-oam-te_tunnel-1001)#mpls oam enable PE1(config-mpls-oam-te_tunnel-1001)#exit PE1(config-mpls-oam)#exit Run the following commands to configure tail node PE2: PE2(config)#interface gei-0/3/1/2 PE2(config-if-gei-0/3/1/2)#no shutdown PE2(config-if-gei-0/3/1/2)#ip address 81.81.82.82.81.81 egress 4.81 PE1(config-mpls-te)#interface gei-0/3/0/4 PE1(config-mpls-te-if-gei-0/3/0/4)#exit PE1(config-mpls-te)#static te_tunnel1001 PE1(config-mpls-te-static-te_tunnel1001)#role ingress type unidirectional PE1(config-mpls-te-static-te_tunnel1001)#ingress-tunnel-id 1001 ingress 4.81.Chapter 3 MPLS OAM Configuration PE1(config)#interface gei-0/3/0/4 PE1(config-if-gei-0/3/0/4)#no shutdown PE1(config-if-gei-0/3/0/4)#ip address 81.82.3.81 PE1(config-mpls-oam-te_tunnel-1001)#type ffd frequence 3.82.255.3.81.3.82 PE1(config-mpls-te-static-te_tunnel1001)#lsp 1 PE1(config-mpls-te-static-te_tunnel1001-lsp)#out-seg-info out-port gei-0/3/0/4 out-label 3 next-hop 81.3.255 te_tunnel1001 Run the following commands to configure the MPLS OAM: PE1(config)#mpls oam PE1(config-mpls-oam)#local te_tunnel 1001 ingress 4.3.2 255.

P2(config)#mpls oam P2(config-mpls-oam)#egress te_tunnel 2 ingress 1.82 PE2(config-mpls-te-static-te_tunnel91001)#lsp 1 PE2(config-mpls-te-static-te_tunnel91001-lsp)#in-seg-info in-port gei-0/3/1/2 in-label 3 PE2(config-mpls-te-static-te_tunnel91001-lsp)#exit PE2(config-mpls-te-static-te_tunnel91001)#exit PE2(config-mpls-te)#exit Run the following commands to configure the MPLS OAM: PE2(config)#mpls oam PE2(config-mpls-oam)#egress te_tunnel 1002 ingress 4.1.82.81 Node-Role : Head 3-6 SJ-20140731105308-012|2014-10-20 (R1.82.82. refer to Chapter 4.81. A basic static tunnel has been established in this example).82. The execution result is displayed as follows: PE1#show mpls oam information local_tunnel Local tunnel Num : 1 State init Num : 0 State up Num : 0 State down Num : 0 TunnelId : 1001 LspId : 1 IngressId : 4.81.81.82 backward-tunnel 1001 share type ffd frequence 3.82.82 PE2(config-mpls-te)#interface loopback1 PE2(config-mpls-te-if-loopback1)#exit PE2(config-mpls-te)#interface gei-0/3/1/2 PE2(config-mpls-te-if-gei-0/3/1/2)#exit PE2(config-mpls-te)#static te_tunnel91001 PE2(config-mpls-te-static-te_tunnel91001)#role egress type unidirectional PE2(config-mpls-te-static-te_tunnel91001)#ingress-tunnel-id 1001 ingress 4.2 backward-tunnel 1 share type ffd frequence 3.1.3 Configuration Verification Run the show mpls oam information local_tunnel command to check whether the local MPLS OAM of a tunnel is enabled on PE1.81.81 egress 4.3 Run the following commands on P2 (for the basic static tunnel configuration.0) ZTE Proprietary and Confidential .ZXR10 M6000-S Configuration Guide (MPLS) PE2(config-if-loopback1)#exit PE2(config)#interface te_tunnel91001 PE2(config-if-te_tunnel91001)#ip unnumbered loopback1 PE2(config-if-te_tunnel91001)#exit PE2(config)#mpls traffic-eng PE2(config-mpls-te)#router-id 4.82.

82.82 CV : 0 FFD: 0 BDI: 0 FDI: 0 3-7 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential . Frequency: 3. Frequency: 3.82.82.82. Priority: 0 BkTunnel : 1001 Share : Yes Enable : Yes Trans-State : dInitStat(hex:ffff) Detect-State : dInitStat(hex:ffff) PE2#show mpls oam statistics remote_tunnel al Tunnelid: 1002.Chapter 3 MPLS OAM Configuration Ascription : Yes Packet : FFD. Ingressid: 4. Priority: 0 BkTunnel : 0 Share : No Enable : Yes Trans-State : OK(hex:0000) Detect-State : OK(hex:0000) Run the show mpls oam information remote_tunnel command to check whether the remote MPLS OAM of a tunnel is enabled on PE2.82 Node-Role : Tail Ascription : No Packet : FFD.3. The execution result is displayed as follows: PE2#show mpls oam information remote_tunnel Remote tunnel Num : 1 State init Num : 1 State up Num : 0 State down Num : 0 TunnelId : 1002 LspId : 1 IngressId : 4.3.

0) ZTE Proprietary and Confidential . 3-8 SJ-20140731105308-012|2014-10-20 (R1.ZXR10 M6000-S Configuration Guide (MPLS) This page intentionally left blank.

........... The connectivity of a static tunnel can be detected by MPLS OAM... Shared bidirectional tunnels can be implemented by enabling a static TE tunnel to forward data in both forward and backward directions..... associated bidirectional tunnels can be implemented with only the support of the head and tail nodes.0) ZTE Proprietary and Confidential ..1 Associated Bidirectional Tunnels for a Static TE Tunnel Two types of bidirectional tunnels are provided: Shared and Associated..... In addition.. that is. for associated bidirectional tunnels.. the static tunnel costs few resources and it is suitable for the networks with small scale and simple topology. The LSRs on the static tunnel are not aware of the whole tunnel.. When the active tunnel has a fault...........4-4 4............1..............1 Static Tunnel Overview A static tunnel is a tunnel configured manually by network administrators.... When configuring a static tunnel.. 4-1 SJ-20140731105308-012|2014-10-20 (R1.. The value of the out-label on the previous node should equal to the value of the in-label on the following node......... a static tunnel cannot be established by using label distribution protocol to distributing labels dynamically...... However....... signaling expansion is not needed and resources areseparatelyy reserved....Chapter 4 Static Tunnel Configuration Table of Contents Static Tunnel Overview..... The binding relation is perceived only at two ends.. Therefore.......... It is necessary to configure static tunnel commands on the LSRs of the whole tunnel.........4-1 Configuring a Static Tunnel ... 4.. Therefore............................. the static tunnel is a local concept....... Associated bidirectional tunnels have an advantage over shared bidirectional tunnels.... Associated bidirectional tunnels refer to two unidirectional tunnels (with the same tail nodes but in reverse directions) bound together to implement the functions of a bidirectional tunnel....... transit nodes and tail node.. protection handover can be implemented immediately through MPLS OAM detection... It is configured manually by network administrators.... including the head node....... network administrators need to distribute labels for the LSRs manually...... The two reverse paths of associated bidirectional tunnels are not necessary to be overlapped.... This is the principle that should be complied with..... Only when the configuration on each node of the tunnel is correct will the services be forwarded properly on the tunnel. It is not necessary to trigger the static tunnel through MPLS signaling or interact with control packets....

For details. in RDM mode. For details. Therefore. see Figure 4-1. no priority configuration is needed for LSPs with different CT traffics. in RDM mode.2 Static TE Tunnels Supporting DS-TE To calculate the available bandwidth for a node. In addition. In the simple and visual MAM mode.1. Bandwidth limit model indicates the relation between a CT and the BC. simple distribution of a link bandwidth among different CTs. l RDM The Russian Dolls Model allows different CTs to share a bandwidth and improves the bandwidth usage in MAM mode. see Figure 4-2. which cannot be used to bear other CTs and is wasted. However. different CTs cannot be separated. the CTs cannot share the unused bandwidth. different CTs can be completely separated. Percentage of the link bandwidth used by a CT or a group of CTs is call Bandwidth Constraint (BC). and preemption is necessary to ensure the bandwidth of the CT. which is less visual. an important problem is how to distribute the bandwidth among different CTs. a BC is mapped to one or more CTs.ZXR10 M6000-S Configuration Guide (MPLS) 4. This mode is suitable for networks in which preemption is not allowed. General models include the following: l MAM The Maximum Allocation Model (MAM) maps a BC to another CT. that is. 4-2 SJ-20140731105308-012|2014-10-20 (R1. Figure 4-1 MAM In MAM mode.0) ZTE Proprietary and Confidential .

The shared bandwidth does not need CAC verification but needs QoS reservation. in which 0 indicates the lowest level and 7 indicates the highest level. ensure that they match TE-CLASS-MAP and a sufficient static BC bandwidth is configured on the interface. and so on. BCn only ensures the bandwidth of CTn. but BCn preferentially ensures the bandwidth of CTn. and CT5.Chapter 4 Static Tunnel Configuration Figure 4-2 RDM CT7 refers to the traffic having a most strict QoS requirement. To configure a common bandwidth. Similarly. BC0 refers to the entire link bandwidth and can be shared by all CTs.To configure a CT and bandwidth on a static LSP. Two resource reservation modes are configured for sharing tunnels: Reservation and non-reservation. different BCs can share a bandwidth. This is similar to Russian dolls. without CAC verification. and a doll (BC2) smaller than BC1 can be put inside BC1.1. 4-3 SJ-20140731105308-012|2014-10-20 (R1. BC7 is the smallest one. CT6. 4. a CT and bandwidth can be configured on a static LSP. and so on. BC5 can be shared by CT7.0) ZTE Proprietary and Confidential .BC7 refers to a link bandwidth with a fixed proportion and can be reserved only for CT7 traffic. In RDM model. CAC verification is needed. BC6 refers to a link bandwidth with a proportion larger than BC7 and can be reserved for both CT7 and CT6 traffic. In MAM model.3 Reserved Bandwidth Sharing on Static TE Tunnels Static tunnels can share resources by specifying an ID of the bandwidth-shared tunnel and a shared bandwidth (including CIR/CBS/PIR/EBS). and CT0 refers to Best Effort Traffic. a small doll (BC1) can be put inside a bigger one (BC0). If a static tunnel supports the DS-TE function. To configure a shared tunnel. l Reservation: A static tunnel LSP can be configured with a common bandwidth and a shared tunnel. QoS reservation is needed. and the CT range is 0-7.

0) ZTE Proprietary and Confidential . 2 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures the type and role id)#role {ingress | transmit | egress} type {unidirectional | of the MPLS TE static tunnel. egress <lsr-id>: router-ID of the egress node of the tunnel. 4-4 SJ-20140731105308-012|2014-10-20 (R1. type: static or dynamic) reserved for the TE interface. 2.ZXR10 M6000-S Configuration Guide (MPLS) l Non-reservation: Only a common bandwidth can be configured for a static tunnel LSP. Configure a Static Tunnel in static tunnel interface configuration mode. Step Command Function 1 ZXR10(config-mpls-te)#static te-tunnel <tunnel-id> Enters static tunnel interface configuration mode. To enable MPLS TE globally and on the specified interface. Steps 1. ZXR10(config-mpls-te-if)#bandwidth Configures the bandwidth for [{static|dynamic}]<bandwidth value> the TE interface. bandwidth [{static|dynamic}]<bandwidth value>: maximum bandwidth (in kbps. perform the following steps: Step Command Function 1 ZXR10(config)#mpls traffic-eng Enables MPLS TE and enters TE configuration mode. perform the following steps: Step Command Function 1 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Enters LSP mode of the static id)#lsp <1-1> tunnel. 2 ZXR10(config-mpls-te)#interface <interface-name> Enables TE on an interface.2 Configuring a Static Tunnel This procedure describes how to configure a static tunnel. 3. range: 1–4294967295. without applying for resource CAC. bidirectional} 3 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures the ingress and id)#ingress-tunnel-id <tunnel-id> ingress <lsr-id> egress nodes of the MPLS TE egress <lsr-id> static tunnel. interface <interface-name>: name of the TE interface. To configure a static tunnel in static tunnel LSP configuration mode. ingress <lsr-id>: router-ID of the ingress node of the tunnel. 4.

out-lable <label>: value of the out-label for the egress node of the tunnel. Steps 1. burst <committed-burst-size>: committed burst size for the tunnel LSP. 4.2. peak <peak-information-rate>: peak rate for the tunnel LSP. or 16–1048575.0) ZTE Proprietary and Confidential . 3. bandwidth <bandwidth>: committed bandwidth for the tunnel LSP. ZXR10(config-mpls-te-static-te_tunnel-tunnelid-lsp)#out-seg-info out-port <interface-name> out-label <label>[next-hop <ip-address>][bandwidth <bandwidth>[burst <committed-burst-size>][peak <peak-in formation-rate>][excess-burst <excess-burst-size>]] 3 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures the forwarding id-lsp)#rvs-in-seg-info in-port <interface-name> in-label information about the <label> bidirectional MPLS TE static ZXR10(config-mpls-te-static-te_tunnel-tunnel- tunnel. or displays information about the specified static tunnel. run the following command: Command Function ZXR10#show mpls traffic-eng static [tunnel-id Displays information about all static <tunnel-id>] tunnels.Chapter 4 Static Tunnel Configuration Step Command Function 2 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures the forwarding id-lsp)#in-seg-info in-port <interface-name> in-label information about the MPLS <label> TE static tunnel. range: 0. excess-burst <excess-burst-size>: excess burst size for the tunnel LSP. 4-5 SJ-20140731105308-012|2014-10-20 (R1. range: 0.1 Configuring Bidirectional BFD for a Static Tunnel This procedure describes how to configure the bidirectional BFD function of a static tunnel. To display the configuration result. id-lsp)#rvs-out-seg-info out-port <interface-name> out-label <label>[next-hop <ip-address>][bandwidth <bandwidth>[burst <committed-burst-size>][peak <peak-in formation-rate>][excess-burst <excess-burst-size>]] in-lable <label>: value of the in-label for the ingress node of the tunnel. Configure the BFD function for a TE static tunnel on both the head and tail nodes. or 16–1048575. – End of Steps – 4. 3.

– End of Steps – 4. <min-receive-interval> multiplier <multiplier> <min-send-interval>: Specifies an expected minimum interval for sending messages. <tunnel-number>: Tunnel ID of the static tunnel node.2.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 1 ZXR10(config-mpls-te)#static te_tunnel Enters Tunnel interface <tunnel-number> configuration mode. <multiplier>: Specifies the multiplier of the detection timeout period.Range: 10-990. ZXR10(config-mpls-te. 2. unit: ms. Command Function ZXR10#show mpls traffic-eng static tunnel-id tunnel-number Displays tunnel information.Range: 10-990. 2 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Enables the BFD function of number)#bfd interval <min-send-interval> min-rx a static tunnel. 2. a holdtime duration is needed to notify te route that the tunnel is down and disable the route to perceive the tunnel flapping. unit: ms. range: 0-4294967295. <holdtime>: After the tunnel is down due to link failures.static-te_tunnel- Enables the FA function of tunnel-number)#forwarding-adjacency [holdtime the tunnel or enables the FA <tunnel-down-holdtime>] function and configure the 2 value of the holdtime field. <min-receive-interval>: Specifies an expected minimum interval for receiving messages. 4-6 SJ-20140731105308-012|2014-10-20 (R1. Verify the configurations.0) ZTE Proprietary and Confidential . unit: seconds.Range: 3-50. Steps 1. Step Command Function 1 ZXR10(config-mpls-te)#static te_tunnel Enters static Tunnel interface <tunnel-number> configuration mode. Configure the FA function on a static tunnel.2 Configuring the FA Function on a Static Tunnel This procedure describes how to configure the FA function on a static tunnel. Verify the configurations.

Command Function ZXR10#show mpls traffic-eng autoroute Checks the AR details. Verify the configurations. 4-7 SJ-20140731105308-012|2014-10-20 (R1. and its value range is 1-4294967295. ZXR10(config-mpls-te.static-te_tunnel-tunnel- Enables the AR function of a number)#autoroute announce tunnel. 2. 2 3 {<value0>| absolute <value1>| relative <value2>} <value0>: Sets the value of the default metric type of the AR function. relative <value2>: Explicitly sets the value of a relative AR metric. range: 1-4294967295. – End of Steps – 4.2. absolute <value1>: Explicitly sets the value of an absolute AR metric. Configure the AR function of a static tunnel.4 Configuring an Associated Bidirectional Tunnel for a Static TE Tunnel This procedure describes how to configure an associated bidirectional tunnel for a static TE tunnel. ZXR10(config-mpls-te-tunnel-te_tunnel-tunnel- Sets the metric value of the number)#tunnel mpls traffic-eng autoroute metric AR function. Steps 1. range: -10 to +10.2.Chapter 4 Static Tunnel Configuration Command Function ZXR10#show mpls traffic-eng forwarding-adjacency Checks the FA details. Steps 1.0) ZTE Proprietary and Confidential . – End of Steps – 4. The default metric type is absolute.3 Configuring the AR Function for a Static Tunnel This procedure describes how to configure the FR function of a static tunnel. Configure an associated bidirectional tunnel for a static TE tunnel. Step Command Function 1 ZXR10(config-mpls-te)#static te_tunnel Enters static Tunnel interface <tunnel-number> configuration mode.

0) ZTE Proprietary and Confidential .[bc7 <bandwidth value>]}][percent <percent value>] 4-8 SJ-20140731105308-012|2014-10-20 (R1.[bc3 bandwidths.5 Configuring a Static TE Tunnel Supporting DS-TE This procedure describes how to configure the DS-TE function of a static TE tunnel. Enable the DS-TE function and distribute a BC for the interface TE bandwidth on global and specified interfaces. ZXR10(config-mpls-te)#ds-te te-class <te-class map Configures the TE-CLASS id> class-type <class type value> priority <preemption mapping relation. [{static|dynamic}]<bandwidth value>[<perflow a BC.[bc4 <bandwidth value>]. Step Command Function 1 ZXR10(config)#mpls traffic-eng Enables the MPLS TE function and enters TE configuration mode.[bc2 <bandwidth value>].ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 1 ZXR10(config-mpls-te)#static te-tunnel <tunnel-id> Enters static tunnel interface configuration mode. – End of Steps – 4.[bc1 of dynamic and static <bandwidth value>].[bc5 <bandwidth value>].2. 2 3 ZXR10(config-mpls-te)#bandwidth model Configures the ds-te {mpls-te|extend-mam|mam|rdm|non-te} bandwidth model. <preemption priority value> can be set to 0 only at present. 2 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures a ID for the id)#associate-tunnel {tunnl-id} associated access tunnel.[bc6 <bandwidth value>]. and the percentages bandwidth value>][{[bc0 <bandwidth value>]. Command Function ZXR10#show mpls traffic-eng static [tunnel-id <tunnel-id>] Displays tunnel information. Steps 1. 2. ZXR10(config-mpls-te-if)#bandwidth Sets a TE interface bandwidth. Verify the configurations. 4 ZXR10(config-mpls-te)#interface <interface-name> Enables the MPLS TE function on the specified interface. For a static priority value> tunnel. <bandwidth value>].

non ds-te model.Chapter 4 Static Tunnel Configuration mpls-te: common TE model. unit: kbps. range: 1–4294967295. unit: kbps. 4-9 SJ-20140731105308-012|2014-10-20 (R1. unit: kbps. unit: kbps. range: 1-4294967295. unit: kbps. static: static reservation type. bc7 <bandwidth value>: bc7 bandwidth of the interface. unit: kbps. range: 1–4294967295. The default value is determined based on the product specifications. rdm: Russian Doll Model. bc6 <bandwidth value>: bc6 bandwidth of the interface. unit: kbps. bc1 <bandwidth value>: bc1 bandwidth of the interface. 2. range: 1–4294967295. bc4 <bandwidth value>: bc4 bandwidth of the interface. dynamic: dynamic reservation type. <te-class map id>: user-defined te-class. range: 0–7. <percent value>: percentage of the used interface bandwidth. Configure a static tunnel in interface configuration mode of the static tunnel. range: 1–4294967295. unit: kbps. range: 0–100. range: 1–4294967295. bc5 <bandwidth value>: bc5 bandwidth of the interface. man: maximum reservation model. bc0 <bandwidth value>: bc0 bandwidth of the interface. <perflow bandwidth value>: bandwidth per flow that the interface supports. range: 1–4294967295. non-te: non-model model. range: 1–4294967295. unit: kbps. interface <interface-name>: TE interface name. <bandwidth value>: maximum bandwidth that an interface supports TE. unit: kbps. <class type value>: user-defined classtype. Step Command Function 1 ZXR10(config-mpls-te)#static te-tunnel <tunnel-id> Enters static tunnel interface configuration mode. extend-mam: expanded maximum reservation model. bc3 <bandwidth value>: bc3 bandwidth of the interface. range: 1–4294967295.0) ZTE Proprietary and Confidential . range: 0–1. bc2 <bandwidth value>: bc2 bandwidth of the interface. The default dynamic and static percentages are both 40. range: 1–4294967295.

0. ZXR10(config-mpls-te-static-te_tunnel-tunnelid-lsp)#out-seg-info out-port <interface-name> out-label <label>[next-hop <ip-address>] 3 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures the tunnel going id-lsp)#out-seg-ct class-type <ct> bandwidth out the CT in forward direction. Step Command Function 1 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Enters static tunnel LSP id)#lsp <1-1> mode. static label range: 16–1048575. or. <ct>: class-type value of a DS-TE tunnel.0) ZTE Proprietary and Confidential . 3. id-lsp)#rvs-out-seg-info out-port <interface-name> out-label <label>[next-hop <ip-address>] 5 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures the tunnel going id-lsp)#rvs-out-seg-ct class-type <ct> bandwidth out the CT in backward <ct-bandwidth> direction. 0. out-label <label>: output label value for a tunnel node. Configure the CT bandwidth required for configuring a static tunnel in static tunnel LSP configuration mode. ingress <lsr-id>: Router-ID of the tunnel head node. or. egress <lsr-id>: Router-ID of the tunnel tail node. 3.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 2 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures the type and role id)#role {ingress | transmit | egress} type {unidirectional | of a static MPLS TE tunnel. in-label <label>: input label value for a tunnel node. range: 0–7. bidirectional} 3 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures the head and tail id)#ingress-tunnel-id <tunnel-id> ingress <lsr-id> nodes of a static MPLS TE egress <lsr-id> tunnel. 3. static label range: 16–1048575. 4-10 SJ-20140731105308-012|2014-10-20 (R1. 2 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures forwarding id-lsp)#in-seg-info in-port <interface-name> in-label messages on a static MPLS <label> TE tunnel. <ct-bandwidth> 4 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Configures forwarding id-lsp)#rvs-in-seg-info in-port <interface-name> in-label messages on a static MPLS <label> TE tunnel with bidirectional ZXR10(config-mpls-te-static-te_tunnel-tunnel- nodes.

Step 1 2 Command Function ZXR10(config-mpls-te-static-te_tunnel-tunnel- Enters static tunnel LSP id)#lsp <1-1> mode. 3 ZXR10(config-mpls-te-static-te_tunnel-tunnel- Specifies the backward id-lsp)#rvs-out-seg-info out-port <out-port> out-label bandwidth of a tunnel sharing <out-label>[bandwidth-share <tunnel-name>] tunnel-name in backward direction. 4-11 SJ-20140731105308-012|2014-10-20 (R1. 2. Step Command Function 1 ZXR10(config-mpls-te)#static te-tunnel <tunnel-id> Enters static tunnel interface configuration mode. ZXR10(config-mpls-te-static-te_tunnel-tunnel- Specifies a forward bandwidth id-lsp)#out-seg-info out-port <out-port> out-label of a tunnel sharing <out-label>[bandwidth-share <tunnel-name>] tunnel-name in forward direction. Command Function ZXR10#show mpls traffic-eng static [tunnel-id <tunnel-id>] Shows the information about all static tunnels or a single static tunnel with the specified tunnel-id. 2 ZXR10(config-mpls-te-static-te_tunnel-tunnelid)#bandwidth reserve mode< reserve | no-reserve> Configures the sharing mode of a specified tunnel to the reservation or non reservation mode. range: 1–4294967295. Steps 1.0) ZTE Proprietary and Confidential .6 Configuring Reserved Bandwidth Sharing on Static TE Tunnels This procedure describes how to configure the reserved bandwidth sharing function of a static TE tunnel. 4.2.Chapter 4 Static Tunnel Configuration <ct-bandwidth>: bandwidth corresponding to the CT. – End of Steps – 4. unit: kbps. Configure a shared tunnel in static tunnel LSP configuration mode. Configure the reserved bandwidth sharing model on a static TE tunnel. Verify the configurations.

ZXR10 M6000-S Configuration Guide (MPLS) 3. Verify the configurations. Command Function ZXR10#show mpls traffic-eng static [tunnel-id <tunnel-id>] Displays tunnel information. – End of Steps – 4-12 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential .

..............0) ZTE Proprietary and Confidential ......... à Supporting the handlings of various failures (such as physical link failures... and processing of various priority-based switching requirements.... and other functions... and WTR time..... the protection mode of the PTN should support 5-1 SJ-20140731105308-012|2014-10-20 (R1.... A tunnel protection group is used to configure and maintain the protection relationship between a primary tunnel and a backup tunnel.........................Chapter 5 Tunnel Protection Group Configuration Table of Contents Tunnel Protection Group Overview . the WTR function... execution of MMLs.......... and PTV services) and mobile backhaul (data services-oriented) bring new requirements and challenges to the transport network..5-9 5... PTN) gradually becomes a trend in the telecommunications industry.. The PTN is required to transport packet services effectively.....................5-6 Tunnel Protection Group Configuration Example ............... provide auto protection for links and nodes.... The packetization of the transport network (that is. Supporting the setting of the hold-off time: When the protection mode is specified for the bottom-layer network of the PTN......... Supporting the configurations of the switching mode (unidirectional or bidirectional)....................... and SD failures). and provide the packet transport technology with telecommunication-grade OAM and protection.. the service impact time caused by a protection switching should not be greater than 50 ms (except for the SD-triggered protection switching)........ Supporting the setting of the protection switching time: In the case where the total length of the link is not greater than 1200 kilometers and the hold-off time is set to 0. VPN............ forced switchover.1 Tunnel Protection Group Overview Tunnel Protection Group Introduction Packet services (such as the transport of VoIP..................... VP/VC SF... and meet the following general requirements: l l l l Supporting the handlings of link or node failures..... à Supporting the execution of MMLs providing lockout.. operation mode (returning the execution result or not)... transit node failures.......5-1 Configuring a Tunnel Protection Group......

the backup tunnel is specially used for the primary tunnel. the working connection and the protection connection are isolated. and APS signalling is needed for coordination. the destination end for the protection) APS information. The destination end chooses to receive the services from the primary tunnel or the backup tunnel based on the rules (such as defect index) defined in advance. In unidirectional protection mode. the selector at the destination end of the protection group performs the protection switching completely on the basis of the local (that is.ZXR10 M6000-S Configuration Guide (MPLS) the setting of the hold-off time (50 or 100 ms). Services are sent to the destination end of the protection domain on the primary tunnel and the backup tunnel at the same time. and the selectors at both ends are independent of each other. Bidirectional switching mechanism is similar to unidirectional switching mechanism. Bidirectional protection can prevent one-way faults in both directions. This can avoid a conflict between PTN protection and bottom-layer network protection. only the services in the affected direction are switched to the protection path. 5-2 SJ-20140731105308-012|2014-10-20 (R1. There are two switching types of 1+1 linear protection. Figure 5-1 shows the structure of unidirectional 1+1 linear protection switching. 1+1 Linear Protection In 1+1 structure. The operational types of 1+1 linear protection can be revertive or non-revertive.0) ZTE Proprietary and Confidential . unidirectional switching and bidirectional switching. The working services (the protected services) are bridged to the working connection and the protection connection permanently at the source end of the protection group. The primary tunnel and the backup tunnel are bridged at the source end of the protection group. To prevent single point of failures. For unidirectional switching.

the fault will be detected on Node Z at the destination end in the protection domain.Chapter 5 Tunnel Protection Group Configuration Figure 5-1 Structure of Unidirectional 1+1 Linear Protection Switching If a fault occurs on the working connection (in the transport direction from Node A to Node Z).0) ZTE Proprietary and Confidential . as shown in Figure 5-2. Then the selector of Node Z will switch the services to the protection connection. 5-3 SJ-20140731105308-012|2014-10-20 (R1.

the working connection and the protection connection are isolated. The protected working services are transmitted by the working connection or the protection connection. To prevent single-point invalidation. That is. In unidirectional protection mode.0) ZTE Proprietary and Confidential . Bidirectional switching needs APS to coordinate the two ends of the connection. Figure 5-3 shows the structure of unidirectional 1:1 linear protection switching. The selection of the primary tunnel and the backup tunnel is decided by some mechanism. the backup tunnel is special for the primary tunnel. The switching type of 1:1 linear protection is bidirectional. 5-4 SJ-20140731105308-012|2014-10-20 (R1. the services in both the affected and unaffected directions are switched to the protection path. the selectors at the source end and the destination end together perform the protection switching based on the local or near-end information and the APS protocol information from the other end or a remote end.ZXR10 M6000-S Configuration Guide (MPLS) Figure 5-2 Unidirectional 1+1 Linear Protection Switching (Signal Failure) 1:1 Linear Protection In 1:1 structure.

When Node Z confirms that the priority of the switching protection request is valid.0) ZTE Proprietary and Confidential . Node A detects the fault. The procedure is described below. 3. The selector of Node A is bridged to backup tunnel A-Z. Related APS messages are sent from Node Z to Node A to advertise related switching information. 4. as shown in Figure 5-4. 2. 1. 5. Node Z merges it selector into the backup tunnel A-Z. the fault will be detected on Node A. Then the APS protocol triggers protection switching. Service packets are transmitted over the backup tunnel. 5-5 SJ-20140731105308-012|2014-10-20 (R1. 6.Chapter 5 Tunnel Protection Group Configuration Figure 5-3 Unidirectional 1:1 Linear Protection Switching (Expressed in Single Direction) If a fault occurs on the working connection in the direction from Node Z to Node A. An APS protection switching request is sent from Node A to Node Z.

and the maximum value depends on the product specifications. The minimum value is 1. Default: 32768. ZXR10(config-tunnel-group-id)#protect-type 1:1 Sets the protection type to {bidirectional | unidirectional} receiving {both | selective} 1:1 in tunnel protection group mode. 5-6 SJ-20140731105308-012|2014-10-20 (R1. Steps 1.ZXR10 M6000-S Configuration Guide (MPLS) Figure 5-4 Unidirectional 1:1 Protection Switching (Primary Tunnel Z-A Failure) 5. Step Command Function 1 ZXR10(config)#tunnel-group<group-id> Configures a tunnel protection group and enters tunnel protection group mode. <group-id> is the tunnel protection group ID configured for a user.2 Configuring a Tunnel Protection Group This procedure describes how to configure a tunnel protection group.0) ZTE Proprietary and Confidential . Configure a linear tunnel protection group. 2 ZXR10(config-tunnel-group-id)#protect-type 1+1 Sets the protection type to {bidirectional | unidirectional} receiving {both | selective} 1+1 in tunnel protection group mode.

For a linear tunnel protection group. 1:1: 1:1 protection type 1+1: 1+1 protection type unidirectional: unidirectional protection bidirectional: bidirectional protection selective: Messages are received in a selected direction. For a linear tunnel protection group. ensure that the ingress and egress interfaces of the working tunnel are the same as those of the protection tunnel. whose range depends on the product specifications.0) ZTE Proprietary and Confidential . this command can be omitted. ensure that the ingress and egress interfaces of the working tunnel are the same as those of the protection tunnel. <tunnel-id>: tunnel instance ID. both: Messages are received in both directions. Configure a ring network tunnel protection group. 5 ZXR10(config-tunnel-group-id)#protect-tunnel Sets a protection tunnel for a <tunnel-id> tunnel protection group. For ring protection. when modifying a working tunnel. when modifying the working tunnel. An intermediate node tunnel cannot be added to a linear tunnel protection group as a protection tunnel. 2. An intermediate node tunnel cannot be added to a linear tunnel protection group as a working tunnel. 5-7 SJ-20140731105308-012|2014-10-20 (R1.Chapter 5 Tunnel Protection Group Configuration Step Command Function 4 ZXR10(config-tunnel-group-id)#working-tunnel Sets the working tunnel of the <tunnel-id> tunnel protection group. 6 ZXR10(config-tunnel-group-id)#protect-strategy aps Sets the protection policy of a linear tunnel protection group to aps.

<group-id> is the tunnel protection group ID configured for a user. this command can be omitted. For a ring network tunnel protection group. 5 ZXR10(config-tunnel-group-id)#protect-section Configures a protection <sectionid> segment for a ring network tunnel protection group. ZXR10(config-tunnel-group-id)#protect-tunnel Sets a protection tunnel of a <tunnel-id> tunnel protection group. Default: 32768. The minimum value is 1. this command can be omitted. 6 ZXR10(config-tunnel-group-id)#working-tail-aps-id Sets the destination node <aps-id> apsid for the working tunnel of the ring network protection group. For inter-ring services. this command must be configured. 2 ZXR10(config-tunnel-group-id)#protect-type ring Sets the protection type to ring in tunnel protection group mode. For linear protection. and the maximum value depends on the product specifications.ZXR10 M6000-S Configuration Guide (MPLS) Step Command Function 1 ZXR10(config)#tunnel-group <group-id> Configures a tunnel protection group and enters tunnel protection group mode. a protection tunnel can only be a ring tunnel.0) ZTE Proprietary and Confidential . This command can be configured only after a working tunnel and protection tunnel are configured for a ring tunnel group. For linear protection. This command can be configured only after a protection segment is 5-8 SJ-20140731105308-012|2014-10-20 (R1. 3 4 ZXR10(config-tunnel-group-id)#working-tunnel Sets a working tunnel for a <tunnel-id> tunnel protection group.

whose range depends on the product specifications. <tunnel-id>: tunnel instance ID.3 Tunnel Protection Group Configuration Example Configuration Description The network topology of a static TE tunnel protection group is shown in Figure 5-5. <sectionid> is the section ID. Figure 5-5 Tunnel Protection Group Configuration Example Configuration Flow Set Tunnel1001 to the active tunnel. Command Function ZXR10#show tunnel-group all Displays the information about all tunnel protection groups that have been configured successfully.Chapter 5 Tunnel Protection Group Configuration Step Command Function configured for the ring tunnel group. 3.0) ZTE Proprietary and Confidential . ZXR10#show tunnel-group <group-id> Displays the information about the specified tunnel protection group. – End of Steps – 5. Tunnel1001 is the active tunnel. Display the configuration results. < aps-id >: range: 1–127. set Tunnel1002 to the backup tunnel and set Tunnel1003 to the reversed tunnel. Enable MPLS OAM on the header node of Tunnel1001 and Tunnel1002 to detect the local tunnel. Enable MPLS OAM on the tail node of 5-9 SJ-20140731105308-012|2014-10-20 (R1. range: 1–4000. and Tunnel1003 is the reversed tunnel. Tunnel1002 is the backup tunnel.

255.1.81.1 255.255 P1(config-if-loopback1)#exit P1(config)#interface te_tunnel1001 P1(config-if-te_tunnel1001)#ip unnumbered loopback1 P1(config-if-te_tunnel1001)#exit P1(config)#interface te_tunnel1002 P1(config-if-te_tunnel1002)#ip unnumbered loopback1 P1(config-if-te_tunnel1002)#exit P1(config)#interface te_tunnel97535 P1(config-if-te_tunne97535)#ip unnumbered loopback1 P1(config-if-te_tunne97535)#exit P1(config)#mpls oam P1(config-mpls-oam)#local te_tunnel 1001 ingress 4.ZXR10 M6000-S Configuration Guide (MPLS) Tunnel1001 and Tunnel1002 to detect the remote tunnel.81.255.5.0 P1(config-if-gei-0/3/0/2)#no shutdown P1(config-if-gei-0/3/0/2)#exit P1(config)#interface gei-0/3/0/6 P1(config-if-gei-0/3/0/6)#ip address 81.81 P1(config-mpls-te)#interface loopback1 P1(config-mpls-te-if-loopback1)#exit 5-10 SJ-20140731105308-012|2014-10-20 (R1.5.81 255.81 P1(config-mpls-oam-te_tunnel-1002)#type ffd frequence 500 exp 0 P1(config-mpls-oam-te_tunnel-1002)#mpls oam enable P1(config-mpls-oam-te_tunnel-1002)#exit P1(config-mpls-oam)#exit P1(config)#mpls traffic-eng P1(config-mpls-te)#router-id 4.9.81.255.255.255.1 255.81 P1(config-mpls-oam-te_tunnel-1001)#type ffd frequence 500 exp 0 P1(config-mpls-oam-te_tunnel-1001)#mpls oam enable P1(config-mpls-oam-te_tunnel-1001)#exit P1(config-mpls-oam)#local te_tunnel 1002 ingress 4.81. Configuration Commands The configuration of the header node P1: P1(config)#interface xgei-0/0/0/2 P1(config-if-xgei-0/0/0/2)#ip address 81.255.255.0 P1(config-if-xgei-0/0/0/2)#no shutdown P1(config-if-xgei-0/0/0/2)#exit P1(config)#interface gei-0/3/0/2 P1(config-if-gei-0/3/0/2)#ip address 81.0) ZTE Proprietary and Confidential .9.0 P1(config-if-gei-0/3/0/6)#no shutdown P1(config-if-gei-0/3/0/6)#exit P1(config)#interface loopback1 P1(config-if-loopback1)#ip address 4.81.81.1 255.1.81.81. Configure tunnel protection group information on the header node and the tail node.255.

Chapter 5 Tunnel Protection Group Configuration P1(config-mpls-te)#interface gei-0/3/0/2 P1(config-mpls-te-if-gei-0/3/0/2)#exit P1(config-mpls-te)#interface gei-0/3/0/6 P1(config-mpls-te-if-gei-0/3/0/6)#exit P1(config-mpls-te)#interface xgei-0/0/0/2 P1(config-mpls-te-if-xgei-0/0/0/2)#exit P1(config-mpls-te)#static te_tunnel1001 P1(config-mpls-te-static-te_tunnel1001)#role ingress type unidirectional P1(config-mpls-te-static-te_tunnel1001)#ingress-tunnel-id 1001 ingress 4.81.81.52.81 P1(config-mpls-te-static-te_tunnel97535)#lsp 1 P1(config-mpls-te-static-te_tunnel97535-lsp)#in-seg-info in-port gei-0/3/0/6 in-label 3 P1(config-mpls-te-static-te_tunnel97535-lsp)#exit P1(config-mpls-te-static-te_tunnel97535)#exit Tunnel protection group configuration: P1(config)#samgr P1(config-samgr)#track 1001 mpls-oam tunnel-id 1001 ingress-id 4.52.81.0) ZTE Proprietary and Confidential .2 P1(config-mpls-te-static-te_tunnel1002-lsp)#exit P1(config-mpls-te-static-te_tunnel1002)#exit P1(config-mpls-te)#static te_tunnel97535 P1(config-mpls-te-static-te_tunnel97535)#role egress type unidirectional P1(config-mpls-te-static-te_tunnel97535)#ingress-tunnel-id 1003 ingress 4.81.1.81.52.81 P1(config-samgr)#track 1002 mpls-oam tunnel-id 1002 ingress-id 4.5.52 egress 4.81 egress 4.81.81.81.81 egress 4.81.52 P1(config-mpls-te-static-te_tunnel1001)#lsp 1 P1(config-mpls-te-static-te_tunnel1001-lsp)#out-seg-info out-port xgei-0/0/0/2 out-label 3 next-hop 81.52.52.1.81.2 P1(config-mpls-te-static-te_tunnel1001)#exit P1(config-mpls-te)#static te_tunnel1002 P1(config-mpls-te-static-te_tunnel1002)#role ingress type unidirectional P1(config-mpls-te-static-te_tunnel1002)#ingress-tunnel-id 1002 ingress 4.52 P1(config-mpls-te-static-te_tunnel1002)#lsp 1 P1(config-mpls-te-static-te_tunnel1002-lsp)#out-seg-info out-port gei-0/3/0/2 out-label 3 next-hop 81.5.52.81 P1(config)#tunnel-group 1 P1(config-tunnel-group-1)#protect-type 1+1 unidirectional receiving selective P1(config-tunnel-group-1)#working-tunnel 1001 P1(config-tunnel-group-1)#protect-tunnel 1002 Configuration of the tail node P2: P2(config)#interface xgei-0/3/0/21 5-11 SJ-20140731105308-012|2014-10-20 (R1.

9.52.255.52.0 P2(config-if-xgei-0/3/0/21)#exit P2(config)#interface gei-0/3/0/5 P2(config-if-gei-0/3/0/5)#no shutdown P2(config-if-gei-0/3/0/5)#ip address 81.255 P2(config-if-loopback1)#exit P2(config)#interface te_tunnel65536 P2(config-if-te_tunnel65536)#ip unnumbered loopback1 P2(config-if-te_tunnel65536)#exit P2(config)#interface te_tunnel65537 P2(config-if-te_tunnel65537)#ip unnumbered loopback1 P2(config-if-te_tunnel65537)#exit P2(config)#interface te_tunnel1003 P2(config-if-te_tunnel1003)#ip unnumbered loopback1 P2(config-if-te_tunnel1003)#exit P2(config)#mpls oam P2(config-mpls-oam)#egress te_tunnel 1001 ingress 4.9.52.81.2 255.255.0 P2(config-if-gei-0/3/0/5)#exit P2(config)#interface gei-0/3/0/9 P2(config-if-gei-0/3/0/9)#no shutdown P2(config-if-gei-0/3/0/9)#ip address 81.52.0 P2(config-if-gei-0/3/0/9)#exit P2(config)#interface loopback1 P2(config-if-loopback1)#ip address 4.52 P2(config-mpls-te)#interface xgei-0/3/0/21 P2(config-mpls-te-if-xgei-0/3/0/21)#exit P2(config-mpls-te)#interface gei-0/3/0/5 P2(config-mpls-te-if-gei-0/3/0/5)#exit P2(config-mpls-te)#interface gei-0/3/0/9 P2(config-mpls-te-if-gei-0/3/0/9)#exit P2(config-mpls-te)#static te_tunnel1003 P2(config-mpls-te-static-te_tunnel1003)#role ingress type unidirectional P2(config-mpls-te-static-te_tunnel1003)#ingress-tunnel-id 1003 ingress 4.81.255.81 backward-tunnel 1003 share type ffd frequence 500 P2(config-mpls-oam)#exit P2(config)#mpls traffic-eng P2(config-mpls-te)#router-id 4.255.255.5.1.2 255.255.81 P2(config-mpls-te-static-te_tunnel1003)#lsp 1 P2(config-mpls-te-static-te_tunnel1003-lsp)#out-seg-info out-port gei-0/3/0/9 out-label 3 next-hop 81.52 255.52.81.9.255.9.81.81 backward-tunnel 1003 share type ffd frequence 500 P2(config-mpls-oam)#egress te_tunnel 1002 ingress 4.ZXR10 M6000-S Configuration Guide (MPLS) P2(config-if-xgei-0/3/0/21)#no shutdown P2(config-if-xgei-0/3/0/21)#ip address 81.1.5.52.52 egress 4.2 255.255.1 P2(config-mpls-te-static-te_tunnel1003-lsp)#exit 5-12 SJ-20140731105308-012|2014-10-20 (R1.81.81.0) ZTE Proprietary and Confidential .

81 Tunnel Type: Unidirect EgressID:4.52.52 P2(config-mpls-te-static-te_tunnel65537)#lsp 1 P2(config-mpls-te-static-te_tunnel65537-lsp)#in-seg-info in-port gei-0/3/0/5 in-label 3 P2(config-mpls-te-static-te_tunnel65537-lsp)#exit P2(config-mpls-te-static-te_tunnel65537)#exit Tunnel protection group configuration: P2(config)#samgr P2(config-samgr)#track 1001 mpls-oam tunnel-id 1001 ingress-id 4.0) ZTE Proprietary and Confidential .52 Role: Ingress Policy Class: Default Track Name: Tunnel-Status: enabled Perf Switch: off 5-13 SJ-20140731105308-012|2014-10-20 (R1.52.52 P2(config-mpls-te-static-te_tunnel65536)#lsp 1 P2(config-mpls-te-static-te_tunnel65536-lsp)#in-seg-info in-port xgei-0/3/0/21 in-label 3 P2(config-mpls-te-static-te_tunnel65536-lsp)#exit P2(config-mpls-te-static-te_tunnel65536)#exit P2(config-mpls-te)#static te_tunnel65537 P2(config-mpls-te-static-te_tunnel65537)#role egress type unidirectional P2(config-mpls-te-static-te_tunnel65537)#ingress-tunnel-id 1002 ingress 4.52.81.81. The tunnel is in up state.52.81.81.81.81 P2(config-samgr)#exit P2(config)#tunnel-group 1 P2(config-tunnel-group-1)#protect-type 1+1 unidirectional receiving selective P2(config-tunnel-group-1)#working-tunnel 65536 P2(config-tunnel-group-1)#protect-tunnel 65537 P2(config-tunnel-group-1)#exit Configuration Verification Check the information of tunnel on the P1 router.81 P2(config-samgr)#track 1002 mpls-oam tunnel-id 1002 ingress-id 4.52.81.81.81.81 egress 4.Chapter 5 Tunnel Protection Group Configuration P2(config-mpls-te-static-te_tunnel1003)#exit P2(config-mpls-te)#static te_tunnel65536 P2(config-mpls-te-static-te_tunnel65536)#role egress type unidirectional P2(config-mpls-te-static-te_tunnel65536)#ingress-tunnel-id 1001 ingress 4. Name: tunnel_1001 Status: Admin Status: up Protocol Status: up Actual Bandwidth: N/A Associated Bidirect: disabled Basic Config Parameters: Ingress-TnnlID:1001 IngressID:4.81.52.81 egress 4.81.

81.0) ZTE Proprietary and Confidential .81 Tunnel Type: Unidirect EgressID:4.2 bandwidth: 0 burst: 0 peak: 0 excess-burst: 0 Share tunnel: 0 Name: tunnel_1002 Status: Admin Status: up Protocol Status: up Actual Bandwidth: N/A Associated Bidirect: disabled Basic Config Parameters: Ingress-TnnlID:1002 IngressID:4.81.52.52.1.1.ZXR10 M6000-S Configuration Guide (MPLS) SD Switch: disable AutoRoute: disabled Forwarding adjacency: disabled Rate-limit: disabled BFD: disabled Convergence-Ratio: Bandwidth Reserve Mode: reserve Binded LSP 1 Positive Forward Info: in-port: in-label: prev-hop:out-port: xgei-0/0/0/2 out-label: 3 next-hop: 81.52 Role: Ingress Policy Class: Default Track Name: Tunnel-Status: enabled Perf Switch: off SD Switch: disable AutoRoute: disabled Forwarding adjacency: disabled Rate-limit: disabled BFD: disabled Convergence-Ratio: Bandwidth Reserve Mode: reserve Binded LSP 1 Positive Forward Info: in-port: in-label: prev-hop:- 5-14 SJ-20140731105308-012|2014-10-20 (R1.

0) ZTE Proprietary and Confidential .0.0 bandwidth: 0 burst: 0 peak: 0 excess-burst: 0 Share tunnel: 0 Check the information of tunnel on the P2 router.2 bandwidth: 0 burst: 0 peak: 0 excess-burst: 0 Share tunnel: 0 Name: tunnel_97535 Status: Admin Status: up Protocol Status: up Actual Bandwidth: N/A Associated Bidirect: disabled Basic Config Parameters: Ingress-TnnlID:1003 IngressID:4.81 Role: Egress Policy Class: N/A Track Name: Tunnel-Status: enabled Perf Switch: off SD Switch: disable Forwarding adjacency: disabled Rate-limit: disabled Convergence-Ratio: Bandwidth Reserve Mode: reserve Binded LSP 1 Positive Forward Info: in-port: gei-0/3/0/6 in-label: 3 prev-hop:out-port: out-label: next-hop: 0. The tunnel is in up state.81.52.0.Chapter 5 Tunnel Protection Group Configuration out-port: gei-0/3/0/2 out-label: 3 next-hop: 81. Name: tunnel_65536 Status: Admin Status: up Protocol Status: up Actual Bandwidth: N/A Associated Bidirect: disabled 5-15 SJ-20140731105308-012|2014-10-20 (R1.5.52 Tunnel Type: Unidirect EgressID:4.5.52.81.

81.52.81.0 bandwidth: 0 burst: 0 peak: 0 excess-burst: 0 Share tunnel: 0 Name: tunnel_65537 Status: Admin Status: up Protocol Status: up Actual Bandwidth: N/A Associated Bidirect: disabled Basic Config Parameters: Ingress-TnnlID:1002 IngressID:4.52 Role: Egress Policy Class: N/A Track Name: Tunnel-Status: enabled Perf Switch: off SD Switch: disable Forwarding adjacency: disabled Rate-limit: disabled Convergence-Ratio: Bandwidth Reserve Mode: reserve Binded LSP 1 Positive Forward Info: 5-16 SJ-20140731105308-012|2014-10-20 (R1.52.0.0) ZTE Proprietary and Confidential .81.81.52.81 Tunnel Type: Unidirect EgressID:4.52.0.ZXR10 M6000-S Configuration Guide (MPLS) Basic Config Parameters: Ingress-TnnlID:1001 IngressID:4.52 Role: Egress Policy Class: N/A Track Name: Tunnel-Status: enabled Perf Switch: off SD Switch: disable Forwarding adjacency: disabled Rate-limit: disabled Convergence-Ratio: Bandwidth Reserve Mode: reserve Binded LSP 1 Positive Forward Info: in-port: xgei-0/3/0/21 in-label: 3 prev-hop:out-port: out-label: next-hop: 0.81 Tunnel Type: Unidirect EgressID:4.

Chapter 5 Tunnel Protection Group Configuration in-port: gei-0/3/0/5 in-label: 3 prev-hop:out-port: out-label: next-hop: 0.1 bandwidth: 0 burst: 0 peak: 0 excess-burst: 0 Share tunnel: 0 Check the configuration of tunnel protection group on P1.52.81.0.52 Tunnel Type: Unidirect EgressID:4.9.81.52.0) ZTE Proprietary and Confidential .0 bandwidth: 0 burst: 0 peak: 0 excess-burst: 0 Share tunnel:0 Name: tunnel_1003 Status: Admin Status: up Protocol Status: up Actual Bandwidth: N/A Associated Bidirect: disabled Basic Config Parameters: Ingress-TnnlID:1003 IngressID:4.81 Role: Ingress Policy Class: Default Track Name: Tunnel-Status: enabled Perf Switch: off SD Switch: disable AutoRoute: disabled Forwarding adjacency: disabled Rate-limit: disabled BFD: disabled Convergence-Ratio: Bandwidth Reserve Mode: reserve Binded LSP 1 Positive Forward Info: in-port: in-label: prev-hop:out-port: gei-0/3/0/9 out-label: 3 next-hop: 81. 5-17 SJ-20140731105308-012|2014-10-20 (R1.0.9.

ZXR10 M6000-S Configuration Guide (MPLS) P1#show tunnel-group 1 Tunnel group 1 Protection type: 1+1 unidirectional receiving selective Protection strategy: unknown Protection section: 0 Working tunnel: 1001.state: OK Protection tunnel: 65537. P2#show tunnel-group 1 Tunnel group 1 Protection type: 1+1 unidirectional receiving selective Protection strategy: unknown Protection section: 0 Working tunnel: 65536.state: OK Working tunnel tail aps id: 0 Switch: no 5-18 SJ-20140731105308-012|2014-10-20 (R1.state: OK Working tunnel tail aps id: 0 Switch: no Check the configuration of tunnel protection group on P2.state: OK Protection tunnel: 1002.0) ZTE Proprietary and Confidential .

...... In this way..... Non-revertive mode: When the primary tunnel recovers... services can be quickly switched to a link that is working properly......... APS Protection Modes There are two kinds of APS protection modes: 1+1 linear protection and 1:1 linear protection.................................. and coordinates the protection switching mechanism of the switching selectors at both ends......................... l l Revertive mode: Once the primary tunnel recovers... l Revertive mode Figure 6-1 shows the APS message interaction procedure of the revertive mode................ APS is a redundancy protection technology......6-1 Configuring APS............... various value-added services are deployed on network...... When a fault occurs on a link.. packets are still forwarded on the backup tunnel instead of the primary tunnel.... The peer device gives a protection switching reply through a response message...........1 APS Overview APS Introduction With the wide use and application of network. The following scenarios describe the APS principle by the interactions of some typical APS messages.........1 “Tunnel Protection Group Overview”... when there is a link fault.........Chapter 6 APS Configuration Table of Contents APS Overview ...... APS Protection Modes APS switching supports two protection modes: revertive mode and non-revertive mode............................................... The demand for network bandwidth is increasing rapidly. thus ensuring normal communication...... A short network interruption may affect a lot of services....... refer to Section 5.... APS sends a protection switching request through an APS protocol message... 6-1 SJ-20140731105308-012|2014-10-20 (R1..... For detailed information...................6-5 APS Configuration Example ..............0) ZTE Proprietary and Confidential . The flow is described below............... which brings serious loss.............. packets are forwarded on the primary tunnel........6-9 6............

4. Service traffic is forwarded on the primary tunnel. The east end generates an SF alarm. the east send an APS NR message to the peer to switch the traffic back to the primary tunnel. When the west receives the SF message from the peer. 6. There is no fault detected by both ends of the tunnel. 3. it also switches packet sending and receiving to the backup tunnel. the traffic is still forwarded on the backup tunnel. When the WTR timer expires. Figure 6-1 Working Flow of the Revertive Mode 6-2 SJ-20140731105308-012|2014-10-20 (R1. When the traffic sending from the west to the east recovers. Then the east switches packet sending and receiving to the backup tunnel. 2. It sends an APS WTR message to the peer. 5.0) ZTE Proprietary and Confidential . The traffic transmitted through the tunnel from the west to the east is interrupted.ZXR10 M6000-S Configuration Guide (MPLS) 1. During the WTR period. and sends an APS SP message to the peer. the east reports SF recovery and becomes WTR state.

4. When the traffic sending from the west to the east recovers. it also switches packet sending and receiving to the backup tunnel. the east reports SF recovery. It sends a DNR message to the peer. The flow is described below.Chapter 6 APS Configuration • • l NR: No Request r/b: request signal/bridge signal • • WTR: Wait To Restore service DNR: Do-Not-Revert • • SF: Signal Failure W->E: west to east direction Non-revertive mode Figure 6-2 shows the APS message interaction procedure when the non-revertive mode is used. The east clears SF state and switches to NR normal state. 6-3 SJ-20140731105308-012|2014-10-20 (R1. The east generates an SF alarm. Service traffic is forwarded on the primary tunnel. When the west receives the DNR message. The traffic forwarded by the tunnel from the west to the east is intermitted. The traffic is still forwarded on the backup tunnel. Then the east switches packet sending and receiving to the backup tunnel. 5. There is no fault detected by both ends of the tunnel. When the west receives the SF message from the peer. it does change its state.0) ZTE Proprietary and Confidential . 1. 3. and sends an APS SP message to the peer. 2.

When no fault occurs or no request is received.ZXR10 M6000-S Configuration Guide (MPLS) Figure 6-2 Working Flow of the Non-Revertive Mode • • NR: No Request r/b: request signal/bridge signal • • WTR: Wait To Restore service DNR: Do-Not-Revert • • SF: Signal Failure W->E: west to east direction APS Applications Through the APS deployment. a protection relationship is established between two tunnel members. see Figure 6-3. If a fault occurs or a request is received. APS determines which tunnel 6-4 SJ-20140731105308-012|2014-10-20 (R1. protection can be implemented at the following two layers: l l Tunnel protection can be deployed at the tunnel layer. see Figure 6-4. traffic is forwarded through the primary tunnel. In a tunnel protection group. A PW protection group can be deployed at the PW layer.0) ZTE Proprietary and Confidential .

Figure 6-3 shows a tunnel protection group. Figure 6-4 shows that PW1 is the working entity. which ensures that the traffic from PE1 to PE2 is not interrupted. a protection relationship is established between the two PW entities. corresponding to different APS instances.Chapter 6 APS Configuration should be selected to forward the traffic. The PE1→P→PE2 tunnel is configured as the primary tunnel. The corresponding APS instance is configured. APS instances have similar attributes (for example. Figure 6-4 PW Protection Group Application 6. Figure 6-3 Tunnel Protection Group Application In a PW protection group. This group contains PE1→P→PE2 (indicated by the solid lines) and PE1→PE (indicated by the broken line) tunnels .0) ZTE Proprietary and Confidential . and the PE1→PE2 tunnel is configured as the backup tunnel. but these attributes must be set in different configuration modes. and PW2 is the protection entity. The closed protection mode (such as a tunnel protection group) or the protection mode shown in Figure 6-4 can be used. Moreover. the corresponding APS instance is configured. Protection relationship is established between the two tunnel groups. The primary tunnel and backup tunnel may pass through different P nodes (recommended).2 Configuring APS Protection groups can be configured at each network layer. When a fault occurs on PW1. 6-5 SJ-20140731105308-012|2014-10-20 (R1. APS switches over the traffic to the backup tunnel after a calculation. the revertive mode and hold-off time). but they must pass through the same PE node. APS can determine which PW is selected to forward the traffic as needed. When the primary tunnel becomes faulty.

Context The APS instance configuration of a tunnel protection group is independent of the tunnel protection group configuration. Steps 1. perform the following steps: Step Command Function 1 ZXR10(config)#aps Enters APS configuration mode. 2. When a protection policy object of the tunnel protection group is generated. The following show how to change the attributes of the APS instance.2.0) ZTE Proprietary and Confidential . 6. The group-id parameter is in a range of 1 to 32768. To set the attributes of the APS instance. To configure an APS instance. 3 ZXR10(config-aps-linear-protect)#tunnel-group Enters the configuration mode <group-id> of the APS instance for the tunnel protection group. {default |<1-12>}} 6-6 SJ-20140731105308-012|2014-10-20 (R1. range: 0–100. Such a protection group is automatically created by TECP.ZXR10 M6000-S Configuration Guide (MPLS) Protection groups can be established at the LSP layer. 2 Enters APS linear protection ZXR10(config-aps)#linear-protect mode. perform the following steps: Step Command Function 1 ZXR10(config-aps-linear-protect-tunnel- Sets the hold-off time (in group1)#hold-off <0-100> 100 milliseconds) for APS switching. the default parameter settings are used to create the corresponding APS instance. 2 ZXR10(config-aps-linear-protect-tunnel- Sets the revertive mode of group1)#revertive-mode {non-revertive | revertive wtr APS. and other parameters cannot be set.1 Configuring APS for a Tunnel Protection Group This procedure describes how to configure APS for a tunnel protection group.

manual-switch | exercise} When the revertive mode of APS is set to revertive-mode. default: 5) should be specified. APS can calculate the status of the tunnel protection group only when being in restore-run status. APS switching can be configured only when APS is in restore-run status.Chapter 6 APS Configuration Step Command Function 3 ZXR10(config-aps-linear-protect-tunnel- Enables or disables the group1)#protect-mode {remote | local } sending and receiving of APS packets. APS does not take effect. 3. The <dwTgId> parameter is in a range of 1 to 32768. range: 0–12. 6-7 SJ-20140731105308-012|2014-10-20 (R1. tunnel-group: displays the status of the APS instance for the tunnel protection group (its ID is specified by <dwTgId>). group1)#active-state { restore-run | pause } options: l restore-run l pause ZXR10(config-aps-linear-protect-tunnel- Configures manual APS group1)#switch {clear | lockout | force-switch | switching. that is. run the following command: Command Function ZXR10(config)#show aps linear-protect [{tunnel-group Displays the statuses of the <dwTgId>|pw-protector <pw-name>|lsp-group <dwLspgId>}] APS instances for all tunnel protection groups or the status of the specified APS instance.0) ZTE Proprietary and Confidential . the WTR time (in minutes. options: l remote (enabling the sending and receiving of packets) l local (disabling the sending and receiving of packets) However. 4 5 ZXR10(config-aps-linear-protect-tunnel- Configures the APS status. The revertive mode of APS can be changed only when APS is in pause status. Version 20 and later versions do not support the sending and receiving of APS packets. This command is reserved to be compatible with other versions only. APS does not calculate the status of the tunnel protection group when being in pause status. To display the configuration result.

0) ZTE Proprietary and Confidential . The backup PW protection group has the same name as the primary PW protection group. 2 Enters APS linear protection ZXR10(config-aps)#linear-protect mode. the default parameter settings are used to create the corresponding APS instance.ZXR10 M6000-S Configuration Guide (MPLS) pw-protector: displays the status of the APS instance for the PW protection group (its name is specified by <pw-name>). perform the following steps: Step Command Function 1 ZXR10(config-aps-linear-protect-pwprotector- Sets the hold-off time (in pw1)#hold-off <0-100> 100 milliseconds) for APS switching. 3 ZXR10(config-aps-linear-protect)#pw-protector Enters the configuration mode <pw-name> of the PW protection group. When a protection policy object of the PW protection group is generated. range: 0-100. – End of Steps – 6.2 Configuring APS for a PW Protection Group This procedure describes how to configure APS for a PW protection group. To configure an APS instance. Context The APS instance configuration of a PW protection group is independent of the PW protection group configuration. The <dwLspgId> parameter is in a range of 1 to 4096. Steps 1. 2. The pw-name parameter is in a range of 1 to 32768.2. The following show how to change the attributes of the APS instance. {default |<1-12>}} 6-8 SJ-20140731105308-012|2014-10-20 (R1. lsp-group : displays the status of the APS instance for the PW protection group (its ID is specified by <dwLspgId>). perform the following steps: Step Command Function 1 ZXR10(config)#aps Enters APS configuration mode. 2 ZXR10(config-aps-linear-protect-pwprotector- Sets the revertive mode of pw1)#revertive-mode {non-revertive | revertive wtr APS. To set the attributes of the APS instance.

Therefore.Chapter 6 APS Configuration Step Command Function 3 ZXR10(config-aps-linear-protect-pwprotector- Enables or disables the pw1)#protect-mode {remote | local } sending and receiving of APS packets. – End of Steps – 6. The revertive mode of APS can be changed only when APS is in pause status.0) ZTE Proprietary and Confidential . APS does not take effect. The tunnel protection group informs APS. | exercise} When the revertive mode of APS is set to revertive-mode. APS calculates the 6-9 SJ-20140731105308-012|2014-10-20 (R1.3 APS Configuration Example 6.3.2. options: l remote (enabling the sending and receiving of packets) l local (disabling the sending and receiving of packets) 4 5 ZXR10(config-aps-linear-protect-pwprotector- Configures the APS status. TP-OAM notifies the corresponding entity module of the alarm. range: 0-12. Upon detecting an alarm. To detect the connectivity of the two tunnels. TP-OAM should be enabled on the tunnels. and then the entity module sends a notification to the tunnel protection group module. default: 5) should be specified. pw1)#active-state { restore-run | pause } options: l restore-run l pause ZXR10(config-aps-linear-protect-pwprotector- Configures manual APS pw1)#switch {clear | lockout | force-switch | manual-switch switching.1 APS Configuration Example (Tunnel Protection Group) Scenario Description A protection relationship should be configured between the two tunnels in a tunnel protection group. 3. APS switching can be configured only when APS is in restore-run status. two valid tunnels should be configured before the tunnel protection group is created. that is.1 Configuring APS for a Tunnel Protection Group. APS can calculate the status of the tunnel protection group only when being in restore-run status. Display the configuration results. the WTR time (in minutes. Refer to Section 6. APS does not calculate the status of the tunnel protection group when being in pause status.

Configuration Commands Run the following commands on PE1 (head node of the two tunnels): /*Run the following commands to configure the IP addresses of interfaces:*/ PE1(config)#interface xgei-0/0/0/2 PE1(config-if-xgei-0/0/0/2)#ip address 81. It is required to establish two valid tunnels (tunnel1 and tunnel2) between PE1 and PE2. PE1 and PE2 are directly-connected.255. Configure TE interfaces.1 255. 5. 2.81. Configure an APS instance. Figure 6-5 APS Configuration Example (Tunnel Protection Group) Configuration Flow 1. and Tunnel2 should be configured to be the backup tunnel (indicated by the broken line).5.ZXR10 M6000-S Configuration Guide (MPLS) status based on actual conditions.0 PE1(config-if-gei-0/3/0/2)#no shutdown PE1(config-if-gei-0/3/0/2)#exit /*Run the following commands to configure TE interfaces: */ PE1(config)#interface te_tunnel1001 PE1(config-if-te_tunnel1001)#exit PE1(config)#interface te_tunnel1002 PE1(config-if-te_tunnel1002)#exit /*Run the following commands to configure tunnels:*/ PE1(config)#mpls traffic-eng PE1(config-mpls-te)#router-id 4.255. 4. and then determines which tunnel should be selected to forward the traffic.5.0) ZTE Proprietary and Confidential .0 PE1(config-if-xgei-0/0/0/2)#no shutdown PE1(config-if-xgei-0/0/0/2)#exit PE1(config)#interface gei-0/3/0/2 PE1(config-if-gei-0/3/0/2)#ip address 81.81 6-10 SJ-20140731105308-012|2014-10-20 (R1.1.81. Configure tunnels. 3.255.255. Figure 6-5 shows a sample network topology. Configure a tunnel protection group.1. Tunnel1 should be configured to be the primary tunnel (indicated by the solid line). 6.1 255. Enable TP-OAM on the tunnels. Configure the IP addresses of interfaces.

52 PE1(config-mpls-te-static-te_tunnel1002)#lsp 1 PE1(config-mpls-te-static-te_tunnel1002-lsp)#out-seg-info out-port gei-0/3/0/2 out-label 3 next-hop 81.81 egress 4.81.1.52.5.52.52 PE1(config-mpls-te-static-te_tunnel1001)#lsp 1 PE1(config-mpls-te-static-te_tunnel1001-lsp)#out-seg-info out-port xgei-0/0/0/2 out-label 3 next-hop 81.2 PE1(config-mpls-te-static-te_tunnel1001-lsp)#rvs-in-seg-info in-port xgei-0/0/0/2 in-label 3 PE1(config-mpls-te-static-te_tunnel1001-lsp)#exit PE1(config-mpls-te-static-te_tunnel1001)#exit PE1(config-mpls-te)#static te_tunnel1002 PE1(config-mpls-te-static-te_tunnel1002)#role ingress type bidirectional PE1(config-mpls-te-static-te_tunnel1002)#ingress-tunnel-id 1002 ingress 4.5.1.81.81 egress 4.0) ZTE Proprietary and Confidential .81.52.Chapter 6 APS Configuration PE1(config-mpls-te)#interface loopback1 PE1(config-mpls-te-if-loopback1)#exit PE1(config-mpls-te)#interface gei-0/3/0/2 PE1(config-mpls-te-if-gei-0/3/0/2)#exit PE1(config-mpls-te)#interface xgei-0/0/0/2 PE1(config-mpls-te-if-xgei-0/0/0/2)#exit PE1(config-mpls-te)#advertise none-null PE1(config-mpls-te)# static te_tunnel1001 PE1(config-mpls-te-static-te_tunnel1001)#role ingress type bidirectional PE1(config-mpls-te-static-te_tunnel1001)#ingress-tunnel-id 1001 ingress 4.81.2 PE1(config-mpls-te-static-te_tunnel1002-lsp)#rvs-in-seg-info in-port gei-0/3/0/2 in-label 3 PE1(config-mpls-te-static-te_tunnel1002-lsp)#exit PE1(config-mpls-te-static-te_tunnel1002)#exi /*Run the following commands to enable TP-OAM on the two tunnels*/ /*to detect the connectivity of the tunnels:*/ PE1(config)#mpls-tp oam PE1(config-tp-oam)#static-tunnel 1001 lspid 1 PE1(config-tp-oam-static-tunnel-1001-lsp-1)#meg 1001 PE1(config-tp-oam-static-tunnel-1001-lsp-1-meg-1001)#meg-id 1001 PE1(config-tp-oam-static-tunnel-1001-lsp-1-meg-1001)#oam enable PE1(config-tp-oam-static-tunnel-1001-lsp-1-meg-1001)#local-mep 1001 type bidirectional PE1(config-tp-oam-static-tunnel-1001-lsp-1-meg-1001)#peer-mep 2001 type bidirectional PE1(config-tp-oam-static-tunnel-1001-lsp-1-meg-1001)#cv enable PE1(config-tp-oam-static-tunnel-1001-lsp-1-meg-1001)#cv period 1s PE1(config-tp-oam-static-tunnel-1001-lsp-1-meg-1001)#cc enable PE1(config-tp-oam-static-tunnel-1001-lsp-1-meg-1001)#exit 6-11 SJ-20140731105308-012|2014-10-20 (R1.52.

5.255.2 255.0) ZTE Proprietary and Confidential .255.5.1.0 PE2(config-if-xgei-0/3/0/21)#no shutdown PE2(config-if-xgei-0/3/0/21)#exit PE2(config)#interface gei-0/3/0/5 PE2(config-if-gei-0/3/0/5)#ip address 81.0 PE2(config-if-gei-0/3/0/5)#no shutdown PE2(config-if-gei-0/3/0/5)#exit /*Run the following commands to configure TE interfaces: */ 6-12 SJ-20140731105308-012|2014-10-20 (R1.2 255.ZXR10 M6000-S Configuration Guide (MPLS) PE1(config-tp-oam-static-tunnel-1001-lsp-1)#exit PE1(config-tp-oam)#static-tunnel 1002 lspid 1 PE1(config-tp-oam-static-tunnel-1002-lsp-1)#meg 1002 PE1(config-tp-oam-static-tunnel-1002-lsp-1-meg-1002)#meg-id 1002 PE1(config-tp-oam-static-tunnel-1002-lsp-1-meg-1002)#oam enable PE1(config-tp-oam-static-tunnel-1002-lsp-1-meg-1002)#local-mep 1002 type bidirectional PE1(config-tp-oam-static-tunnel-1002-lsp-1-meg-1002)#peer-mep 2002 type bidirectional PE1(config-tp-oam-static-tunnel-1002-lsp-1-meg-1002)#cv enable PE1(config-tp-oam-static-tunnel-1002-lsp-1-meg-1002)#cv period 1s PE1(config-tp-oam-static-tunnel-1002-lsp-1-meg-1002)#cc enable PE1(config-tp-oam-static-tunnel-1002-lsp-1-meg-1002)#exit PE1(config-tp-oam-static-tunnel-1002-lsp-1)#exi /*Run the following commands to configure a tunnel*/ /*protection group:*/ PE1(config)#tunnel-group 1 PE1(config-tunnel-group-1)#protect-type 1:1 bidirectional receiving both PE1(config-tunnel-group-1)#working-tunnel 1001 PE1(config-tunnel-group-1)#protect-tunnel 1002 PE1(config-tunnel-group-1)#protect-strategy aps PE1(config-tunnel-group-1)#exit /*Run the following commands to configure an APS instance:*/ PE1(config)#aps PE1(config-aps)#linear-protect PE1(config-aps-linear-protect)#tunnel-group 1 PE1(config-aps-linear-protect-tunnelgroup1)#switch force-switch PE1(config-aps-linear-protect-tunnelgroup1)#hold-off 20 PE1(config-aps-linear-protect-tunnelgroup1)#exit PE1(config-aps-linear-protect)#exit PE1(config-aps)#exit Run the following commands on PE2 (tail node of the two tunnels): /*Run the following commands to configure the IP addresses of interfaces:*/ PE2(config)#interface xgei-0/3/0/21 PE2(config-if-xgei-0/3/0/21)#ip address 81.1.255.255.

1.81 egress 4.52.52.81.52.52 PE2(config-mpls-te-static-te_tunnel65537)#lsp 1 PE2(config-mpls-te-static-te_tunnel65537-lsp)#in-seg-info in-port gei-0/3/0/5 in-label 3 PE2(config-mpls-te-static-te_tunnel65537-lsp)#rvs-out-seg-info out-port gei-0/3/0/5 out-label 3 next-hop 81.81.52 PE2(config-mpls-te-static-te_tunnel65536)#lsp 1 PE2(config-mpls-te-static-te_tunnel65536-lsp)#in-seg-info in-port xgei-0/3/0/21 in-label 3 PE2(config-mpls-te-static-te_tunnel65536-lsp)#rvs-out-seg-info out-port xgei-0/3/0/21 out-label 3 next-hop 81.5.52.81.0) ZTE Proprietary and Confidential .52.Chapter 6 APS Configuration PE2(config)#interface te_tunnel65536 PE2(config-if-te_tunnel65536)#exit PE2(config)#interface te_tunnel65537 PE2(config-if-te_tunnel65537)#exit /*Run the following commands to configure tunnels:*/ PE2(config)#mpls traffic-eng PE2(config-mpls-te)#router-id 4.81.1 PE2(config-mpls-te-static-te_tunnel65537-lsp)#exit PE2(config-mpls-te-static-te_tunnel65537)#exit /*Run the following commands to enable TP-OAM on the two*/ /*tunnels to detect the connectivity of the tunnels:*/ PE2(config)#mpls-tp oam PE2(config-tp-oam)#static-tunnel 65536 lspid 1 PE2(config-tp-oam-static-tunnel-65536-lsp-1)#meg 2001 6-13 SJ-20140731105308-012|2014-10-20 (R1.52.81 egress 4.5.1 PE2(config-mpls-te-static-te_tunnel65536-lsp)#exit PE2(config-mpls-te-static-te_tunnel65536)#exit PE2(config-mpls-te)#static te_tunnel65537 PE2(config-mpls-te-static-te_tunnel65537)#role egress type bidirectional PE2(config-mpls-te-static-te_tunnel65537)#ingress-tunnel-id 1002 ingress 4.1.52 PE2(config-mpls-te)#interface loopback1 PE2(config-mpls-te-if-loopback1)#exit PE2(config-mpls-te)#interface gei-0/3/0/5 PE2(config-mpls-te-if-gei-0/3/0/5)#exit PE2(config-mpls-te)#interface xgei-0/3/0/21 PE2(config-mpls-te-if-xgei-0/3/0/21)#exit PE2(config-mpls-te)#advertise none-null PE2(config-mpls-te)# static te_tunnel65536 PE2(config-mpls-te-static-te_tunnel65536)#role egress type bidirectional PE2(config-mpls-te-static-te_tunnel65536)#ingress-tunnel-id 1001 ingress 4.

The execution result is displayed as follows: 6-14 SJ-20140731105308-012|2014-10-20 (R1.0) ZTE Proprietary and Confidential .ZXR10 M6000-S Configuration Guide (MPLS) PE2(config-tp-oam-static-tunnel-65536-lsp-1-meg-2001)#meg-id 2001 PE2(config-tp-oam-static-tunnel-65536-lsp-1-meg-2001)#oam enable PE2(config-tp-oam-static-tunnel-65536-lsp-1-meg-2001)#local-mep 2001 type bidirectional PE2(config-tp-oam-static-tunnel-65536-lsp-1-meg-2001)#peer-mep 1001 type bidirectional PE2(config-tp-oam-static-tunnel-65536-lsp-1-meg-2001)#cv enable PE2(config-tp-oam-static-tunnel-65536-lsp-1-meg-2001)#cv period 1s PE2(config-tp-oam-static-tunnel-65536-lsp-1-meg-2001)#cc enable PE2(config-tp-oam-static-tunnel-65536-lsp-1-meg-2001)#exit PE2(config-tp-oam-static-tunnel-65536-lsp-1)#exi PE2(config-tp-oam)#static-tunnel 65537 lspid 1 PE2(config-tp-oam-static-tunnel-65537-lsp-1)#meg 2002 PE2(config-tp-oam-static-tunnel-65537-lsp-1-meg-2002)#meg-id 2002 PE2(config-tp-oam-static-tunnel-65537-lsp-1-meg-2002)#oam enable PE2(config-tp-oam-static-tunnel-65537-lsp-1-meg-2002)#local-mep 2002 type bidirectional PE2(config-tp-oam-static-tunnel-65537-lsp-1-meg-2002)#peer-mep 1002 type bidirectional PE2(config-tp-oam-static-tunnel-65537-lsp-1-meg-2002)#cv enable PE2(config-tp-oam-static-tunnel-65537-lsp-1-meg-2002)#cv period 1s PE2(config-tp-oam-static-tunnel-65537-lsp-1-meg-2002)#cc enable PE2(config-tp-oam-static-tunnel-65537-lsp-1-meg-2002)#exit PE2(config-tp-oam-static-tunnel-65537-lsp-1)#exi /*Run the following commands to configure a tunnel protection group:*/ PE2(config)#tunnel-group 1 PE2(config-tunnel-group-1)#protect-type 1:1 bidirectional receiving both PE2(config-tunnel-group-1)#working-tunnel 65536 PE2(config-tunnel-group-1)#protect-tunnel 65537 PE2(config-tunnel-group-1)#protect-strategy aps PE2(config-tunnel-group-1)#exit /*Run the following commands to configure an APS instance:*/ PE2(config)#aps PE2(config-aps)#linear-protect PE2(config-aps-linear-protect)#tunnel-group 1 PE2(config-aps-linear-protect-tunnelgroup1)#switch force-switch PE2(config-aps-linear-protect-tunnelgroup1)#hold-off 20 PE2(config-aps-linear-protect-tunnelgroup1)#exit PE2(config-aps-linear-protect)#exit PE2(config-aps)#exit Configuration Verification Run the show aps linear-protect tunnel-group 1 command on PE1 and PE2 to check the APS configuration and whether APS has been enabled.

At last. WTR time: 5min Hold-off time: 2000ms. and establish a tunnel from UPE to NPE1 for providing a bearer path for PW1. WTR time: 5min Hold-off time: 0ms.3.Chapter 6 APS Configuration PE1#show aps linear-protect tunnel-group 1 ----------[APS Linear Instance]---------Protection group type: tunnel Protection group id: 1 Protection type: 1:1 bidirectional receiving both APS is enabled APS state: NO_REQUEST_NULL Protection mode: remote Active-state: restore-run Revertive mode: revertive. and the PWs should be associated with tunnels that provide bearer paths. It is also required to establish a tunnel from UPE to NPE2 for providing a bearer path for PW2.0) ZTE Proprietary and Confidential . Figure 6-6 shows a sample network topology. At last. a protection relationship should be configured between PW1 (the primary PW) and PW2 (the backup PW). It is required to deploy a PW protection group on the UPE NE. Upon detecting an alarm. the PW protection group informs APS.valid hold-off time: 2000ms Switch command: force-switch 6. To detect the connectivity of the two PWs. TP-OAM notifies the corresponding entity module of the alarm. APS calculates the status based on actual conditions. 6-15 SJ-20140731105308-012|2014-10-20 (R1. TP-OAM should be enabled on the PWs.valid hold-off time: 0ms Switch command: nul PE2#show aps linear-protect tunnel-group 1 ----------[APS Linear Instance]---------Protection group type: tunnel Protection group id: 1 Protection type: 1:1 bidirectional receiving both APS is enabled APS state: FORCED_SWITCH Protection mode: remote Active-state: restore-run Revertive mode: revertive. and then the entity module sends a notification to the PW protection group module. it is required to create two valid tunnels and respectively bind two PWs to the tunnels.2 APS Configuration Example (PW Protection Group) Scenario Description A protection relationship should be configured between the two PWs in a PW protection group. and then determines which tunnel should be selected to forward the traffic. Therefore.

and respectively bind the two PWs to the corresponding tunnels.1. Configure a PW protection group.255.255. 4.0 PE1(config-if-xgei-0/0/0/4)#no shutdown PE1(config-if-xgei-0/0/0/4)#exit /*Run the following commands to configure TE interfaces: */ PE1(config)#interface te_tunnel1001 PE1(config-if-te_tunnel1001)#exit PE1(config)#interface te_tunnel1002 PE1(config-if-te_tunnel1002)#exit /*Run the following commands to configure tunnels:*/ 6-16 SJ-20140731105308-012|2014-10-20 (R1. Configure tunnels.255.81 255.255.1. Configure TE interfaces. Configure the IP addresses of interfaces. Configure an APS instance. 2. 6.ZXR10 M6000-S Configuration Guide (MPLS) Figure 6-6 APS Configuration Example (PW Protection Group) Configuration Flow 1. 3. 5.1.0) ZTE Proprietary and Confidential . Configuration Commands /*Run the following commands to configure the IP addresses of interfaces:*/ PE1(config)#interface xgei-0/0/0/2 PE1(config-if-xgei-0/0/0/2)#ip address 81. Configure tunnel policies.1 255.0 PE1(config-if-xgei-0/0/0/2)#no shutdown PE1(config-if-xgei-0/0/0/2)#exit PE1(config)#interface xgei-0/0/0/4 PE1(config-if-xgei-0/0/0/4)#ip address 40.1.

1.0) ZTE Proprietary and Confidential .81.81 egress 4.1.81.2 PE1(config-mpls-te-static-te_tunnel1001-lsp)#rvs-in-seg-info in-port xgei-0/0/0/2 in-label 3 PE1(config-mpls-te-static-te_tunnel1001-lsp)#exit PE1(config-mpls-te-static-te_tunnel1001)#exit PE1(config-mpls-te)#static te_tunnel1002 PE1(config-mpls-te-static-te_tunnel1002)#role ingress type bidirectional PE1(config-mpls-te-static-te_tunnel1002)#ingress-tunnel-id 1002 ingress 4.Chapter 6 APS Configuration PE1(config)#mpls traffic-eng PE1(config-mpls-te)#router-id 4.81.52.81 PE1(config-mpls-te)#interface loopback1 PE1(config-mpls-te-if-loopback1)#exit PE1(config-mpls-te)#interface xgei-0/0/0/4 PE1(config-mpls-te-if-xgei-0/0/0/4)#exit PE1(config-mpls-te)#interface xgei-0/0/0/2 PE1(config-mpls-te-if-xgei-0/0/0/2)#exit PE1(config-mpls-te)#advertise none-null PE1(config-mpls-te)#static te_tunnel1001 PE1(config-mpls-te-static-te_tunnel1001)#role ingress type bidirectional PE1(config-mpls-te-static-te_tunnel1001)#ingress-tunnel-id 1001 ingress 4.81 egress 4.82.52 PE1(config-mpls-te-static-te_tunnel1002)#lsp 1 PE1(config-mpls-te-static-te_tunnel1002-lsp)#out-seg-info out-port xgei-0/0/0/4 out-label 3 next-hop 40.82.81.1.1.82 PE1(config-mpls-te-static-te_tunnel1001)#lsp 1 PE1(config-mpls-te-static-te_tunnel1001-lsp)#out-seg-info out-port xgei-0/0/0/2 out-label 3 next-hop 81.52.71 PE1(config-mpls-te-static-te_tunnel1002-lsp)#rvs-in-seg-info in-port xgei-0/0/0/4 in-label 3 PE1(config-mpls-te-static-te_tunnel1002-lsp)#exit PE1(config-mpls-te-static-te_tunnel1002)#exit PE1(config-mpls-te)#exit /*Run the following commands to configure tunnel policies:*/ PE1(config)#tunnel-policy work PE1(config-tunnel-policy-work)#tunnel selecting mpls-te te_tunnel1001 PE1(config-tunnel-policy-work)#exit PE1(config)#tunnel-policy protect PE1(config-tunnel-policy-protect)#tunnel selecting mpls-te te_tunnel1002 PE1(config-tunnel-policy-protect)#exit /*Run the following commands to configure a PW protection group:*/ PE1(config)#pw pw1001 6-17 SJ-20140731105308-012|2014-10-20 (R1.81.81.

52.52.ZXR10 M6000-S Configuration Guide (MPLS) PE1(config)#pw pw1002 PE1(config)#mpls l2vpn enable PE1(config)#vpls 1001 PE1(config-vpls-1001)#pseudo-wire pw1001 spoke PE1(config-vpls-1001-spoke-pw-pw1001)#neighbor 4.82.52 vcid 1002 PE1(config-vpls-1001-protect-pw1002-neighbor)#signal static local-label 400 remote-label 400 /*Run the following commands to enable TP-OAM on the*/ /*two PWs to detect the connectivity of the PWs:*/ PE1(config)#mpls-tp oam PE1(config-tp-oam)#oam enable PE1(config-tp-oam)#pw pw1001 PE1(config-tp-oam-pw-pw1001)#meg 33 PE1(config-tp-oam-pw-pw1001-meg-33)#meg-id 33 PE1(config-tp-oam-pw-pw1001-meg-33)#oam enable PE1(config-tp-oam-pw-pw1001-meg-33)#local-mep 13 type bidirectional PE1(config-tp-oam-pw-pw1001-meg-33)#peer-mep 31 type bidirectional PE1(config-tp-oam-pw-pw1001-meg-33)#cv enable PE1(config-tp-oam-pw-pw1001-meg-33)#cv period 1s PE1(config-tp-oam-pw-pw1001-meg-33)#cc enable PE1(config-tp-oam-pw-pw1001-meg-33)#exit PE1(config-tp-oam-pw-pw1002)#meg 44 PE1(config-tp-oam-pw-pw1002-meg-44)#meg-id 4 PE1(config-tp-oam-pw-pw1002-meg-44)#local-mep 14 type bidirectional PE1(config-tp-oam-pw-pw1002-meg-44)#peer-mep 41 type bidirectional PE1(config-tp-oam-pw-pw1002-meg-44)#oam enable PE1(config-tp-oam-pw-pw1002-meg-44)#cv enable PE1(config-tp-oam-pw-pw1002-meg-44)#cv period 1s PE1(config-tp-oam-pw-pw1002-meg-44)#cc enable PE1(config-tp-oam-pw-pw1002-meg-44)#exit PE1(config-tp-oam-pw-pw1002)#exit PE1(config-tp-oam)#exit /*Run the following commands to configure an APS instance:*/ 6-18 SJ-20140731105308-012|2014-10-20 (R1.82 vcid 1001 PE1(config-vpls-1001-spoke-pw-pw1001-neighbor)#signal static local-label 300 remote-label 300 PE1(config-vpls-1001-spoke-pw-pw1001-neighbor)#exit PE1(config-vpls-1001-spoke-pw-pw1001)#redundancy-manager PE1(config-vpls-1001-spoke-pw-pw1001)#protect-type 1:1 bidirectionalreceiving both protect-strategy aps PE1(config-vpls-1001-spoke-pw-pw1001)#exit PE1(config-vpls-1001)#backup-pw pw1002 protect pw1001 PE1(config-vpls-1001-protect-pw1002)#neighbor 4.0) ZTE Proprietary and Confidential .82.

WTR time: 5min Hold-off time: 2000ms.Chapter 6 APS Configuration PE1(config)#aps PE1(config-aps)#linear-protect PE1(config-aps-linear-protect)#pw-protector pw1001 PE1(config-aps-linear-protect-pwprotector-pw1001)#switch force-switch PE1(config-aps-linear-protect-pwprotector-pw1001)#hold-off 20 Configuration Verification Run the show aps linear-protect pw-protector pw1 command on PE1 to check the APS configuration and whether APS has been enabled: PE1#show aps linear-protect pw-protector pw1001 ----------[APS Linear Instance]---------Protection group type: pw Protection group id: 1 Protection group name: pw1001 Protection type: 1:1 bidirectional receiving both APS is enabled APS state: FORCED_SWITCH Protection mode: remote Active-state: restore-run Revertive mode: revertive.0) ZTE Proprietary and Confidential .valid hold-off time: 2000ms Switch command: force-switch 6-19 SJ-20140731105308-012|2014-10-20 (R1.

6-20 SJ-20140731105308-012|2014-10-20 (R1.ZXR10 M6000-S Configuration Guide (MPLS) This page intentionally left blank.0) ZTE Proprietary and Confidential .

..................................................................................... 1-16 Figure 1-15 Network Topology for IGP Synchronization ............. 1-49 Figure 1-23 LSP Load-Sharing Configuration Example .............. 1-2 Figure 1-2 ATM Forwarding ........................................................................ 1-4 Figure 1-4 MPLS Working Principle .......................................................... 1-75 Figure 1-29 Network Diagram for LDPIGP Synchronization Integrated with FRR............................................... 1-30 Figure 1-18 Establishing an LDP Target Session ............................................ 1-68 Figure 1-27 LDP IGP Synchronization Configuration Example (OSPF) ..................................................................... 1-39 Figure 1-21 Establishing an LDP FRR ...................................................................................................... 1-42 Figure 1-22 Network Architecture of LDP Graceful Restart Configuration Instance.................................................................................................................................................................... 1-5 Figure 1-6 MPLS Label Stack ...0) ZTE Proprietary and Confidential .................................... 1-85 I SJ-20140731105308-012|2014-10-20 (R1...................................... 1-71 Figure 1-28 LDP IGP Synchronization Configuration Example (IS-IS) ................................................................................................................................................................................................................................................................. 1-64 Figure 1-26 GTSM Configuration Example..................................................................... 1-11 Figure 1-11 Penultimate Hop Popping.......................................... 1-13 Figure 1-14 LDP Session Establishment .................................. 1-36 Figure 1-20 LDP Multi-Instance Topology............................................ 1-17 Figure 1-16 Implementation of Longest Matching Routes in LSP ............ 1-6 Figure 1-7 MPLS Special Terms.... 1-3 Figure 1-3 Position of MPLS ......................................................................................................................................... 1-10 Figure 1-9 LIB Generation.............................................. 1-80 Figure 1-30 Packet Filtration Configuration Example................................. 1-12 Figure 1-12 Downstream on Demand (DoD) ......................... 1-56 Figure 1-24 LDP BFD Configuration Example ........ 1-10 Figure 1-10 LSP Generation ....................................................................................... 1-13 Figure 1-13 Downstream Unsolicited ....................................... 1-8 Figure 1-8 Routing Table Generation ............................................................. 1-60 Figure 1-25 PEER BFD Configuration Example ................... 1-19 Figure 1-17 Establishing a Basic LDP Neighbour Session ......................................................................................................................................................... 1-33 Figure 1-19 Configuring a Label Distribution Policy ......... 1-4 Figure 1-5 MPLS Label Structure.........................Figures Figure 1-1 IP Forwarding ........................................................................

......................................................................................................................................... 2-19 Figure 2-7 TE Summary Refresh Configuration Example .................... 2-129 Figure 2-24 Instance of Automatic Bandwidth Regulation Configuration for the MPLS TE ................................................ 2-52 Figure 2-13 TE-FRR Bandwidth Protection ... 1-103 Figure 2-1 LSP Tunnel Establishment 1 ................ 2-73 Figure 2-17 TE-FRR Bandwidth Protection Configuration Instance .................................... 2-64 Figure 2-15 Establishing a Tunnel in Facility Mode Automatically.............. 2-37 Figure 2-10 TE LSP Calculation Scheme .................................................. 2-68 Figure 2-16 Establishing a Tunnel in Detour Protection Mode ......... 2-12 Figure 2-5 Configuring BFD on RSVP Interface ............................................................................................................................................. 2-42 Figure 2-11 Configuration Instance of OSPF TE Crossing Several AS Domains ............................. 1-88 Figure 1-32 Label-Retention Configuration Example ............. 2-105 Figure 2-20 FRR Configuration Example (Bandwidth for Backup Tunnels Being Met) ....................................................... 2-31 Figure 2-9 TE Interface Authentication Configuration ......................................... 1-93 Figure 1-34 Label-Request Configuration Example ................................................................................................. 1-90 Figure 1-33 Label-Advertise Configuration Example ......... 2-116 Figure 2-22 Establishing an MPLS TE End-to-End Path Protection.. 2-89 Figure 2-19 FRR Promotion Configuration Example (Node Protection Having a Higher Priority than Link Protection).................... 2-4 Figure 2-2 LSP Tunnel Establishment 2 ................................................................................................................................... 2-4 Figure 2-3 Establishing a Basic OSPF TE RSVP Tunnel............ 2-60 Figure 2-14 Establishing a Tunnel in Facility Mode Manually............................... 2-110 Figure 2-21 FRR Hello Configuration Example...................................................................................ZXR10 M6000-S Configuration Guide (MPLS) Figure 1-31 Label-Distribution Configuration Example ................................................................................................................................................ 2-16 Figure 2-6 RSVP LSP BFD Configuration Instance .......................................................... 2-8 Figure 2-4 Establishing a Strict IS-IS TE RSVP Tunnel .................................................................... 2-26 Figure 2-8 TE Message Acknowledgement and Retransmission Configuration Example ............................................................................... 2-43 Figure 2-12 Configuration Instance of IS-IS TE Crossing Several AS Domains ...................... 2-145 II SJ-20140731105308-012|2014-10-20 (R1.......................................... 2-137 Figure 2-25 GR Configuration Example ... 1-99 Figure 1-36 Longest-Match Configuration Example......... 1-96 Figure 1-35 LSP-Control Configuration Example......................................................................................................0) ZTE Proprietary and Confidential . 2-79 Figure 2-18 Instance of Configuration for HOT_LSP Supporting TE-FRR.................................................................................. 2-123 Figure 2-23 Loose Node Re-optimization Configuration Instance ...................................................

................. 2-203 Figure 2-38 Configuration Instance for Binding Interfaces Supporting TE Bandwidth Reservation ................................................................... 6-10 Figure 6-6 APS Configuration Example (PW Protection Group) .................. 4-3 Figure 5-1 Structure of Unidirectional 1+1 Linear Protection Switching ................... 2-175 Figure 2-32 TE Tunnel WTR Configuration Instance ........................................................................................................................................ 2-158 Figure 2-29 TE SRLG Configuration Example................................................................................................ 2-170 Figure 2-31 Topological Graph of the Instance for Tunnel Establishment with Only TE HOTSTANDBY .............................................. 2-164 Figure 2-30 TE Tunnel Re-optimization Configuration Example .. 2-154 Figure 2-28 TE Metric Configuration Example......................................................................................... 5-5 Figure 5-4 Unidirectional 1:1 Protection Switching (Primary Tunnel Z-A Failure) ........................................................................... 2-149 Figure 2-27 AR Configuration Example .................. 6-5 Figure 6-5 APS Configuration Example (Tunnel Protection Group) ................. 2-186 Figure 2-35 Instance of TE Tunnels Supporting Soft Preemption ......................... 2-199 Figure 2-37 TE Affinity Configuration Instance ................................................................................................................................................................................ 5-3 Figure 5-2 Unidirectional 1+1 Linear Protection Switching (Signal Failure) ............ 6-5 Figure 6-4 PW Protection Group Application ................................. 6-2 Figure 6-2 Working Flow of the Non-Revertive Mode ................................... 2-215 Figure 2-39 Instance for Resource Reservation Configuration on the RSVP-TE ....................................................... 2-186 Figure 2-34 Soft Preemption ............... 6-16 III SJ-20140731105308-012|2014-10-20 (R1.............................................................................................................................................. 5-9 Figure 6-1 Working Flow of the Revertive Mode......Figures Figure 2-26 FA Configuration Example ......................................................................................................................................... 2-221 Figure 3-1 MPLS OAM Configuration Example ..0) ZTE Proprietary and Confidential ............................................ 3-4 Figure 4-1 MAM ....... 2-188 Figure 2-36 Instance of Equal Load Sharing Configuration on the TE-ECMP ............................................. 2-180 Figure 2-33 Hard Preemption................................................................................................................................................................................................................. 6-4 Figure 6-3 Tunnel Protection Group Application ............................................................................ 5-6 Figure 5-5 Tunnel Protection Group Configuration Example.................................... 5-4 Figure 5-3 Unidirectional 1:1 Linear Protection Switching (Expressed in Single Direction) ...................................... 4-2 Figure 4-2 RDM ......

IV SJ-20140731105308-012|2014-10-20 (R1.Figures This page intentionally left blank.0) ZTE Proprietary and Confidential .

Autonomous System Boundary Router ATM .Backward Defect Indication BGP .Constrained Shortest Path First CV .Glossary ABR .0) ZTE Proprietary and Confidential .Access Network APS .Connectivity Verification CoS .Class of Service DNR .Equal-Cost Multi-Path routing V SJ-20140731105308-012|2014-10-20 (R1.Asynchronous Transfer Mode BDI .Automatic Protection Switching AR .Label Distribution Protocol CR-LSP .Constrained Route .Downstream Unsolicited DoD .Application Response ASBR .Area Border Router AN .Do-Not-Revert DU .Border Gateway Protocol CR-LDP .Constraint-based Routing Label Switched Path CSPF .Downstream-on-Demand ECMP .

Forwarding Equivalence Class FFD .Interior Gateway Protocol IP .Forward Defect Indication FEC .Fast Reroute GR .Label Information Base VI SJ-20140731105308-012|2014-10-20 (R1.Group Traffic State Machine IETF .Intermediate System-to-Intermediate System L2VPN .Internet Engineering Task Force IGP .Layer 2 Virtual Private Network L3VPN .Internet Protocol IPX .ZXR10 M6000-S Configuration Guide (MPLS) FA .Graceful Restart GTSM .Label Distribution Protocol LER .Internetwork Packet Exchange protocol IS-IS .Layer 3 Virtual Private Network LAN .Local Area Network LDP .Forwarding Adjacency FDI .Label Edge Router LIB .0) ZTE Proprietary and Confidential .Fast Failure Detection FR .Frame Relay FRR .

0) ZTE Proprietary and Confidential .Operation.Least Upper Bound MBB .Point to Point Protocol PW .Multiprotocol Label Switching NCP .Man Machine Language MP .Network Provider Edge NR .Pseudo Wire VII SJ-20140731105308-012|2014-10-20 (R1. Administration and Maintenance OSPF .Open Shortest Path First PE .Point of Local Repair PPP .No Request OAM .Merge Point MP-BGP .Make Before Break MML .Label Switch Router LUB .Network Control Protocol NE .Multiprotocol BGP MPLS .Network Element NPE .Label Switched Path LSR .Link State Advertisement LSP .Provider Edge PLR .Glossary LSA .

Virtual Path VPI .Virtual Route Forwarding VoIP .Virtual Path Identifier VPN .Virtual Channel Identifier VP .Time To Live UDP .Signal Failure TCP .Wait to Restore Time VIII SJ-20140731105308-012|2014-10-20 (R1.Signal Degrade SF .Resource Reservation Protocol RSVP-TE .Virtual Channel VCI .Resource Reservation Protocol .User Datagram Protocol UPE .Transport Protocol TTL .ZXR10 M6000-S Configuration Guide (MPLS) QoS .Voice over Internet Protocol WTR .Quality of Service RSVP .Virtual Private Network VRF .User-End PE VC .0) ZTE Proprietary and Confidential .Transmission Control Protocol TE .Traffic Engineering TP .Traffic Engineering SD .