Huawei AR1200 Series Configuration Manual
Hide thumbs Also See for AR1200 Series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
V200R002C01
Configuration Guide - MPLS
Issue
01
Date
2012-04-20
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei AR1200 Series

  • Page 1 Huawei AR1200 Series Enterprise Routers V200R002C01 Configuration Guide - MPLS Issue Date 2012-04-20 HUAWEI TECHNOLOGIES CO., LTD.
  • Page 2 All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
  • Page 3: About This Document

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS About This Document About This Document Intended Audience This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the static LSPs configuration, and MPLS LDP configuration supported by the AR1200 device.
  • Page 4: Command Conventions

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS About This Document Command Conventions The command conventions that may be found in this document are defined as follows. Convention Description Boldface The keywords of a command line are in boldface.
  • Page 5: Table Of Contents

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS Contents Contents About This Document........................ii 1 Static LSPs Configuration......................1 1.1 Overview of Static LSPs.............................2 1.2 Static LSPs Features Supported by the AR1200....................2 1.3 Configuring Static LSPs.............................2 1.3.1 Establishing the Configuration Task......................2 1.3.2 Configuring the LSR ID..........................3...
  • Page 6 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS Contents 2.3.5 (Optional) Configuring an LDP Transport Address................35 2.3.6 (Optional) Configuring Timers for a Local LDP Session...............36 2.3.7 Checking the Configuration........................39 2.4 Configuring a Remote LDP Session.........................42 2.4.1 Establishing the Configuration Task.......................42 2.4.2 Configuring Global LDP.........................42...
  • Page 7 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS Contents 2.9.2 Enabling Manual LDP FRR........................77 2.9.3 Checking the Configuration........................77 2.10 Configuring LDP Auto FRR...........................78 2.10.1 Establishing the Configuration Task.....................78 2.10.2 Enabling LDP Auto FRR........................79 2.10.3 Checking the Configuration........................79 2.11 Configuring Synchronization Between LDP and IGP..................80 2.11.1 Establishing the Configuration Task.....................80...
  • Page 8 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS Contents 2.17.5 Example for Configuring an Inbound LDP Policy................118 2.17.6 Example for Configuring an Outbound LDP Policy................123 2.17.7 Example for Configuring Transit LSPs Through the Prefix List............128 2.17.8 Example for Configuring LDP Extension for Inter-Area LSP............133 2.17.9 Example for Configuring Static BFD for LDP LSP................140...
  • Page 9 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS Contents 3.4.6 Checking the Configuration........................205 3.5 Configuring RSVP Authentication.........................205 3.5.1 Establishing the Configuration Task.....................205 3.5.2 Configuring RSVP Key Authentication....................206 3.5.3 (Optional) Configuring the RSVP Authentication Lifetime..............208 3.5.4 (Optional) Configuring the Handshake Function..................209 3.5.5 (Optional) Configuring the Message Window Function...............210...
  • Page 10 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS Contents 3.11 Configuring TE Manual FRR........................235 3.11.1 Establishing the Configuration Task....................235 3.11.2 Enabling TE FRR..........................236 3.11.3 Configuring a Bypass Tunnel......................237 3.11.4 (Optional) Configuring a TE FRR Scanning Timer................239 3.11.5 (Optional) Changing the PSB and RSB Timeout Multiplier...............239 3.11.6 Checking the Configuration.........................240...
  • Page 11 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS Contents 3.17.4 Configuring BFD Parameters on the Egress of the Tunnel..............266 3.17.5 Checking the Configuration.........................267 3.18 Configuring Dynamic BFD for CR-LSP......................269 3.18.1 Establishing the Configuration Task....................269 3.18.2 Enabling BFD Globally........................270 3.18.3 Enabling the Capability of Dynamically Creating BFD Sessions on the Ingress.......270 3.18.4 Enabling the Capability of Passively Creating BFD Sessions on the Egress........272...
  • Page 12: Static Lsps Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Static LSPs Configuration About This Chapter You can set up a static LSP by manually allocating labels to LSRs. The static LSP applies stable, small-scale networks. 1.1 Overview of Static LSPs The static LSP cannot be set up using a label distribution protocol but can be set up by an administrator.
  • Page 13: Overview Of Static Lsps

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration 1.1 Overview of Static LSPs The static LSP cannot be set up using a label distribution protocol but can be set up by an administrator. The static LSP applies to a stable and small-scaled network with the simple topology.
  • Page 14: Configuring The Lsr Id

    Configuration Guide - MPLS 1 Static LSPs Configuration Static LSPs are used over MPLS L2VPNs. For information about the MPLS L2VPN configuration, refer to the Huawei AR1200 Series Enterprise Routers Configuration Guide - VPN. Pre-configuration Tasks Before configuring static LSPs, complete the following task:...
  • Page 15: Enabling Mpls

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration The LSR ID of the local node is configured. lsr-id: A number in dotted decimal notation that identifies an LSR. ----End 1.3.3 Enabling MPLS MPLS features can be configured only after MPLS is enabled.
  • Page 16: Configuring The Transit Node For A Static Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Step 2 Run: static-lsp ingress lsp-name destination ip-address { mask-length | mask } { nexthop next-hop-address | outgoing-interface interface-type interface-number } out-label out-label The LSR is configured as the ingress on the specified LSP.
  • Page 17: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration The system view is displayed. Step 2 Run: static-lsp egress lsp-name incoming-interface interface-type interface-number in- label in-label [ lsrid ingress-lsr-id ] The LSR is configured as the egress on the specified LSP.
  • Page 18: Enable Global Bfd Capability

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Applicable Environment BFD is used to monitor the connectivity of the static LSP that is established manually. NOTE When static BFD works for a static LSP, a static BFD session can be created for non-host routes.
  • Page 19: Configuring Bfd With Specific Parameters On Ingress

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: This node is enabled with the global BFD function. The global BFD view is displayed.
  • Page 20 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration If the reverse link is an IP link, this parameter is inapplicable. Actual local interval between BFD packet transmissions = MAX { Locally configured interval between BFD packet transmissions, Remotely configured interval between BFD packet receipts};...
  • Page 21: Configuring Bfd With Specific Parameters On Egress

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration 1.4.4 Configuring BFD with Specific Parameters on Egress Before monitoring a static LSP using a static BFD session, configure BFD parameters on the egress of the static LSP.
  • Page 22: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Actual local interval between BFD packet transmissions = MAX { Locally configured interval between BFD packet transmissions, Remotely configured interval between BFD packet receipts}; Actual local interval between BFD packet receipts = MAX {Remotely configured interval between BFD packet transmissions, Locally configured interval between BFD packet receipts};...
  • Page 23: Maintaining Static Lsps

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Procedure Run the display bfd configuration { all | static } [ for-lsp ] command to check the BFD configuration. Run the display bfd session { all | static } [ for-lsp ] command to check information about the BFD session.
  • Page 24: Configuration Examples

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Context Run the following commands in the system view to notify the Network Management System (NMS) of LSP status changes. By default, the trap function is disabled during the setup of the LDP LSP.
  • Page 25 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Configuration Roadmap The configuration roadmap is as follows: Configure the IP address of each interface, set the loopback address as the LSR ID, and use OSPF to advertise the network segments to which the interfaces are connected and the LSR ID host route.
  • Page 26 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration [LSRC] ospf 1 [LSRC-ospf-1] area 0 [LSRC-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0 [LSRC-ospf-1-area-0.0.0.0] network 10.3.1.0 0.0.0.3 [LSRC-ospf-1-area-0.0.0.0] network 10.4.1.0 0.0.0.3 [LSRC-ospf-1-area-0.0.0.0] quit [LSRC-ospf-1] quit # Configure LSRD. [LSRD] ospf 1 [LSRD-ospf-1] area 0 [LSRD-ospf-1-area-0.0.0.0] network 4.4.4.9 0.0.0.0...
  • Page 27 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration 10.4.1.2/32 Direct 0 127.0.0.1 InLoopBack0 127.0.0.0/8 Direct 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 127.0.0.1 InLoopBack0 The next hop or outgoing interface of the static LSP on 1.1.1.9/32 from LSRD to LSRA is determined by the routing table.
  • Page 28 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration [LSRD-GigabitEthernet2/0/0] mpls [LSRD-GigabitEthernet2/0/0] quit Step 5 Establish a static LSP from LSRA to LSRD. # Configure the ingress LSRA. [LSRA] static-lsp ingress RAtoRD destination 4.4.4.9 32 nexthop 10.1.1.2 out-label # Configure the transit LSRB.
  • Page 29 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration RAtoRD 40/NULL GE1/0/0/- RDtoRA 1.1.1.9/32 NULL/30 -/GE2/0/0 [LSRD] display mpls static-lsp verbose LSP-Name : RAtoRD LSR-Type : Egress : -/- In-Label : 40 Out-Label : NULL In-Interface...
  • Page 30 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration mpls interface GigabitEthernet2/0/0 ip address 10.2.1.1 255.255.255.252 mpls interface LoopBack1 ip address 2.2.2.9 255.255.255.255 ospf 1 area 0.0.0.0 network 2.2.2.9 0.0.0.0 network 10.1.1.0 0.0.0.3 network 10.2.1.0 0.0.0.3 static-lsp transit RAtoRD incoming-interface GigabitEthernet1/0/0 in-label 20 nexthop 10.2.1.2 out-label 40...
  • Page 31: Example For Configuring Static Bfd For Static Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration network 10.2.1.0 0.0.0.3 network 10.4.1.0 0.0.0.3 static-lsp egress RAtoRD incoming-interface GigabitEthernet1/0/0 in-label 40 static-lsp ingress RDtoRA destination 1.1.1.9 32 nexthop 10.4.1.1 out-label 30 return 1.6.2 Example for Configuring Static BFD for Static LSP This section provides an example for setting up a static LSP and configuring a static BFD session for monitoring the static LSP.
  • Page 32 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Data Preparations To complete the configuration, you need the following data: IP addresses of the interfaces on each LSR OSPF process number BFD session parameters, such as configuration name and minimum detection interval...
  • Page 33 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Repeat preceding steps on PE2, P1, and P2. Step 3 Create a static LSP with PE1 functioning as the ingress and PE2 functioning as the egress. # Configure a static LSP on PE1 (ingress) named 1to4.
  • Page 34 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration WTR Interval (ms) Active Multi Last Local Diagnostic : Control Detection Time Expired Bind Application : LSPM | L2VPN | OAM_MANAGER Session TX TmrID Session Detect TmrID...
  • Page 35 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Echo Passive : Disable Acl Number Destination Port : 3784 : 254 Proc Interface Status : Disable Process PST : Disable WTR Interval (ms) Active Multi Local Demand Mode...
  • Page 36 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration ip address 10.1.2.1 255.255.255.0 mpls interface LoopBack1 ip address 1.1.1.1 255.255.255.255 ospf 100 area 0.0.0.0 network 1.1.1.1 0.0.0.0 network 10.1.1.0 0.0.0.255 network 10.1.2.0 0.0.0.255 static-lsp ingress 1to4 destination 4.4.4.4 32 nexthop 10.1.1.2 out-label 20...
  • Page 37 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration mpls interface GigabitEthernet2/0/0 ip address 10.1.5.2 255.255.255.0 mpls interface LoopBack1 ip address 2.2.2.2 255.255.255.255 ospf 100 area 0.0.0.0 network 2.2.2.2 0.0.0.0 network 10.1.1.0 0.0.0.255 network 10.1.5.0 0.0.0.255 static-lsp transit 1to4 incoming-interface GigabitEthernet1/0/0 in-label 20 nexthop 10.1.5.1 out-label 30...
  • Page 38: Mpls Ldp Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration MPLS LDP Configuration About This Chapter MPLS LDP defines the messages used during label distribution and the processing of the messages that are used to negotiate parameters between LSRs and allocate labels to set up an LSP.
  • Page 39 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration By configuring Manual LDP FRR, you can quickly switch traffic to the backup LSP when a LDP link fails, which ensures uninterrupted traffic transmission. 2.10 Configuring LDP Auto FRR LDP Auto FRR can be configured to rapidly trigger a service switchover if a fault occurs, improving network reliability.
  • Page 40: Instruction To Mpls Ldp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.1 Instruction to MPLS LDP MPLS LDP, a label distribution protocol, is widely used for transmitting VPN services. Its networking and configurations are simple. MPLS LDP supports route-driven establishment of a large number of LSPs.
  • Page 41: Mpls Ldp Features Supported By The Ar1200

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.2 MPLS LDP Features Supported by the AR1200 The AR1200 supports LDP sessions, LDP LSPs, the inter-area LDP extension, and reliability. LDP Sessions LDP sessions are established to exchange labels between label switching routers (LSRs). LDP sessions are classified into the following types: Local LDP session: established only between adjacent LSRs.
  • Page 42: Configuring A Local Ldp Session

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration On an MPLS network with both the primary and backup LSPs, LSRs use static routes to establish LSPs. If the primary LSP fails, traffic switches from the primary LSP to the backup LSP.
  • Page 43: Configuring Global Ldp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Pre-configuration Tasks Before configuring a local LDP session, complete the following task: Configuring static routes or an IGP to ensure reachable routes between LSRs Data Preparation To configure a local LDP session, you need the following data.
  • Page 44: Optional) Configuring The Dynamic Ldp Advertisement Capability

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration CAUTION After the undo mpls command is run, all MPLS configurations including LDP sessions and LSPs will be deleted and services will be interrupted. Correctly plan and set all LSR IDs for LSRs on an MPLS network to prevent this problem.
  • Page 45: Configuring A Local Ldp Session

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: mpls ldp The MPLS-LDP view is displayed. Step 3 Run: capability-announcement The dynamic LDP advertisement capability is enabled.
  • Page 46: Optional) Configuring An Ldp Transport Address

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration NOTE Disabling LDP on an interface causes the interface to terminate all LDP sessions on it and delete all LSPs established using the LDP sessions. ----End 2.3.5 (Optional) Configuring an LDP Transport Address An LDP session is established over a TCP connection.
  • Page 47: Optional) Configuring Timers For A Local Ldp Session

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.3.6 (Optional) Configuring Timers for a Local LDP Session A local LDP session uses the following timers: link Hello send timer, link Hello hold timer, KeepAlive send timer, KeepAlive hold timer, and Exponential backoff timer.
  • Page 48 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration LDP Timers Description Suggestion Exponential Started by an LSR that plays an l When a device is upgraded, prolong backoff timer active role after an LDP the period for the active role to retry Initialization message sent by setting up a session.
  • Page 49 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The default value of a link Hello hold timer is 15, in seconds. A smaller value between two configured link Hello hold timers on both ends of the LDP session takes effect.
  • Page 50: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration CAUTION Changing the value of a KeepAlive hold timer may lead to reestablishment of related LDP sessions. Configure an Exponential backoff timer. Run: system-view The system view is displayed.
  • Page 51 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Run the display mpls interface [ interface-type interface-number ] [ verbose ] command to check information about MPLS-enabled interfaces. Run the display mpls ldp [ all ] [ verbose ] command to check LDP information.
  • Page 52 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration LDP Interface Information in Public Network ------------------------------------------------------------------------------ Interface Name : GigabitEthernet1/0/0 LDP ID : 1.1.1.1:0 Transport Address : 1.1.1.1 Entity Status : Active Effective MTU : 1500...
  • Page 53: Configuring A Remote Ldp Session

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration ------------------------------------------------------------------------------ PeerID TransportAddress DiscoverySource ------------------------------------------------------------------------------ 2.2.2.2:0 2.2.2.2 GigabitEthernet1/0/0 3.3.3.3:0 3.3.3.3 GigabitEthernet2/0/0 ------------------------------------------------------------------------------ TOTAL: 2 Peer(s) Found. 2.4 Configuring a Remote LDP Session The remote LDP session is set up between two indirectly connected LSRs or directly connected LSRs.
  • Page 54: Optional) Configuring The Dynamic Ldp Advertisement Capability

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Step 2 Run: mpls lsr-id lsr-id An LSR ID is set for the local LSR. Note the following when configuring an LSR ID: l LSR IDs must be set before other MPLS commands are run.
  • Page 55: Configuring A Remote Ldp Session

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Context On an LSR disabled from the dynamic LDP negotiation capability, if an extended LDP function is enabled after an LDP session has been created, the LDP session will be interrupted and the extended LDP function will be negotiated, affecting LSP stability.
  • Page 56: Optional) Configuring Timers For A Remote Ldp Session

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration system-view The system view is displayed. Step 2 Run: mpls ldp remote-peer remote-peer-name A remote MPLS LDP peer is created and the peer MPLS-LDP view is displayed.
  • Page 57 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Timer Description Usage Keepalive hold Sends LDP PDUs over an LDP On a network with unstable links, timer session to maintain the remote increase the value of a Keepalive hold LDP session.
  • Page 58 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The system view is displayed. Run: mpls ldp remote-peer remote-peer-name The remote MPLS-LDP peer view is displayed. Run: mpls ldp timer hello-hold interval The target Hello hold timer is configured.
  • Page 59 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Run: mpls ldp timer keepalive-hold interval The Keepalive hold timer is configured. The default value of the Keepalive hold timer is 45, in seconds. The value of the Keepalive hold timer configured on the LSR may not be equal to the value of the timer that takes effect.
  • Page 60: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration – When a device is being upgraded, increase the initial and maximum values to set a large interval between attempts to set up a session. – When a device that is transmitting services is prone to intermittent interruptions, reduce the initial and maximum values to set a small interval between attempts to set up a session.
  • Page 61 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration LDP Interface Information in Public Network Codes:LAM(Label Advertisement Mode), IFName(Interface name) A '*' before an interface means the entity is being deleted. ------------------------------------------------------------------------------ IFName Status TransportAddress HelloSent/Rcv...
  • Page 62: Configuring Ldp Lsps

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Addresses received from peer: (Count: 3) 10.1.1.2 2.2.2.2 10.1.2.1 ------------------------------------------------------------------------------ Run the display mpls ldp peer command to view LDP peer information. <Huawei> display mpls ldp peer LDP Peer Information in Public network A '*' before a peer means the peer is being deleted.
  • Page 63: Establishing Ldp Lsps

    – Labeled public network BGP routes to destination addresses with 32-bit masks trigger LSP establishment. For the configuration procedure, see the chapter "BGP/MPLS IP VPN Configuration" in the Huawei AR1200 Series Enterprise Routers Configuration Guide - VPN. – Host routes trigger LSP establishment.
  • Page 64: Optional) Configuring An Ldp Label Advertisement Mode

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration packet to the egress. After receiving the packet, the egress directly forwards the unlabeled IP packet or the single-labeled packet. PHP helps reduce the burden on the egress.
  • Page 65: Optional) Configuring Ldp To Automatically Trigger The Request In Dod Mode

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Configuring an LDP Label Advertisement Mode of local LDP session. Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed.
  • Page 66: Configuring An Mpls Mtu On An Interface

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: mpls ldp The MPLS LDP view is displayed. Step 3 You can perform either of the following procedures to enable the function of triggering a request to a downstream node for a label mapping message associated with all remote LDP peers or a remote LDP peer with a specified LSR ID in DoD mode.
  • Page 67: Optional) Configuring Ldp Mtu Signaling

    2.5.7 (Optional) Configuring LDP MTU Signaling LDP MTU signaling can be configured to control which MTU TLV to be sent. Context An MPLS LDP-enabled LSR by default sends a Huawei proprietary MTU TLV different from the MTU TLV defined in RFC 3988. Issue 01 (2012-04-20) Huawei Proprietary and Confidential Copyright ©...
  • Page 68: Optional) Configuring An Ldp Split Horizon Policy

    Huawei device. This command allows the Huawei device to send the MTU TLV in compliance with RFC 3988 to the non-Huawei device. If this command is not run, a configured LDP MTU may fail to take effect.
  • Page 69: Optional) Configuring The Inbound And Outbound Ldp Policies

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Step 3 Run: outbound peer { peer-id | all } split-horizon A split horizon policy is configured to distribute labels to only upstream LDP peers. By default, split horizon is not enabled and an LSR distributes labels to both upstream and downstream LDP peers.
  • Page 70 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration To apply a policy associated with a single FEC range to an LDP peer group or all LDP peers from which the local LSR receive Label Mapping messages, configure either the peer-group peer-group-name or all parameter in the command.
  • Page 71: Optional) Configuring A Policy For Triggering Ldp Lsp Establishment

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration NOTE If multiple outbound policies are configured for a specified LDP peer, the first configured one takes effect. For example, the following two outbound policies are configured: outbound peer 2.2.2.2 fec host...
  • Page 72: Optional) Configuring A Policy For Triggering Transit Lsp Establishment

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration l To allow static routes and IGP routes to trigger LDP LSP establishment, run: lsp-trigger { all | host | ip-prefix ip-prefix-name | none } l To allow labeled public network BGP routes to trigger LDP LSP establishment, run:...
  • Page 73: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration NOTE The policy for triggering transit LSP establishment cannot be modified during the LDP GR process. ----End 2.5.12 Checking the Configuration After configuring LDP LSPs, you can view information about LDP configurations, LDP LSPs, and LSPs.
  • Page 74: Configuring Ldp Extension For Inter-Area Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration A '*' before a UpstreamPeer means the session is stale A '*' before a DS means the session is stale A '*' before a NextHop means the LSP is FRR LSP Run the display mpls lsp command to view LSP information.
  • Page 75: Configuring Ldp Extension For Inter-Area Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Data IS-IS area ID of each node and level of each node and interface 2.6.2 Configuring LDP Extension for Inter-Area LSP To configure LDP extension for inter-area LSP, configure the ingress or transit node.
  • Page 76: Configuring Static Bfd For Ldp Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration LSP Information: LDP LSP ------------------------------------------------------------------------------- In/Out Label In/Out IF Vrf Name 1.2.0.1/32 NULL/3 -/GE1/0/0 1.2.0.1/32 1024/3 -/GE1/0/0 1.3.0.1/32 NULL/1025 -/GE1/0/0 1.3.0.1/32 1025/1025 -/GE1/0/0 1.3.0.2/32 NULL/1026 -/GE1/0/0 1.3.0.2/32...
  • Page 77: Enabling Global Bfd Capability

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Data Local discriminator and remote discriminator of a BFD session 2.7.2 Enabling Global BFD Capability You need to only enable BFD on both ends of the link to be detected.
  • Page 78 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration NOTE When configuring static BFD for LDP LSP on a network deployed with LDP over TE, specify interface interface-type interface-number as the tunnel interface. Step 3 Configure the discriminators.
  • Page 79: Configuring Bfd With Specific Parameters On Egress

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration is 600 ms obtained by using the formula max {200 ms, 600 ms}, and the detection period is 2400 ms obtained by 600 ms multiplied by 4.
  • Page 80 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration l For the dynamic LSP, run: bfd cfg-name bind ldp-lsp peer-ip ip-address nexthop ip-address [ interface interface-type interface-number ] l For the static LSP, run: bfd cfg-name bind static-lsp lsp-name Step 3 Configure the discriminators.
  • Page 81: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration is 600 ms obtained by using the formula max {200 ms, 600 ms}, and the detection period is 2400 ms obtained by 600 ms multiplied by 4.
  • Page 82: Enabling Global Bfd Capability

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Applicable Environment With dynamic BFD for LDP LSP, failure detection speeds up and the workload of configuring decreases. In addition, LDP FRR is well supported for the LSP for providing better services.
  • Page 83: Enabling Mpls To Establish Bfd Session Dynamically

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Enable BFD globally. ----End 2.8.3 Enabling MPLS to Establish BFD Session Dynamically After enabling BFD on the ingress and egress nodes, you can enable MPLS to establish BFD session dynamically.
  • Page 84: Optional) Adjusting Bfd Parameters

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: mpls The MPLS view is displayed. Step 3 Run: mpls bfd-trigger [ host [ nexthop next-hop-address | outgoing-interface interface-...
  • Page 85: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Exit from the BFD view. Step 5 Run: mpls The MPLS view is displayed. Step 6 Run: mpls bfd { min-tx-interval interval | min-rx-interval interval | detect-multiplier multiplier }* BFD time parameters are set.
  • Page 86 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Run the display bfd configuration passive-dynamic [ peer-ip peer-ip remote- discriminator discriminator ] [ verbose ] command to check the BFD configuration (egress). Run the display bfd session all [ verbose ] command to check information about the BFD session (ingress).
  • Page 87: Configuring Manual Ldp Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Bind Peer Ip Address : 192.168.1.1 Bind Interface : -- FSM Board Id TOS-EXP Min Tx Interval (ms) : 10 Min Rx Interval (ms) : 10 Actual Tx Interval (ms): 100...
  • Page 88: Enabling Manual Ldp Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.9.2 Enabling Manual LDP FRR To configure Manual LDP FRR, configure the ingress or transit node. Context Perform the following steps on the ingress or transit node:...
  • Page 89: Configuring Ldp Auto Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Run the display mpls lsp command to check information about LSPs enabled with LDP FRR. ----End 2.10 Configuring LDP Auto FRR LDP Auto FRR can be configured to rapidly trigger a service switchover if a fault occurs, improving network reliability.
  • Page 90: Enabling Ldp Auto Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Data Preparation To configure LDP Auto FRR, you need the following data. Data Type and number of an interface on which a backup LSP will be established Policy for triggering LDP to establish backup LSP 2.10.2 Enabling LDP Auto FRR...
  • Page 91: Configuring Synchronization Between Ldp And Igp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Run the display mpls lsp command to check information about LSPs after LDP Auto FRR is enabled. ----End Example After configuring LDP Auto FRR, run the display mpls lsp command to view information about a backup LSP with the destination address of 2.2.2.9/32.
  • Page 92: Enabling Synchronization Between Ldp And Igp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Pre-configuration Tasks Before configuring synchronization between LDP and IGP, complete the following tasks: Configuring MPLS functions Configuring MPLS LDP functions globally and on all interfaces Data Preparation To configure synchronization between LDP and IGP, you need the following data.
  • Page 93: Optional) Setting The Hold-Down Timer Value

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Run: isis enable process-id IS-IS is enabled. Run: isis ldp-sync Synchronization between LDP and IS-IS is enabled on the interface to be protected. ----End 2.11.3 (Optional) Setting the Hold-down Timer Value You can set the value of the hold-down timer.
  • Page 94: Optional) Setting The Hold-Max-Cost Timer Value

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration By default, the hold-down timer value is 10 seconds. ----End 2.11.4 (Optional) Setting the Hold-max-cost Timer Value You can set the value of a hold-max-cost timer, that is, an interval for advertising the maximum cost through LSAs generated locally.
  • Page 95: Optional) Setting The Delay Timer Value

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Run: isis timer ldp-sync hold-max-cost { value | infinite } The interval for advertising the maximum cost in the LSAs of local LSRs using IS-IS is set.
  • Page 96: Configuring Synchronization Between Ldp And Static Routes

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Run the display ospf ldp-sync interface { all | interface-type interface-number } command to check information about synchronization between LDP and OSPF on the interface. Run the display isis [ process-id | vpn-instance vpn-instance-name ] ldp-sync interface command to check information about synchronization between LDP and IS-IS on the interface.
  • Page 97 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration After synchronization between LDP and static routes is enabled, when the LDP session goes Down, traffic is automatically switched to the backup link, ensuring non-stop traffic forwarding.
  • Page 98: Enabling Synchronization Between Ldp And Static Routes

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Data Type and number of the outbound interface of a static route Time during which a static route waits for an LDP session to be established, that is, time of the Hold-down timer (optional) 2.12.2 Enabling Synchronization Between LDP and Static Routes...
  • Page 99: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration LDP and static routes. If the Hold-down timer expires, the static route becomes active regardless of whether the LDP session has been established. NOTE Setting a Hold-down timer on loopback interfaces or null interfaces is not allowed.
  • Page 100: Configuring Ldp Gtsm

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration <Huawei> display static-route ldp-sync Total number of routes enable LDP-sync: 1 -------------------------------------------------------- interface GigabitEthernet1/0/0 Enable ldp-sync static routes number: 1 Static-route ldp-sync holddown timer Sync State: Normal Dest = 1.1.1.1, Mask = 32, NextHop = 2.2.2.2...
  • Page 101: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Context Perform the following steps on the two LDP peers that need to be configured with GTSM: Procedure Step 1 Run: system-view The system view is displayed.
  • Page 102: Configuring Ldp Security Features

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.14 Configuring LDP Security Features LDP security features such as MD5 authentication, keychain authentication, and the GTSM can be configured to meet high network security requirements. 2.14.1 Establishing the Configuration Task Before configuring LDP security features, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the data required for the configuration.
  • Page 103: Configuring Ldp Md5 Authentication

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Pre-configuration Tasks Before configuring LDP security features, complete the following task: Enabling MPLS and MPLS LDP Data Preparation To configure LDP security features, you need the following data.
  • Page 104: Configuring Ldp Keychain Authentication

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Step 2 Run: mpls ldp The MPLS-LDP view is displayed. Step 3 Run: md5-password { plain | cipher } peer-lsr-id password MD5 authentication is configured and a password is set.
  • Page 105: Configuring The Ldp Gtsm

    NOTE Keychain authentication and MD5 authentication cannot be both configured on a single LDP peer. Before configuring LDP keychain authentication, configure keychain globally. For the detailed configuration procedure, see the Huawei AR1200 Series Enterprise Routers Configuration Guide - Security. Procedure...
  • Page 106: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The system view is displayed. Step 2 Run: mpls ldp The MPLS-LDP view is displayed. Step 3 Run: gtsm peer ip-address valid-ttl-hops hops The LDP GTSM is configured.
  • Page 107: Configuring Ldp Gr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Outbound&Inbound Policies Applied : outbound peer all split-horizon Addresses received from peer: (Count: 3) 10.1.1.2 2.2.2.2 10.1.2.1 ------------------------------------------------------------------------------ Run the display gtsm statistics to view GTSM statistics on interface boards, including the number of LDP, BGP, BGPv6, and OSPF packets that are received, accepted, and dropped.
  • Page 108: Enabling Ldp Gr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Data Value of the Reconnect timer of the LDP session (optional) Value of the LDP Neighbor-liveness timer (optional) Value of the LDP Recovery timer (optional) 2.15.2 Enabling LDP GR To enable LDP GR, configure both the GR Restarter and its neighbor.
  • Page 109: Optional) Configuring Gr Helper Timers

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration NOTE l When the LDP GR is enabled or disabled, the LDP session is renewed. l During the LDP GR process, the undo mpls ldp and reset mpls ldp commands are not permitted.
  • Page 110: Maintaining Mpls Ldp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Run the display mpls graceful-restart command to check information about GR of all protocols related to MPLS. Run the display mpls ldp [ all ] [ verbose ] command to check information about LDP.
  • Page 111: Enabling The Lsp Trap Function

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Context You can run the following commands in any view to perform MPLS ping and MPLS tracert. Procedure Run: ping lsp [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m...
  • Page 112: Example For Configuring Local Ldp Sessions

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.17.1 Example for Configuring Local LDP Sessions This section describes how to configure local LDP sessions, including how to enable MPLS and LDP on nodes and interfaces.
  • Page 113 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Enable LDP on directly connected interfaces where local LDP sessions are to be established. Data Preparation To complete the configuration, you need the following data: IP address of every interface on every LSR as shown in...
  • Page 114 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRB-GigabitEthernet2/0/0] quit # Configure LSRC. [LSRC] interface gigabitethernet 1/0/0 [LSRC-GigabitEthernet1/0/0] mpls [LSRC-GigabitEthernet1/0/0] quit Step 4 Enable LDP on interfaces where local LDP sessions are to be established.
  • Page 115: Example For Configuring A Remote Ldp Session

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration interface LoopBack1 ip address 1.1.1.9 255.255.255.255 ospf 1 area 0.0.0.0 network 1.1.1.9 0.0.0.0 network 10.1.1.0 0.0.0.3 return Configuration file of LSRB sysname LSRB mpls lsr-id 2.2.2.9 mpls...
  • Page 116 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Networking Requirements LSRA and LSRC are edge routers on a backbone network shown in Figure 2-5. An LDP LSP can be configured across the backbone network to provide services for VPN sites. To establish the LDP LSP, LSRA and LSRC must establish a remote LDP session between them.
  • Page 117 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration LSR ID of each LSR Name and IP address of each remote LDP peer of a remote LDP session Procedure Step 1 Assign an IP address to each interface and configure OSPF.
  • Page 118 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration A '*' before a session means the session is being deleted. ------------------------------------------------------------------------------ PeerID Status SsnRole SsnAge KASent/Rcv ------------------------------------------------------------------------------ 3.3.3.9:0 Operational DU Passive 0000:00:01 ------------------------------------------------------------------------------ TOTAL: 1 session(s) Found.
  • Page 119: Example For Using Ldp To Establish Lsps

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration mpls ldp interface GigabitEthernet1/0/0 ip address 10.1.1.2 255.255.255.252 interface GigabitEthernet2/0/0 ip address 10.2.1.1 255.255.255.252 interface LoopBack1 ip address 2.2.2.9 255.255.255.255 ospf 1 area 0.0.0.0 network 2.2.2.9 0.0.0.0 network 10.1.1.0 0.0.0.3...
  • Page 120 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Figure 2-7 LDP LSP networking I Service provider's backbone VPN 2 VPN 1 Site LSRA LSRB LSRC Site VPN 1 VPN 2 Site Site Figure 2-8 LDP LSP networking II...
  • Page 121 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Run the display mpls ldp lsp command on each LSR. The command output shows that LDP LSPs are established using all host routes. In the following example, the display on LSRA is used.
  • Page 122 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.2.2.9/32 NULL/3 10.1.1.2 GE1/0/0 2.2.2.9/32 1024/3 2.2.2.9 10.1.1.2 GE1/0/0 3.3.3.9/32 NULL/1025 10.1.1.2 GE1/0/0 3.3.3.9/32 1025/1025 2.2.2.9 10.1.1.2 GE1/0/0 10.1.1.0/30 3/NULL 2.2.2.9 10.1.1.1 GE1/0/0 *10.1.1.0/30 Liberal 10.1.2.0/30 NULL/3 10.1.1.2...
  • Page 123: Example For Configuring Ldp To Automatically Trigger A Request In Dod Mode

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration ospf 1 area 0.0.0.0 network 2.2.2.9 0.0.0.0 network 10.1.1.0 0.0.0.3 network 10.2.1.0 0.0.0.3 return Configuration file of LSRC sysname LSRC mpls lsr-id 3.3.3.9 mpls lsp-trigger all mpls ldp interface GigabitEthernet1/0/0 ip address 10.2.1.2 255.255.255.252...
  • Page 124 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Configuration Roadmap The configuration roadmap is as follows: Assign an IP address to each interface of each node and configure the loopback address that is used as the LSR ID.
  • Page 125 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration # Configure a default route with the next-hop address being 10.1.1.2 on LSRA. <LSRA> system-view [LSRA] ip route-static 0.0.0.0 0.0.0.0 10.1.1.2 # Configure a static route to LSRA on LSRB.
  • Page 126 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Step 3 Enable global and interface-based MPLS and MPLS LDP on each node. # Configure LSRA. <LSRA> system-view [LSRA] mpls lsr-id 1.1.1.1 [LSRA] mpls [LSRA-mpls] quit [LSRA] mpls ldp...
  • Page 127 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Step 6 Configure a remote LDP session and enable the function of automatically triggering a request to a downstream node for a label mapping message associated with a remote LDP peer in DoD mode.
  • Page 128 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration You can see that the LSP from LSRA to LSRD is set up. ----End Configuration Files Configuration file of LSRA sysname LSRA mpls lsr-id 1.1.1.1 mpls mpls ldp...
  • Page 129: Example For Configuring An Inbound Ldp Policy

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration sysname LSRC mpls lsr-id 3.3.3.3 mpls mpls ldp isis 1 network-entity 10.0000.0000.0002.00 import-route static interface GigabitEthernet1/0/0 ip address 10.1.2.2 255.255.255.0 isis enable 1 mpls mpls ldp interface GigabitEthernet2/0/0 ip address 10.1.3.1 255.255.255.0...
  • Page 130 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Networking Requirements MPLS LDP is configured on the network shown in Figure 2-10. LSRD is a DSLAM functioning as a low-performance access device. By default, LSRD receives label mapping messages from all peers and then uses the routing information in these messages to establish a large number of LSPs.
  • Page 131 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration interface and to advertise the host route to each LSR ID. The configuration details are not provided here. Step 2 Enable MPLS and MPLS LDP in the system view and interface view.
  • Page 132 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration ------------------------------------------------------------------------------- LSP Information: LDP LSP ------------------------------------------------------------------------------- In/Out Label In/Out IF Vrf Name 1.1.1.9/32 NULL/1024 -/Eth1/0/0 1.1.1.9/32 1024/1024 -/Eth1/0/0 2.2.2.9/32 NULL/3 -/Eth1/0/0 2.2.2.9/32 1025/3 -/Eth1/0/0 3.3.3.9/32 NULL/1025 -/Eth1/0/0 3.3.3.9/32...
  • Page 133 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration ip address 1.1.1.9 255.255.255.255 ospf 1 area 0.0.0.0 network 1.1.1.9 0.0.0.0 network 10.1.1.0 0.0.0.255 return Configuration file of LSRB sysname LSRB mpls lsr-id 2.2.2.9 mpls mpls ldp interface Ethernet1/0/0 ip address 10.1.1.2 255.255.255.0...
  • Page 134: Example For Configuring An Outbound Ldp Policy

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration network 3.3.3.9 0.0.0.0 network 10.1.2.0 0.0.0.255 return Configuration file of LSRD sysname LSRD mpls lsr-id 4.4.4.9 mpls mpls ldp inbound peer 2.2.2.9 fec ip-prefix prefix1 interface Ethernet1/0/0 ip address 10.1.3.1 255.255.255.0...
  • Page 135 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Figure 2-11 Networking diagram of an outbound LDP policy Loopback1 Loopback1 Loopback1 1.1.1.9/32 2.2.2.9/32 3.3.3.9/32 Eth1/0/0 Eth1/0/0 Eth2/0/0 Eth1/0/0 10.1.1.1/24 10.1.1.2/24 10.1.2.1/24 10.1.2.2/24 LSRB LSRA LSRC Eth1/0/1 10.1.3.2/24...
  • Page 136 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRA] mpls ldp [LSRA-mpls-ldp] quit [LSRA] interface ethernet 1/0/0 [LSRA-Ethernet1/0/0] mpls [LSRA-Ethernet1/0/0] mpls ldp [LSRA-Ethernet1/0/0] quit # Configure LSRB. <LSRB> system-view [LSRB] mpls lsr-id 2.2.2.9 [LSRB] mpls...
  • Page 137 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The command output shows that LSPs to LSRA, LSRB, and LSRC have been established on LSRD. Step 3 Configure an outbound LDP policy. # Configure an IP prefix list on LSRB to permit the routes to LSRC to pass the outbound LDP policy.
  • Page 138 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration sysname LSRB mpls lsr-id 2.2.2.9 mpls mpls ldp outbound peer 4.4.4.9 fec ip-prefix prefix1 interface Ethernet1/0/0 ip address 10.1.1.2 255.255.255.0 mpls mpls ldp interface Ethernet1/0/1 ip address 10.1.3.2 255.255.255.0...
  • Page 139: Example For Configuring Transit Lsps Through The Prefix List

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration mpls lsr-id 4.4.4.9 mpls mpls ldp interface Ethernet1/0/0 ip address 10.1.3.1 255.255.255.0 mpls mpls ldp interface NULL0 interface LoopBack1 ip address 4.4.4.9 255.255.255.255 ospf 1 area 0.0.0.0 network 4.4.4.9 0.0.0.0...
  • Page 140 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Configure the IP address of the interfaces, set the loopback address as the LSR ID, and use OSPF to advertise the network segments to which the interfaces are connected and the LSR ID host route.
  • Page 141 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRB] interface gigabitethernet 2/0/0 [LSRB-GigabitEthernet2/0/0] mpls [LSRB-GigabitEthernet2/0/0] mpls ldp [LSRB-GigabitEthernet2/0/0] quit The configurations of LSRC and LSRD are similar to that of LSRA and LSRB, and the configurations are not mentioned here.
  • Page 142 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration A '*' before an LSP means the LSP is not established A '*' before a Label means the USCB or DSCB is stale A '*' before a UpstreamPeer means the session is in GR state A '*' before a NextHop means the LSP is FRR LSP # Display the LDP LSP on LSRC.
  • Page 143 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration A '*' before a UpstreamPeer means the session is in GR state A '*' before a NextHop means the LSP is FRR LSP The preceding information shows that the LSP control policy only allows the LDP LSP destined for 4.4.4.4/32 passing through the transit LSRB and other LDP LSPs on which LSRB is not a...
  • Page 144: Example For Configuring Ldp Extension For Inter-Area Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration return Configuration file of LSRC sysname LSRC mpls lsr-id 3.3.3.3 mpls lsp-trigger all mpls ldp interface GigabitEthernet1/0/0 ip address 192.168.2.2 255.255.255.0 mpls mpls ldp interface GigabitEthernet2/0/0 ip address 192.168.3.1 255.255.255.0...
  • Page 145 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Networking Requirements As shown in Figure 2-13, there are two IGP areas, Area 10 and Area 20. Inter-area LSPs need to be set up from LSRA to LSRB and from LSRA to LSRC. An inter-area LSP needs to be set up on LSRA so that LSRA can search for routes based on the longest match rule to establish LSPs.
  • Page 146 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Step 1 Assign IP addresses to interfaces on each node and configure the loopback addresses that are used as LSR IDs. As described in Figure 2-13, configure an IP address and a mask for each interface, including a loopback interface.
  • Page 147 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRC-Ethernet1/0/0] isis enable 1 [LSRC-Ethernet1/0/0] quit [LSRC] interface loopback 0 [LSRC-LoopBack0] isis enable 1 [LSRC-LoopBack0] quit # On LSRA, run the display ip routing-table command. You can view route information.
  • Page 148 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRA-Ethernet1/0/0] quit # Configure the LSRD. [LSRD] mpls lsr-id 1.2.0.1 [LSRD] mpls [LSRD-mpls] quit [LSRD] mpls ldp [LSRD-mpls-ldp] quit [LSRD] interface ethernet 1/0/0 [LSRD-Ethernet1/0/0] mpls [LSRD-Ethernet1/0/0] mpls ldp...
  • Page 149 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRA-mpls-ldp] quit Step 6 Verify the configuration. # After the configuration is complete, run the display mpls lsp command on LSRA to view the established LSP. [LSRA] display mpls lsp...
  • Page 150 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration ip address 20.1.1.2 255.255.255.0 isis enable 1 mpls mpls ldp interface LoopBack0 ip address 1.3.0.1 255.255.255.255 isis enable 1 return Configuration file of LSRC sysname LSRC mpls lsr-id 1.3.0.2...
  • Page 151: Example For Configuring Static Bfd For Ldp Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration interface LoopBack0 ip address 1.2.0.1 255.255.255.255 isis enable 1 return 2.17.9 Example for Configuring Static BFD for LDP LSP This section provides an example for configuring a static BFD session to detect an LDP LSP, which consists of enabling MPLS and MPLS LDP on each device and interface and enabling BFD on both ends of a link to be detected.
  • Page 152 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration IP address of each interface OSPF process number BFD configuration name, local discriminator, remote discriminator Procedure Step 1 Configure an IP address for each interface and configure OSPF on all LSRs.
  • Page 153 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [PE1-GigabitEthernet1/0/0] mpls ldp [PE1-GigabitEthernet1/0/0] quit # Configure P1. <P1> system-view [P1] mpls lsr-id 2.2.2.2 [P1] mpls [P1-mpls] quit [P1] mpls ldp [P1-mpls-ldp] quit [P1]interface gigabitethernet 1/0/0 [P1-GigabitEthernet1/0/0] mpls...
  • Page 154 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Step 4 On the ingress, set up a BFD session that is bound to the LDP LSP. # Configure PE1. <PE1> system-view [PE1] bfd 1to4 bind ldp-lsp peer-ip 4.4.4.4 nexthop 10.1.1.2 interface...
  • Page 155 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration -------------------------------------------------------------------------------- Session MIndex : 64 (Multi Hop) State : Up Name : 4to1 -------------------------------------------------------------------------------- Local Discriminator Remote Discriminator Session Detect Mode : Asynchronous Mode Without Echo Function...
  • Page 156 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration return Configuration file of PE2 sysname PE2 mpls lsr-id 4.4.4.4 mpls mpls ldp interface GigabitEthernet1/0/0 ip address 10.1.5.1 255.255.255.0 mpls mpls ldp interface GigabitEthernet2/0/0 ip address 10.1.4.1 255.255.255.0 interface LoopBack1 ip address 4.4.4.4 255.255.255.255...
  • Page 157: Example For Configuring Dynamic Bfd For Ldp Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration sysname P2 interface GigabitEthernet1/0/0 ip address 10.1.2.2 255.255.255.0 interface GigabitEthernet2/0/0 ip address 10.1.4.2 255.255.255.0 interface LoopBack1 ip address 3.3.3.3 255.255.255.255 ospf 1 area 0.0.0.0 network 3.3.3.3 0.0.0.0 network 10.1.4.0 0.0.0.255...
  • Page 158 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Step 1 Configure the IP address for each interface. The configuration details are not provided here. Step 2 Configure OSPF. The configuration details are not provided here.
  • Page 159 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration # Configure on LSRC with passive enabling BFD for LSP capability. [LSRC] bfd [LSRC-bfd] mpls-passive Step 5 Verify the configuration. # Run the display bfd session all verbose command to view the BFD session status that is created dynamically.
  • Page 160 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Session Echo Tx TmrID PDT Index : FSM-0 | RCV-0 | IF-0 | TOKEN-0 Session Description -------------------------------------------------------------------------------- Total UP/DOWN Session Number : 1/0 ----End Configuration Files Configuration file of LSRA sysname LSRA mpls lsr-id 1.1.1.1...
  • Page 161: Example For Configuring Manual Ldp Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration network 192.168.1.0 0.0.0.255 network 192.168.2.0 0.0.0.255 return Configuration file of LSRC sysname LSRC mpls-passive mpls lsr-id 3.3.3.3 mpls mpls ldp interface GigabitEthernet1/0/0 ip address 192.168.2.2 255.255.255.0 mpls...
  • Page 162 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Figure 2-16 Networking diagram for configuring Manual LDP FRR L o o p b a ck1 2 .2 .2 .9 /3 2 L S R B L o o p b a ck1 1 .1 .1 .9 /3 2...
  • Page 163 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration <LSRA> system-view [LSRA] ospf 1 [LSRA-ospf-1] area 0 [LSRA-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0 [LSRA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.3 [LSRA-ospf-1-area-0.0.0.0] network 10.3.1.0 0.0.0.3 [LSRA-ospf-1-area-0.0.0.0] quit [LSRA-ospf-1] quit # Configure LSRB.
  • Page 164 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRA-GigabitEthernet1/0/0] quit [LSRA] interface gigabitethernet 2/0/0 [LSRA-GigabitEthernet2/0/0] mpls [LSRA-GigabitEthernet2/0/0] mpls ldp [LSRA-GigabitEthernet2/0/0] quit # Configure LSRB. [LSRB] mpls lsr-id 2.2.2.9 [LSRB] mpls [LSRB-mpls] quit [LSRB] mpls ldp...
  • Page 165 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration <LSRA> display mpls lsp ---------------------------------------------------------------------- LSP Information: LDP LSP ---------------------------------------------------------------------- In/Out Label In/Out IF Vrf Name 3.3.3.9/32 NULL/3 -/GE2/0/0 **LDP FRR** /1025 /GE1/0/0 3.3.3.9/32 1025/3 -/GE2/0/0 **LDP FRR**...
  • Page 166: Example For Configuring Ldp Auto Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration ospf 1 area 0.0.0.0 network 2.2.2.9 0.0.0.0 network 10.1.1.0 0.0.0.3 network 10.2.1.0 0.0.0.3 return Configuration file of LSRC sysname LSRC mpls lsr-id 3.3.3.9 mpls mpls ldp interface GigabitEthernet1/0/0 ip address 10.3.1.2 255.255.255.252...
  • Page 167 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Figure 2-17 LDP Auto FRR networking L o o p b a ck0 2 .2 .2 .9 /3 2 L S R B b a cku p L S P...
  • Page 168 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration <LSRA> system-view [LSRA] isis 1 [LSRA-isis-1] network-entity 10.0000.0000.0001.00 [LSRA-isis-1] quit [LSRA] interface gigabitethernet 1/0/0 [LSRA-GigabitEthernet1/0/0] isis enable 1 [LSRA-GigabitEthernet1/0/0] quit [LSRA] interface gigabitethernet 2/0/0 [LSRA-GigabitEthernet2/0/0] isis enable 1...
  • Page 169 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRB] mpls ldp [LSRB-mpls-ldp] quit [LSRB] interface gigabitethernet 1/0/0 [LSRB-GigabitEthernet1/0/0] mpls [LSRB-GigabitEthernet1/0/0] mpls ldp [LSRB-GigabitEthernet1/0/0] quit [LSRB] interface gigabitethernet 2/0/0 [LSRB-GigabitEthernet2/0/0] mpls [LSRB-GigabitEthernet2/0/0] mpls ldp [LSRB-GigabitEthernet2/0/0] quit # Configure LSRC.
  • Page 170 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Tag: 0 Priority: high Label: NULL QoSInfo: 0x0 IndirectID: 0x0 RelayNextHop: 0.0.0.0 Interface: GigabitEthernet2/0/0 TunnelID: 0x0 Flags: D BkNextHop: 10.1.1.2 BkInterface: GigabitEthernet1/0/0 BkLabel: NULL SecTunnelID: 0x0 BkPETunnelID: 0x0...
  • Page 171 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRA] mpls ldp [LSRA-mpls-ldp] auto-frr lsp-trigger all [LSRA-mpls-ldp] quit Step 7 Verify the configuration. # After completing the preceding configurations, run the display mpls lsp command on LSRA to view LSP information.
  • Page 172 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration return Configuration file of LSRB sysname LSRB mpls lsr-id 2.2.2.9 mpls mpls ldp isis 1 network-entity 10.0000.0000.0002.00 interface GigabitEthernet1/0/0 ip address 10.1.1.2 255.255.255.0 isis enable 1 mpls...
  • Page 173: Example For Configuring Synchronization Between Ldp And Igp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.17.13 Example for Configuring Synchronization Between LDP and IGP This section provides an example for configuring LDP and IGP synchronization. The procedure consists of enabling MPLS and MPLS LDP on each device and each interface and configuring the interfaces of both ends of the link between the crossing node of active and standby links and the LDP neighboring node.
  • Page 174 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Data Preparation To complete the configuration, you need the following data: IP addresses of the interfaces, OSPF process number, and the area Values of the hold-down, hold-max-cost, and delay timers...
  • Page 175 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [P2] mpls [P2-mpls] quit [P2] mpls ldp [P2-mpls-ldp] quit [P2] interface gigabitethernet 1/0/0 [P2-GigabitEthernet1/0/0] mpls [P2-GigabitEthernet1/0/0] mpls ldp [P2-GigabitEthernet1/0/0] quit [P2] interface gigabitethernet 2/0/0 [P2-GigabitEthernet2/0/0] mpls [P2-GigabitEthernet2/0/0] mpls ldp [P2-GigabitEthernet2/0/0] quit # Configure P3.
  • Page 176 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [P1] interface gigabitethernet 1/0/0 [P1-GigabitEthernet1/0/0] ospf ldp-sync [P1-GigabitEthernet1/0/0] quit # Configure P2. <P2> system-view [P2] interface gigabitethernet 1/0/0 [P2-GigabitEthernet1/0/0] ospf ldp-sync [P2-GigabitEthernet1/0/0] quit Step 4 Set a value for the hold-down timer on the P1 and P2 interfaces.
  • Page 177 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Configuration Files Configuration file of P1 sysname P1 mpls lsr-id 1.1.1.9 mpls mpls ldp interface GigabitEthernet1/0/0 ip address 10.1.1.1 255.255.255.252 ospf ldp-sync ospf timer ldp-sync hold-down 8...
  • Page 178 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration return Configuration file of P3 sysname P3 mpls lsr-id 3.3.3.9 mpls mpls ldp interface GigabitEthernet1/0/0 ip address 10.3.1.2 255.255.255.252 mpls mpls ldp interface GigabitEthernet2/0/0 ip address 10.4.1.1 255.255.255.252...
  • Page 179: Example For Configuring Synchronization Between Ldp And Static Routes

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.17.14 Example for Configuring Synchronization Between LDP and Static Routes By configuring synchronization between LDP and static routes, you can minimize MPLS traffic loss during traffic switchover and switchback on an MPLS network with the primary link, backup link, and LSPs depending on static routes.
  • Page 180 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Configure static routes between LSRs to ensure network connectivity. Enable MPLS and MPLS LDP in the system view and interface view. Configure synchronization between LDP and static routes and verify the configuration.
  • Page 181 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Static routing table status : <Active> Destinations : 5 Routes : 5 Destination/Mask Proto Cost Flags NextHop Interface 2.2.2.2/32 Static 10.1.1.1 GigabitEthernet1/0/0 3.3.3.3/32 Static 20.1.1.1 GigabitEthernet2/0/0 4.4.4.4/32 Static 10.1.1.1...
  • Page 182 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration # Configure LSRD. [LSRD] ip route-static 1.1.1.1 32 gigabitethernet 1/0/0 ldp-sync [LSRD] interface gigabitethernet 1/0/0 [LSRD-GigabitEthernet1/0/0] static-route timer ldp-sync hold-down 20 [LSRD-GigabitEthernet1/0/0] quit Step 5 Verify the configuration.
  • Page 183 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration ip route-static 4.4.4.4 255.255.255.255 GigabitEthernet2/0/0 preference 60 ip route-static 30.1.1.0 255.255.255.252 GigabitEthernet1/0/0 ip route-static 40.1.1.0 255.255.255.252 GigabitEthernet2/0/0 return Configuration file of LSRB sysname LSRB mpls lsr-id 2.2.2.2...
  • Page 184: Example For Configuring Ldp Gtsm

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration static-route timer ldp-sync hold-down 20 mpls mpls ldp interface GigabitEthernet2/0/0 ip address 40.1.1.2 255.255.255.252 mpls mpls ldp interface loopback0 ip address 4.4.4.4 255.255.255.255 ip route-static 1.1.1.1 255.255.255.255 GigabitEthernet1/0/0 preference 40 ldp-sync ip route-static 1.1.1.1 255.255.255.255 GigabitEthernet2/0/0 preference 60...
  • Page 185 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Step 1 Configure an IP address for each interface. The configuration details are not provided here. Step 2 Configure OSPF to advertise the network segments connected to the interfaces of the LSRs and host routes of LSR IDs.
  • Page 186 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration mpls ldp gtsm peer 2.2.2.9 valid-ttl-hops 3 interface GigabitEthernet1/0/0 ip address 10.1.1.1 255.255.255.252 mpls mpls ldp interface LoopBack1 ip address 1.1.1.9 255.255.255.255 ospf 1 area 0.0.0.0 network 1.1.1.9 0.0.0.0 network 10.1.1.0 0.0.0.3...
  • Page 187 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration area 0.0.0.0 network 3.3.3.9 0.0.0.0 network 10.2.1.0 0.0.0.3 return Issue 01 (2012-04-20) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 188: Mpls Te Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration MPLS TE Configuration About This Chapter MPLS TE tunnels transmit MPLS L2VPN (VLL and VPLS) services and MPLS L3VPN services and provide high security and guarantees reliable QoS for VPN services.
  • Page 189 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration By adjusting the flooding threshold of the bandwidth change, you can suppress the frequency of TEDB update and flooding, which minimizes network resource consumption. 3.10 Configuring the Limit Rate of MPLS TE Traffic To limit TE tunnel traffic within the bandwidth range that is actually configured, set a rate limit for the TE tunnel traffic.
  • Page 190: Introduction To Mpls Te

    TE reliability. NOTE This section describes MPLS TE features that the AR1200 supports. For more information about MPLS TE features, see the chapter "MPLS TE" in the Huawei AR1200 Series Enterprise Routers Feature Description - MPLS. Static MPLS TE Tunnels Static MPLS TE tunnels are established using labels that are allocated manually but not by a signaling protocol to send control packets.
  • Page 191 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Static MPLS TE tunnels have the highest priorities, which means that their bandwidth cannot be preempted. Static MPLS TE tunnels will not preempt bandwidth of other types of LSPs.
  • Page 192 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Reliability CR-LSP backup provides an end-to-end protection mechanism. CR-LSP backup is usually used together with another rapid detection or protection mechanism to implement rapid traffic switchovers and prevent traffic loss. The following feature combinations are supported: CR-LSP backup and TE FRR TE FRR is a local protection mechanism.
  • Page 193: Configuring Static Cr-Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration BFD configured on the AR1200 can monitor hot-standby CR-LSPs and tunnel protection groups. RSVP GR RSVP graceful restart (GR) is a state recovery mechanism for RSVP-TE. If the control...
  • Page 194: Enabling Mpls Te

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Data Destination address of the static CR-LSP Next hop address or outgoing interface on the ingress Incoming interface, next hop address, or outgoing interface on each transit...
  • Page 195: Optional) Configuring Link Bandwidth

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The MPLS is enabled on the interface. Step 7 Run: mpls te The MPLS TE is enabled on the interface. NOTE When the MPLS TE is disabled in the interface view, all the CR-LSPs on the current interface change to Down.
  • Page 196: Configuring The Mpls Te Tunnel Interface

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE l The maximum reservable bandwidth of a link cannot be greater than the actual bandwidth of the link. A maximum of 80% of the actual bandwidth of the link is recommended for the maximum reservable bandwidth of the link.
  • Page 197: Configuring The Ingress Of The Static Cr-Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Step 5 Run: destination ip-address The destination address of the tunnel is configured, which is usually the LSR ID of the egress node. Different types of tunnels need different destination addresses. When the tunnel protocol is changed to MPLS TE from other different protocols, the configured destination is deleted automatically and needs to be reconfigured.
  • Page 198: Configuring The Transit Of The Static Cr-Lsp

    The next hop or outgoing interface is determined by the route from the ingress to the egress. For the difference between the next hop and outgoing interface, refer to "Static Route Configuration" in the Huawei AR1200 Series Enterprise Routers Configuration Guide - IP Routing. ----End 3.2.6 Configuring the Transit of the Static CR-LSP...
  • Page 199: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The system view is displayed. Step 2 Run: static-cr-lsp egress lsp-name incoming-interface interface-type interface-number in-label in-label [ lsrid ingress-lsr-id tunnel-id tunnel-id ] The LSR is configured as the egress of the specified static CR-LSP.
  • Page 200: Establishing The Configuration Task

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.3.1 Establishing the Configuration Task Before configuring an RSVP-TE tunnel, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the data required for the configuration.
  • Page 201 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Context MPLS TE and RSVP-TE must be enabled on each node and its interfaces. After this, an RSVP- TE tunnel can be established and settings such as link bandwidth attributes and Constraint Shortest Path First (CSPF) parameters can be configured.
  • Page 202: Optional) Configuring Link Bandwidth

    BC0 bandwidth and BC1 bandwidth of a link cannot be higher than the maximum reservable bandwidth of the link. l If the bandwidth required for the CR-LSP is more than 67,105 kbit/s, Huawei recommends that additional one thousandth of the required bandwidth is reserved.
  • Page 203: Configuring Is-Is Te

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Context Nodes on an MPLS network use OSPF TE to exchange TE link attributes such as bandwidth and colors to generate TEDBs. TEDB information is used by CSPF to calculate paths for RSVP- TE tunnels.
  • Page 204: Optional) Configuring An Mpls Te Explicit Path

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: isis [ process-id ] The IS-IS view is displayed. Step 3 Run: cost-style { compatible [ relax-spf-limit ] | wide | wide-compatible } The IS-IS wide metric function is enabled.
  • Page 205 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Strict: A hop is directly connected to its next hop. Loose: Other nodes may exist between a hop and its next hop. The strict and loose modes are used either separately or together.
  • Page 206: Configuring An Mpls Te Tunnel Interface

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Information about nodes on the explicit path is displayed. ----End 3.3.7 Configuring an MPLS TE Tunnel Interface A tunnel interface must be created on the ingress so that a tunnel can be established and forward data packets.
  • Page 207: Configuring Tunnel Constraints

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration destination ip-address A tunnel destination address is configured, which is usually the LSR ID of the egress. Various types of tunnels require specific destination addresses. If a tunnel protocol is changed from another protocol to MPLS TE, a configured destination address is deleted automatically and a new destination address needs to be configured.
  • Page 208: Optional) Configuring An Rsvp Resource Reservation Style

    Context A reservation style is used by an RSVP node to reserve resources after receiving resource reservation requests from upstream nodes. The Huawei AR1200 Series supports the following reservation styles: Fixed filter (FF): reserves resources for each ingress node. The sum of reserved resources on a node is equal to the sum of reserved resources for all ingress nodes.
  • Page 209: Configuring Cspf

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface tunnel tunnel-number The tunnel interface view is displayed. Step 3 Run: mpls te resv-style { ff | se } A resource reservation style is configured.
  • Page 210: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Step 3 Run: mpls te cspf CSPF is enabled on a node. CSPF is disabled by default. Step 4 (Optional) Run: mpls te cspf preferred-igp { isis | ospf } A preferred IGP is specified.
  • Page 211: Adjusting Rsvp Signaling Parameters

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Run the display mpls rsvp-te peer [ interface interface-type interface-number ] command to check RSVP neighbor parameters. Run the display mpls rsvp-te reservation [ interface interface-type interface-number peer-ip-address ] command to check information about RSVP resource reservation.
  • Page 212: Establishing The Configuration Task

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.4.1 Establishing the Configuration Task Before adjusting RSVP signaling parameters, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. Applicable Environment RSVP TE supports diversified signaling parameters.
  • Page 213: Configuring Rsvp Timers

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Step 3 Run: mpls rsvp-te hello RSVP Hello extension is enabled on this node. By default, the RSVP hello extension is disabled. Step 4 Run: mpls rsvp-te hello-lost times The permitted maximum number of dropped Hello messages is set.
  • Page 214: Configuring Rsvp Refresh Mechanism

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The system view is displayed. Step 2 Run: mpls The MPLS view is displayed. Step 3 Run: mpls rsvp-te timer refresh interval The interval for refreshing Path/Resv messages is set.
  • Page 215: Enabling Reservation Confirmation Mechanism

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The Srefresh mechanism that is configured in the interface view takes effect only on the current interface. To enter the MPLS view, run: mpls The Srefresh mechanism that is configured in the MPLS view takes effect globally. The Srefresh mechanism in MPLS view is applied to the TE FRR networking.
  • Page 216: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.4.6 Checking the Configuration After adjusting RSVP signaling parameters, you can view the refresh parameters, the status of RSVP reservation confirmation and RSVP Hello extension, and the RSVP status timer configuration.
  • Page 217: Configuring Rsvp Key Authentication

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration termination between RSVP neighbors. The handshake and message window functions, together with RSVP key authentication, can prevent the preceding problems. The RSVP authentication lifetime is configured, preventing unceasing RSVP authentication. In the situation where no CR-LSP exists between RSVP neighbors, the neighbor relationship is kept Up until the RSVP authentication lifetime expires.
  • Page 218 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE RSVP keychain authentication only supports hmac-md5 algorithm. NOTE Characters ^#^# and $@$@ are used to identify passwords with variable lengths. Characters ^#^# are the prefix and suffix of a new password, and characters $@$@ are the prefix and suffix of an old password.
  • Page 219: Optional) Configuring The Rsvp Authentication Lifetime

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration interface of the neighbor, providing high security. In this case, RSVP key authentication has the highest preference. – When ip-address is specified as an address equal to the LSR ID of the RSVP neighbor, key authentication is based on the neighbor's LSR ID.
  • Page 220: Optional) Configuring The Handshake Function

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration lifetime is in the format of HH:MM:SS. The value ranges from 00:00:01 to 23:59:59. By default, the time is 00:30:00, that is, 30 minutes. ----End 3.5.4 (Optional) Configuring the Handshake Function RSVP key authentication is the prerequisite for configuring the RSVP handshake function.
  • Page 221: Optional) Configuring The Message Window Function

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE If you run the mpls rsvp-te authentication lifetime command after configuring the handshake function, note that the RSVP authentication lifetime must be greater than the interval for sending RSVP refresh messages.
  • Page 222: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Configuring RSVP Key Authentication must be configured before the message window function is configured. NOTE If RSVP is enabled on an Eth-Trunk interface or an IP-Trunk interface, only one neighbor relationship is established on the trunk link between RSVP neighbors.
  • Page 223 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Tie-breaking methods for selecting the path are as follows: – Most-fill: selects a link with the largest ratio of the used bandwidth to the maximum reservable bandwidth. This method ensures that bandwidth resources are used effectively.
  • Page 224: Configuring Administrative Group And Affinity Property

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Data Preparation To adjust the selection of the CR-LSP, you need the following data. Data Tie-breaking policy for the node and the tunnel Administrative group of links and affinity property of tunnels...
  • Page 225: Configuring Srlg

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration By default, the values of administrative group, affinity property, and mask are all 0x0. Step 7 Run: mpls te commit The current tunnel configuration is committed. ----End...
  • Page 226: Configuring Cr-Lsp Hop Limit

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Run: system-view The system view is displayed. Run: mpls The MPLS view is displayed. Run: mpls te srlg path-calculation [ preferred | strict ] The SRLG path calculation mode is configured.
  • Page 227 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Procedure Specifying the metric type used by the tunnel Perform the following steps on the ingress along a CR-LSP tunnel: Run: system-view The system view is displayed.
  • Page 228: Configuring Tie-Breaking Of Cspf

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration mpls te metric value The TE metric value of the path is configured. By default, the path uses the IGP metric value as the TE metric value.
  • Page 229: Configuring Failed Link Timer

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.6.7 Configuring Failed Link Timer By configuring a failed-link timer, you can prevent a failed link from repeatedly participating in the CSPF calculation. Context CSPF uses a locally-maintained traffic-engineering database (TEDB) to calculate the shortest path to the destination address.
  • Page 230: Configuring Loop Detection

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.6.8 Configuring Loop Detection By configuring the loop detection function, you can prevent loops. Context In the loop detection mechanism, a maximum number of 32 hops are allowed on an LSP. If information about the local LSR is recorded in the path information table, or the number of hops on the path exceeds 32, this indicates that a loop occurs and the LSP fails to be set up.
  • Page 231: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The system view is displayed. Step 2 Run: interface tunnel interface-number The tunnel interface view of the MPLS TE tunnel is displayed. Step 3 Run: mpls te record-route [ label ] Route record and label record are enabled.
  • Page 232: Configuring The Tunnel Priority

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Applicable Environment During the establishment of an MPLS TE tunnel, specific configurations are required in the practical application. This section describes the special configuration. Pre-configuration Tasks Note that tasks introduced in this section are of special configuration in MPLS TE. Before performing these configuration tasks, you must know their influences on the system.
  • Page 233: Configuring Re-Optimization For Cr-Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE The setup priority should not be higher than the holding priority. So the value of the setup priority must not be less than that of the holding priority.
  • Page 234: Associating Cr-Lsp Establishment With The Overload Setting

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The TE tunnel is re-optimized immediately. After configuring the timing re-optimization in the tunnel view, return to the user view and run the mpls te reoptimization command to re-optimize the optimized tunnels immediately. Once the re-optimization is performed, the timing re-optimization timer is reset and count time again.
  • Page 235: Configuring Tunnel Reestablishment Parameters

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration l CSPF calculates paths excluding overloaded nodes for new CR-LSPs. NOTE This command does not take effect on bypass tunnels. If the ingress or egress is marked overloaded, the mpls te path-selection overload command does not take effect.
  • Page 236: Configuring Route Record And Label Record

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.7.6 Configuring Route Record and Label Record By configuring route record and label record, you can determine whether to record routes and labels during the establishment of an RSVP-TE tunnel.
  • Page 237: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Step 3 Run: mpls te signaling-delay-trigger enable The RSVP signaling delay-trigger function is enabled. By default, the RSVP signaling delay-trigger function is not enabled. ----End 3.7.8 Checking the Configuration After adjusting the establishment of an MPLS TE tunnel, you can view the TE tunnel attributes.
  • Page 238: Configuring Igp Shortcut

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Pre-configuration Tasks The configuration described in this section should be used together with CSPF and the dynamic signaling protocol (such as RSVP-TE). Before adjusting the traffic forwarding, complete the following task:...
  • Page 239: Configuring Forwarding Adjacency

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE By default, the IGP shortcut is not configured. If the IGP type is not specified when the IGP shortcut is configured, both IS-IS and OSPF are supported by default.
  • Page 240: Configuring Switching Delay And Deletion Delay

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface tunnel interface-number The tunnel interface view is displayed. Step 3 Run: mpls te igp advertise [ hold-time interval ] The forwarding adjacency is enabled.
  • Page 241: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration established before the original CR-LSP is torn down. Through the make-before-break mechanism, the system does not need to calculate the bandwidth to be reserved for the new CR- LSP.
  • Page 242: Adjusting Flooding Threshold Of Bandwidth Change

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.9 Adjusting Flooding Threshold of Bandwidth Change By adjusting the flooding threshold of the bandwidth change, you can suppress the frequency of TEDB update and flooding, which minimizes network resource consumption.
  • Page 243: Configuring Flooding Threshold

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.9.2 Configuring Flooding Threshold The bandwidth flooding threshold indicates the ratio of the link bandwidth occupied or released by a TE tunnel to the link bandwidth remained in the TEDB.
  • Page 244: Configuring The Limit Rate Of Mpls Te Traffic

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Prerequisites All configurations of adjusting the flooding threshold of bandwidth change are complete. Procedure Step 1 Run the display current-configuration command to view information about the flooding threshold of bandwidth.
  • Page 245: Configuring The Limit Rate Of Mpls Te Traffic

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.10.2 Configuring the Limit Rate of MPLS TE Traffic Before setting a limit rate for the TE tunnel traffic, you must configure the bandwidth of the tunnel interfaces.
  • Page 246: Configuring Te Manual Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.11 Configuring TE Manual FRR TE manual FRR is a local protection mechanism used on MPLS TE networks. TE manual FRR switches traffic on a primary MPLS TE tunnel to a manually configured bypass tunnel if a link or node on the primary tunnel fails.
  • Page 247: Enabling Te Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE After an interface connected to an LSR or a CR-LSP is deleted or its board is removed, the interface enters the stale state. If the number of stale interfaces on a node reaches the maximum number allowed by the license, the node does not implement FRR for the primary tunnel if the interface providing the outbound interface for the primary tunnel is removed or faulty.
  • Page 248: Configuring A Bypass Tunnel

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The system view is displayed. Step 2 Run: interface tunnel tunnel-number The interface view of a primary tunnel is displayed. Step 3 Run: mpls te fast-reroute [ bandwidth ] TE FRR is enabled.
  • Page 249 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE A tunnel interface must have an IP address to forward traffic. An MPLS TE tunnel is unidirectional and does not need a peer address. Therefore, there is no need to configure a separate IP address for the tunnel interface.
  • Page 250: Optional) Configuring A Te Frr Scanning Timer

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The configuration is committed. ----End 3.11.4 (Optional) Configuring a TE FRR Scanning Timer A TE FRR-enabled device periodically searches for an optimal manual FRR tunnel for each primary tunnel and binds the bypass tunnel (if there is) to the primary tunnel.
  • Page 251: Checking The Configuration

    ----End Example Run the display mpls te tunnel-interface command to view information about the tunnel interface of a primary or bypass tunnel. <Huawei> display mpls te tunnel-interface tunnel 1/0/0 ---------------------------------------------------------------- Tunnel/0/0 ---------------------------------------------------------------- Tunnel State Desc...
  • Page 252: Configuring Mpls Te Auto Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Primary LSP State : DOWN Main LSP State : SETTING UP Hot-Standby LSP State : UP Main LSP State : READY LSP ID : 32799 Modify LSP State...
  • Page 253: Enabling The Te Auto Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Enabling MPLS, MPLS TE and RSVP TE globally and in the physical interface view of the node along the bypass tunnel (See 3.3.2 Enabling MPLS TE and RSVP-TE.)
  • Page 254: Enabling The Te Frr And Configuring The Auto Bypass Tunnel Attributes

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration By default, after Auto FRR is enabled globally, all the MPLS TE interfaces are automatically configured with the mpls te auto-frr default command. To disable Auto FRR on some interfaces, run the undo mpls te auto-frr command on these interfaces.
  • Page 255: Optional) Configuring The Scanning Timer For Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE l The bypass tunnel attributes can be configured only after the mpls te fast-reroute bandwidth command is run on the primary tunnel. l The bandwidth of the bypass tunnel cannot be greater than the bandwidth of the primary tunnel.
  • Page 256: Optional) Modifying Psb And Rsb Timeout Multiplier

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration if the protected LSP is restored or another LSP is established, traffic is switched to the original LSP or the newly-established LSP. ----End 3.12.5 (Optional) Modifying PSB and RSB Timeout Multiplier To perform TE FRR during the RSVP GR process, modify the timeout multiplier of the PSB or RSB.
  • Page 257: Configuring Cr-Lsp Backup

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration lsr-role { ingress | transit | egress } ] command to check path information about the primary tunnel and the auto bypass tunnel. ----End 3.13 Configuring CR-LSP Backup CR-LSP backup is configured to provide end-to-end protection for traffic on CR-LSPs.
  • Page 258: Configuring Cr-Lsp Backup

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration On the network shown in Figure 3-1, a primary CR-LSP is set up over a path PE1 -> P1 -> PE2; a backup CR-LSP is set up over a path PE1 -> P2 -> PE2; a best-effort path is set up over a path PE1 ->...
  • Page 259 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface tunnel tunnel-number The tunnel interface view is displayed. Step 3 Run: mpls te backup { hot-standby [ wtr interval ] | ordinary } The mode of establishing a backup CR-LSP is configured.
  • Page 260: Optional) Configuring Dynamic Bandwidth For Hot-Standby Cr-Lsps

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.13.3 (Optional) Configuring Dynamic Bandwidth for Hot- Standby CR-LSPs Dynamic bandwidth can be configured on the ingress for hot-standby CR-LSPs. This allows hot-standby CR-LSPs to be established only if the primary CR-LSP fails, efficiently using bandwidth resources.
  • Page 261: Optional) Configuring A Best-Effort Path

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.13.4 (Optional) Configuring a Best-Effort Path A best-effort path is configured on the ingress of a primary CR-LSP to take over traffic if both the primary and backup CR-LSPs fail.
  • Page 262: Configuring Synchronization Of The Bypass Tunnel And The Backup Cr-Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Procedure Run the display mpls te tunnel-interface [ tunnel tunnel-number ] command to check information about a tunnel interface on the ingress. Run the display mpls te hot-standby state { all [ verbose ] | interface tunnel interface- number } command to check information about the hot-standby status.
  • Page 263: Enabling Synchronization Of The Bypass Tunnel And The Backup Cr-Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration is in the FRR-in-use state. That is, when the primary CR-LSP works normally, no more bandwidth resources are needed. Therefore, the ordinary backup is recommended. Pre-configuration Tasks...
  • Page 264: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Step 3 Run: mpls te backup frr-in-use When the primary CR-LSP is faulty (that is, the primary CR-LSP is in FRR-in-use state), the system starts the TE FRR bypass tunnel and tries to restore the primary CR-LSP. At the same time, the system tries to set up a backup CR-LSP.
  • Page 265: Enabling The Rsvp Hello Extension Function

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration On the AR1200, FRR switching is performed during the RSVP GR process. FRR protects traffic if a switchover is performed on the PLR node, PLR upstream node, MP, or MP downstream node and the outgoing interface of the PLR primary tunnel fails, reducing the fault period.
  • Page 266: Enabling Full Gr Of Rsvp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The MPLS view is displayed. Step 3 Run: mpls rsvp-te hello The RSVP Hello extension function is enabled globally. Step 4 Run: quit The system view is displayed.
  • Page 267: Optional) Configuring Hello Sessions Between Rsvp Gr Nodes

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Context RSVP GR takes effect on the RSVP GR-enabled neighbor automatically after the neighbor is enabled with RSVP full GR. If the GR node's neighbor is a GR node, do not perform the following steps.
  • Page 268: Optional) Modifying Basic Time

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The MPLS view is displayed. Step 3 Run: mpls rsvp-te RSVP-TE is enabled. Step 4 Run: mpls rsvp-te hello The RSVP Hello function is enabled on the local node.
  • Page 269: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration By default, the RSVP GR basic time is 90 seconds. ----End 3.15.7 Checking the Configuration After the configuration of RSVP GR, you can view that the TE tunnel properly forward data during the GR process.
  • Page 270: Enabling Bfd Globally

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE BFD for LSP can function properly though the forward path is an LSP and the backward path is an IP link. The forward path and the backward path must be established over the same link; otherwise, if a fault occurs, BFD cannot identify the faulty path.
  • Page 271: Configuring Bfd Parameters On The Ingress Of The Tunnel

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.16.3 Configuring BFD Parameters on the Ingress of the Tunnel The BFD parameters configured on the ingress node include the local and remote discriminators, local minimum intervals at which BFD packets are sent and received, and BFD detection multiplier, which determine the establishment of a BFD session.
  • Page 272: Configuring Bfd Parameters On The Egress Of The Tunnel

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE Actual local sending interval = MAX { Configured local sending interval, Configured remote receiving interval } Actual local receiving interval = MAX { Configured remote sending interval, Configured local receiving...
  • Page 273: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Step 3 Run: discriminator local discr-value The local discriminator is set. Step 4 Run: discriminator remote discr-value The remote discriminator is set. Step 5 (Optional) Run: min-tx-interval interval The minimum interval at which the local end sends BFD packets is set.
  • Page 274 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration – Run the display bfd configuration ldp-lsp peer-ip peer-ip [ interface interface-type interface-number ] [ verbose ] command to check the configurations of BFD with the backward channel being an LDP LSP.
  • Page 275: Configuring Static Bfd For Te

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Example After completing the configuration, run the preceding commands to check BFD session status. The BFD session is Up. 3.17 Configuring Static BFD for TE This section describes how to configure a static BFD session to detect faults in a TE tunnel.
  • Page 276: Configuring Bfd Parameters On The Ingress Of The Tunnel

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Context Perform the following steps on the ingress and egress of a tunnel: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: BFD is enabled globally.
  • Page 277: Configuring Bfd Parameters On The Egress Of The Tunnel

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The local minimum interval at which BFD packets are received is set. Step 7 (Optional) Run: detect-multiplier multiplier The local detection multiplier is set. Step 8 Run: commit The BFD configuration is committed.
  • Page 278: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration l For an IP link, run: bfd cfg-name bind peer-ip ip-address [ vpn-instance vpn-name ] [ interface interface-type interface-number] [ source-ip ip-address ] l For an LDP LSP, run:...
  • Page 279 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration – Run the display bfd configuration all [ for-ip | for-lsp | for-te ] [ verbose ] command to check all information about BFD. – Run the display bfd configuration static [ for-ip | for-lsp | for-te | name ] [ verbose ] command to check the static BFD configurations.
  • Page 280: Configuring Dynamic Bfd For Cr-Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration – Run the display bfd statistics session static-lsp lsp-name command to check statistics about the BFD session that detects faults in the static LSP. – Run the display bfd statistics session ldp-lsp peer-ip peer-ip [ interface interface- type interface-number ] command to check statistics of the BFD session that detects faults in the LDP LSP.
  • Page 281: Enabling Bfd Globally

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Data Local minimum interval at which BFD packets are sent Local minimum interval at which BFD packets are received Local BFD detection multiplier 3.18.2 Enabling BFD Globally To configure dynamic BFD for CR-LSP, enable BFD globally on the ingress node and the egress node of a tunnel.
  • Page 282 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Run: system-view The system view is displayed. Run: mpls The MPLS view is displayed. Run: mpls te bfd enable The capability of dynamically creating BFD sessions is enabled on the TE tunnel.
  • Page 283: Enabling The Capability Of Passively Creating Bfd Sessions On The Egress

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.18.4 Enabling the Capability of Passively Creating BFD Sessions on the Egress On a unidirectional LSP, creating a BFD session on the active role (ingress node) triggers the sending of LSP ping request messages to the passive role (egress node).
  • Page 284 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE Actual local sending interval = MAX { Configured local sending interval, Configured remote receiving interval } Actual local receiving interval = MAX { Configured remote sending interval, Configured local receiving...
  • Page 285: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.18.6 Checking the Configuration After the configuration of dynamic BFD for CR-LSP, you can view that a CR-LSP is Up and a BFD session is successfully set up.
  • Page 286 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration By default, the interval at which RSVP Hello messages are sent is 3 seconds. The interval at which a neighbor is declared Down is three times the interval at which RSVP Hello messages are sent.
  • Page 287: Enabling Bfd Globally

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.19.2 Enabling BFD Globally To configure dynamic BFD for RSVP, you must enable BFD on both ends of RSVP neighbors. Context Perform the following steps on the two RSVP neighboring nodes between which a Layer 2 device...
  • Page 288: Optional) Adjusting Bfd Parameters

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration After this command is run in the MPLS view, BFD for RSVP is enabled on all RSVP interfaces except the interfaces with BFD for RSVP that are blocked.
  • Page 289: Checking The Configuration

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration The system view is displayed. Run: mpls The MPLS view is displayed. Run: mpls rsvp-te bfd all-interfaces { min-tx-interval tx-interval | min-rx- interval rx-interval | detect-multiplier multiplier }* BFD parameters are set globally.
  • Page 290: Maintaining Mpls Te

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Procedure Run the display mpls rsvp-te bfd session { all | interface interface-type interface- number | peer ip-address } [ verbose ] command to check information about the BFD for RSVP session.
  • Page 291: Checking Information About Tunnel Faults

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Example After configuring MPLS TE, run the ping lsp command on the ingress of the TE tunnel to view the ping result. If the ping fails, run the tracert lsp command to locate the fault.
  • Page 292: Resetting The Rsvp Process

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Context To make the tunnel-related configuration take effect, you can run the mpls te commit command in the tunnel interface view and run the reset command in the user view.
  • Page 293: Configuration Examples

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration 3.21 Configuration Examples The following sections provide several examples for configuring MPLS TE.Each configuration example consists of the networking requirements, configuration precautions, configuration roadmap, configuration procedures, and configuration files.
  • Page 294 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration NOTE l The outgoing label of each node is the incoming label of the next node. l When running the static-cr-lsp ingress { tunnel-interface tunnel interface-number | tunnel-name }...
  • Page 295 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration [LSRA-GigabitEthernet1/0/0] mpls te bandwidth bc0 100000 [LSRA-GigabitEthernet1/0/0] quit # Configure LSRB. [LSRB] interface gigabitethernet 1/0/0 [LSRB-GigabitEthernet1/0/0] mpls te bandwidth max-reservable-bandwidth 100000 [LSRB-GigabitEthernet1/0/0] mpls te bandwidth bc0 100000...
  • Page 296 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration [LSRB] static-cr-lsp transit Tunnel0/0/1 incoming-interface gigabitethernet 2/0/0 in-label 120 nexthop 2.1.1.1 out-label 130 bandwidth ct0 10000 # Configure LSRA as the egress of the static CR-LSP. [LSRA] static-cr-lsp egress Tunnel0/0/1 incoming-interface gigabitethernet 1/0/0 in-label 130 Step 7 Verify the configuration.
  • Page 297 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration STATIC CRLSP(S) DOWN STATIC CRLSP(S) Name I/O Label I/O If Status Tunnel0/0/0 20/30 GE1/0/0/GE2/0/0 Tunnel0/0/1 120/130 GE2/0/0/GE1/0/0 # Display the configuration on LSRC. [LSRC] display mpls lsp...
  • Page 298 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration return Configuration file of LSRB sysname LSRB mpls lsr-id 2.2.2.2 mpls mpls te interface GigabitEthernet1/0/0 ip address 2.1.1.2 255.255.255.0 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000...
  • Page 299: Example For Configuring Rsvp-Te Tunnel

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration static-cr-lsp ingress tunnel-interface Tunnel0/0/1 destination 1.1.1.1 nexthop 3.2.1.1 out-label 120 bandwidth ct0 10000 static-cr-lsp egress Tunnel0/0/0 incoming-interface GigabitEthernet2/0/0 in- label 30 return 3.21.2 Example for Configuring RSVP-TE Tunnel This section provides an example for configuring an RSVP-TE tunnel, including enabling MPLS, MPLS TE, RSVP-TE, and CSPF.
  • Page 300: Configuration Procedure

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Create the tunnel interface on the ingress and specifying the IP address, tunnel protocol, destination address, tunnel ID, dynamic signaling protocol RSVP-TE, and tunnel bandwidth. Data Preparation...
  • Page 301 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration [LSRD] isis 1 [LSRD-isis-1] network-entity 00.0005.0000.0000.0004.00 [LSRD-isis-1] is-level level-2 [LSRD-isis-1] quit [LSRD] interface gigabitethernet 1/0/0 [LSRD-GigabitEthernet1/0/0] isis enable 1 [LSRD-GigabitEthernet1/0/0] quit [LSRD] interface loopback 1 [LSRD-LoopBack1] isis enable 1...
  • Page 302 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration [LSRC] mpls [LSRC-mpls] mpls te [LSRC-mpls] mpls rsvp-te [LSRC-mpls] quit [LSRC] interface gigabitethernet 1/0/0 [LSRC-GigabitEthernet1/0/0] mpls [LSRC-GigabitEthernet1/0/0] mpls te [LSRC-GigabitEthernet1/0/0] mpls rsvp-te [LSRC-GigabitEthernet1/0/0] quit [LSRC] interface gigabitethernet 2/0/0...
  • Page 303 Tunnel0/0/0 current state : UP Line protocol current state : UP Last line protocol up time: 2012-02-15, 16:35:10 Description : HUAWEI, AR Series, Tunnel0/0/0 Interface Run the display mpls te tunnel verbose command on LSRA to display the information on the tunnel.
  • Page 304 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Primary LSP Info TE Attribute Flag Protected Flag Bypass In Use Not Exists Bypass Tunnel Id BypassTunnel Bypass Lsp ID FrrNextHop ReferAutoBypassHandle FrrPrevTunnelTableIndex : FrrNextTunnelTableIndex: Bypass Attribute(Not configured)
  • Page 305 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 4.4.4.9 mpls te tunnel-id 100 mpls te bandwidth ct0 20000 mpls te commit return Configuration file of LSRB sysname LSRB mpls lsr-id 2.2.2.9...
  • Page 306: Example For Configuring Mpls Te Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration interface GigabitEthernet2/0/0 ip address 20.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te interface LoopBack1 ip address 3.3.3.9 255.255.255.255 isis enable 1 return Configuration file of LSRD sysname LSRD mpls lsr-id 4.4.4.9...
  • Page 307 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Figure 3-4 Networking diagram for MPLS TE FRR configuration L o o p b a ck1 4 .4 .4 .4 /3 2 L S R D G E 1 /0 /0 4 .1 .1 .2 /2 4...
  • Page 308 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration After completing the configuration, run the display ip routing-table command on each LSR and you can view that the LSRs learned routes from each other. Step 3 Configure the basic MPLS functions and enable MPLS TE, CSPF, RSVP-TE, and IS-IS TE.
  • Page 309 Tunnel0/0/0 current state : UP Line protocol current state : UP Last line protocol up time: : 2012-02-12, 09:35:10 Description : HUAWEI, AR Series, Tunnel0/0/0 Interface Run the display mpls te tunnel verbose command on LSRA. You can view information about the tunnel interface.
  • Page 310 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Primary LSP Info TE Attribute Flag Protected Flag Bypass In Use Not Exists Bypass Tunnel Id BypassTunnel Bypass Lsp ID FrrNextHop ReferAutoBypassHandle FrrPrevTunnelTableIndex : FrrNextTunnelTableIndex: Bypass Attribute(Not configured)
  • Page 311 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration LSP Information: RSVP LSP ---------------------------------------------------------------------- In/Out Label In/Out IF Vrf Name 4.4.4.4/32 13312/13312 GE1/0/0/GE2/0/0 3.3.3.3/32 NULL/13312 -/GE0/0/1 [LSRC] display mpls lsp ---------------------------------------------------------------------- LSP Information: RSVP LSP ----------------------------------------------------------------------...
  • Page 312 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration PSB Handle 65546 Created Time 2012/02/13 09:42:04 -------------------------------- DS-TE Information -------------------------------- Bandwidth Reserved Flag : Reserved CT0 Bandwidth(Kbit/sec) : 100000 CT1 Bandwidth(Kbit/sec): CT2 Bandwidth(Kbit/sec) : CT3 Bandwidth(Kbit/sec):...
  • Page 313 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Run the display mpls te tunnel name Tunnel0/0/0 verbose command on LSRA. You can see that the bypass tunnel is used. [LSRA] display mpls te tunnel name Tunnel0/0/0 verbose...
  • Page 314 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration After a while, run the display mpls te tunnel name Tunnel0/0/0 verbose command on LSRA. You can view that Tunnel 0/0/0 is bound to GE 2/0/0 and remains unused.
  • Page 315 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration isis 1 is-level level-2 cost-style wide network-entity 00.0005.0000.0000.0002.00 traffic-eng level-2 interface GigabitEthernet1/0/0 ip address 2.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te interface GigabitEthernet2/0/0 ip address 3.1.1.1 255.255.255.0...
  • Page 316 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 mpls rsvp-te interface GigabitEthernet2/0/0 ip address 3.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te interface GigabitEthernet0/0/1 ip address 3.3.1.2 255.255.255.0...
  • Page 317: Example For Configuring Mpls Te Auto Frr

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration mpls mpls te mpls rsvp-te interface GigabitEthernet2/0/0 ip address 3.3.1.1 255.255.255.0 isis enable 1 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000...
  • Page 318 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Data Preparation To complete the configuration, you need the following data. OSPF process ID and OSPF area ID of each LSR Maximum reservable bandwidth and BC bandwidth of the link...
  • Page 319 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration # Configure LSRB. [LSRB] ospf [LSRB-ospf-1] opaque-capability enable [LSRB-ospf-1] area 0 [LSRB-ospf-1-area-0.0.0.0] mpls-te enable [LSRB-ospf-1-area-0.0.0.0] quit [LSRB-ospf-1] quit # Configure LSRC. [LSRC] ospf [LSRC-ospf-1] opaque-capability enable [LSRC-ospf-1] area 0 [LSRC-ospf-1-area-0.0.0.0] mpls-te enable...
  • Page 320 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration [LSRA-Tunnel0/0/0] mpls te fast-reroute bandwidth [LSRA-Tunnel0/0/0] mpls te bypass-attributes bandwidth 200 priority 5 4 [LSRA-Tunnel0/0/0] mpls te commit [LSRA-Tunnel0/0/0] quit Step 9 Verify the configuration. Run the display mpls te tunnel name Tunnel0/0/0 verbose command on the ingress LSRA.
  • Page 321 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Run the display mpls te tunnel name Tunnel0/0/2048 verbose command. You can view detailed information about the Auto bypass tunnel. The bandwidth, setup priority, and holding priority of the Auto bypass tunnel are the same as the bypass-attributes of the primary tunnel.
  • Page 322 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration [LSRA] display mpls te tunnel path Tunnel Interface Name : Tunnel0/0/0 Lsp ID : 1.1.1.1 :200:1 Hop Information Hop 0 2.1.1.1 Local-Protection available | bandwidth | node Hop 1 2.1.1.2...
  • Page 323 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration destination 3.3.3.3 mpls te tunnel-id 200 mpls te record-route label mpls te bandwidth ct0 400 mpls te path explicit-path master mpls te priority 4 3 mpls te fast-reroute bandwidth...
  • Page 324 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration mpls lsr-id 3.3.3.3 mpls mpls te mpls rsvp-te interface GigabitEthernet1/0/0 ip address 10.1.1.1 255.255.255.0 mpls mpls te mpls rsvp-te interface GigabitEthernet2/0/0 ip address 4.1.1.2 255.255.255.0 mpls mpls te...
  • Page 325: Example For Configuring Cr-Lsp Hot Standby

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration mpls-te enable return 3.21.5 Example for Configuring CR-LSP Hot Standby This section provides an example for establishing a hot-standby CR-LSP, including configuring a hot-standby CR-LSP and a best-effort CR-LSP.
  • Page 326 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Configure basic MPLS functions and MPLS TE functions. Specify explicit paths for the primary and backup CR-LSPs on PE1. Create the tunnel interface with PE2 as the egress on PE1 and specify the explicit path.
  • Page 327 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration [PE1-explicit-path-backup] next hop 10.3.1.2 [PE1-explicit-path-backup] next hop 10.5.1.2 [PE1-explicit-path-backup] next hop 3.3.3.3 [PE1-explicit-path-backup] quit # Display information about the explicit path on PE1. [PE1] display explicit-path main...
  • Page 328 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration using same path : no # Run the ping lsp te command to check the connection of the backup CR-LSP. [PE1] ping lsp te tunnel 0/0/0 hot-standby...
  • Page 329 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration [PE1] display mpls te tunnel path Tunnel Interface Name : Tunnel0/0/0 Lsp ID : 4.4.4.4 :100 :32776 Hop Information Hop 0 10.3.1.1 Hop 1 10.3.1.2 Hop 2 2.2.2.2...
  • Page 330 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration destination 3.3.3.3 mpls te tunnel-id 100 mpls te record-route mpls te bandwidth ct0 10000 mpls te path explicit-path main mpls te path explicit-path backup secondary mpls te backup hot-standby wtr 15...
  • Page 331: Example For Configuring Static Bfd For Cr-Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration ip address 10.1.1.2 255.255.255.252 isis enable 1 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 bc1 50000 mpls rsvp-te interface GigabitEthernet2/0/0 ip address 10.5.1.1 255.255.255.252...
  • Page 332 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Networking Requirements Figure 3-7 is a Networking diagram for CR-LSP hot standby. A TE tunnel with PE1 as ingress and PE2 as egress is established on PE1. The tunnel is enabled with hot standby and configured with the best-effort LSP.
  • Page 333 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration BFD session name, local discriminator, and remote discriminator Maximum intervals at which BFD packets are sent and received Local BFD detection multiplier For other data, see Example for Configuring CR-LSP Hot Procedure Step 1 Configure CR-LSP hot standby.
  • Page 334 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Take the command output on PE1 as an example: [PE1] display bfd session discriminator 413 -------------------------------------------------------------------------------- Local Remote PeerIpAddr State Type InterfaceName -------------------------------------------------------------------------------- 3.3.3.3 S_TE_LSP Tunnel0/0/0 --------------------------------------------------------------------------------...
  • Page 335 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 mpls rsvp-te interface LoopBack1 ip address 4.4.4.4 255.255.255.255 isis enable 1 interface Tunnel0/0/0 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 3.3.3.3...
  • Page 336 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration ip address 10.2.1.1 255.255.255.252 isis enable 1 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 mpls rsvp-te interface LoopBack1 ip address 1.1.1.1 255.255.255.255...
  • Page 337: Example For Configuring Dynamic Bfd For Cr-Lsp

    Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration isis 1 cost-style wide network-entity 10.0000.0000.0003.00 traffic-eng level-1-2 interface GigabitEthernet1/0/0 ip address 10.2.1.2 255.255.255.252 isis enable 1 mpls mpls te mpls rsvp-te interface GigabitEthernet2/0/0 ip address 10.5.1.2 255.255.255.252...
  • Page 338 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration Figure 3-8 Networking diagram for CR-LSP hot backup L o o p b a ck1 L o o p b a ck1 1 .1 .1 .1 /3 2 2 .2 .2 .2 /3 2...
  • Page 339 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration # Enable MPLS TE BFD on the tunnel interface of PE1. Set the minimum intervals at which BFD packets are sent and received to 100 milliseconds and the local BFD detection multiplier to 3.
  • Page 340 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration cost-style wide network-entity 10.0000.0000.0004.00 traffic-eng level-1-2 interface GigabitEthernet1/0/0 ip address 10.3.1.1 255.255.255.252 isis enable 1 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000...
  • Page 341 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration interface GigabitEthernet0/0/1 ip address 10.2.1.1 255.255.255.252 isis enable 1 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 mpls rsvp-te interface LoopBack1 ip address 1.1.1.1 255.255.255.255...
  • Page 342 Huawei AR1200 Series Enterprise Routers Configuration Guide - MPLS 3 MPLS TE Configuration mpls rsvp-te isis 1 cost-style wide network-entity 10.0000.0000.0003.00 traffic-eng level-1-2 interface GigabitEthernet1/0/0 ip address 10.2.1.2 255.255.255.252 isis enable 1 mpls mpls te mpls rsvp-te interface GigabitEthernet2/0/0 ip address 10.5.1.2 255.255.255.252...

Table of Contents