Huawei Quidway S9300 series Configuration Manual

Terabit routing switch; mpls
Hide thumbs Also See for Quidway S9300 series:
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
V100R003C00
Configuration Guide - MPLS
Issue
04
Date
2011-12-26
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei Quidway S9300 series

  • Page 1 Quidway S9300 Terabit Routing Switch V100R003C00 Configuration Guide - MPLS Issue Date 2011-12-26 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

    NOTE The MPLS function of the S9300 is controlled by the license. By default, the MPLS function is disabled on the S9300. To use the MPLS function of the S9300, buy the license from the Huawei local office. The G24SA,G24CA and X12SA boards do not support the MPLS function.
  • Page 4: Command Conventions

    3.21.3 Example for Setting Up CR-LSPs by Using CR-LSP Attribute Templates 3.21.10 Example for Configuring RSVP Key Authentication (RSVP-TE FRR) 3.21.11 Example for Configuring RSVP-TE Summary Refresh (RSVP-TE FRR) Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 5 Based on issue 01 (2010-04-30), the document is updated as follows: The following content is modified: 1.6.2 Example for Configuring Static BFD for Static LSPs Changes in Issue 01 (2010-04-30) Initial commercial release. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 6: Table Of Contents

    2.2 MPLS LDP Features Supported by the S9300....................36 2.3 Configuring LDP Sessions..........................38 2.3.1 Establishing the Configuration Task.......................38 2.3.2 Configuring the LSR ID..........................39 2.3.3 Enabling MPLS............................39 2.3.4 Enable Global MPLS LDP........................40 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 7 2.9 Configuring Synchronization Between LDP and IGP..................73 2.9.1 Establishing the Configuration Task.......................73 2.9.2 Enabling Synchronization Between LDP and IGP..................74 2.9.3 (Optional) Setting the Hold-down Timer Value..................75 2.9.4 (Optional) Setting the Hold-max-cost Timer Value................76 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 8 2.16.9 Example for Configuring Synchronization of LDP and an IGP............139 2.16.10 Example for Configuring LDP GTSM....................146 2.16.11 Example for Configuring LDP GR....................149 3 MPLS TE Configuration......................156 3.1 MPLS TE Overview............................158 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 9 3.7.5 (Optional) Configuring the Message Window Function...............191 3.7.6 Checking the Configuration........................192 3.8 Adjusting the Path of CR-LSP........................192 3.8.1 Establishing the Configuration Task.....................192 3.8.2 Configuring Administrative Group and Affinity Property..............194 3.8.3 Configuring SRLG..........................195 Issue 04 (2011-12-26) Huawei Proprietary and Confidential viii Copyright © Huawei Technologies Co., Ltd.
  • Page 10 3.14 Configuring Synchronization of the Bypass Tunnel and the Backup CR-LSP..........226 3.14.1 Establishing the Configuration Task....................226 3.14.2 Enabling Synchronization of the Bypass Tunnel and the Backup CR-LSP........227 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 11 3.20.3 Resetting the Tunnel Interface......................256 3.20.4 Clearing the Operation Information....................256 3.20.5 Resetting the Tunnel Interface......................256 3.20.6 Resetting the RSVP Process........................257 3.20.7 Deleting or Resetting the Bypass Tunnel....................257 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 12 4.5 Maintaining MPLS OAM..........................445 4.5.1 Monitoring the Running of MPLS OAM....................445 4.5.2 Monitoring the Running of Protection Group..................446 4.5.3 Debugging the Protection Group......................446 4.5.4 Debugging MPLS OAM........................447 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 13 Configuration Guide - MPLS Contents 4.6 Configuration Examples..........................447 4.6.1 Example for Configuring MPLS OAM to Detect the Connectivity of the Static LSP......447 4.6.2 Example for Configuring MPLS OAM Protection Switching..............456 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 14: Static Lsps Configuration

    LSP, and configuring the trap function on an LDP LSP. 1.6 Configuration Examples This section provides several configuration examples of static LSPs. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 15: Introduction To Static Lsps

    This can help you rapidly and correctly finish the configuration task. Applicable Environment A static LSP works normally only after all the LSRs along the LSP are configured. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 16: Configuring The Ingress For A Static Lsp

    Step 1 Run: system-view The system view is displayed. Step 2 Run: static-lsp ingress lsp-name destination ip-address mask-length { nexthop next-hop- address | outgoing-interface interface-type interface-number } out-label out-label Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 17: Configuring The Transit For A Static Lsp

    ----End 1.3.5 Checking the Configuration After a static LSP is set up, you can view that the static LSP is Up and the route status is Ready. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 18: Configuring Static Bfd For Static Lsp

    This can help you rapidly and correctly finish the configuration task. Applicable Environment BFD is used to detect the connectivity of the static LSP that is established manually. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 19: Enabling Global Bfd Function

    Do as follows on each LSR at both ends of the link to be detected: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 20: Configuring Bfd With Specific Parameters On Ingress

    BFD packets, Locally configured interval for receiving BFD packets}; Local detection period = Actual interval for the local device to Receive BFD packets x Remotely configured BFD detection multiple. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 21: Configuring Bfd With Specific Parameters On Egress

    The IP link, LSP, or TE tunnel can be used as the reverse tunnel to inform the ingress of a fault. To avoid affecting BFD detection, an IP link is preferentially selected to inform the ingress of Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 22 BFD packets, Locally configured interval for receiving BFD packets}; Local detection period = Actual interval for the local device to Receive BFD packets x Remotely configured BFD detection multiple. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 23: Checking The Configuration

    Run the display bfd configuration { all | static }command to check the BFD configuration. Run the display bfd session { all | static } command to check information about the BFD session. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 24: Maintaining Static Lsps

    | -r reply-mode | -s packet-size | -t time-out | -v ] ip destination- address mask-length [ ip-address ] [ nexthop nexthop-address | draft6 ] MPLS ping is performed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 25: Enabling The Trap Function Of Lsp

    Debugging affects the performance of the system. After debugging, execute the undo debugging all command to disable it immediately. When an MPLS fault occurs, run the following debugging commands in the user view to locate the fault. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 26: Configuration Examples

    Bidirectional static LSPs are set up between LSRA and LSRD. The LSP from LSRA to LSRD is LSRA->LSRB->LSRD;the LSP from LSRD to LSRA is LSRD->LSRC->LSRA. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 27 LSR ID, and configure OSPF to advertise the network segments that the interfaces are connected to and the host route of the LSR ID. Enable MPLS globally on each node. Enable MPLS on each VLANIF interface. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 28 [LSRB-LoopBack1] ip address 2.2.2.9 32 [LSRB] interface gigabitethernet1/0/0 [LSRB-GigabitEthernet1/0/0] port link-type access [LSRB-GigabitEthernet1/0/0] quit [LSRB-LoopBack1] quit [LSRB] vlan 10 [LSRB-vlan10] port gigabitethernet1/0/0 [LSRB-vlan10] quit [LSRB] interface vlanif 10 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 29 Step 2 Configure OSPF to advertise the network segments that the interfaces are connected to and the host route of the LSR ID. # Configure LSRA. [LSRA] ospf 1 [LSRA-ospf-1] area 0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 30 It is shown in boldface. In this example, the next hop IP address is 10.1.1.2/30. Take the display on LSRD as an example. [LSRD] display ip routing-table Route Flags: R - relay, D - download to fib Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 31 [LSRA] interface vlanif 30 [LSRA-Vlanif30] mpls [LSRA-Vlanif30] quit # Configure LSRB. [LSRB] interface vlanif 10 [LSRB-Vlanif10] mpls [LSRB-Vlanif10] quit [LSRB] interface vlanif 20 [LSRB-Vlanif20] mpls [LSRB-Vlanif20] quit # Configure LSRC. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 32 Run the display mpls static-lsp or display mpls static-lsp verbose command on each node to check the status and detailed information about the static LSP. Take the display on LSRD as an example. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 33 10 interface GigabitEthernet2/0/0 port link-type access port default vlan 30 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.255 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 34 3.3.3.9 mpls interface Vlanif30 ip address 10.3.1.2 255.255.255.0 mpls interface Vlanif40 ip address 10.4.1.1 255.255.255.0 mpls interface GigabitEthernet1/0/0 port link-type access port default vlan 30 interface GigabitEthernet2/0/0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 35: Example For Configuring Static Bfd For Static Lsps

    1.6.2 Example for Configuring Static BFD for Static LSPs Networking Requirements As shown in Figure 1-2: PE1, PE2, P1, and P2 are in an MPLS domain. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 36 GE 1/0/0 VLANIF 30 10.3.1.2/24 GE 1/0/2 VLANIF 40 10.4.1.1/24 GE 1/0/0 VLANIF 20 10.2.1.2/24 GE 1/0/1 VLANIF 40 10.4.1.2/24 Configuration Roadmap The configuration roadmap is as follows: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 37 [P1-GigabitEthernet1/0/0] quit [P1] vlan 10 [P1-vlan10] port gigabitethernet1/0/0 [P1-vlan10] quit [P1] interface vlanif 10 [P1-Vlanif10] ip address 10.1.1.2 24 [P1-Vlanif10] quit [P1] interface gigabitethernet1/0/2 [P1-GigabitEthernet1/0/2] port link-type access Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 38 LSR ID. # Configure PE1. [PE1] ospf 1 [PE1-ospf-1] area 0 [PE1-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0 [PE1-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 [PE1-ospf-1-area-0.0.0.0] network 10.3.1.0 0.0.0.255 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 39 [PE2-mpls] Step 4 Enable MPLS on each interface. # Configure PE1. [PE1] interface Vlanif 10 [PE1-Vlanif10] mpls [PE1-Vlanif10] quit [PE1] interface Vlanif 30 [PE1-Vlanif30] mpls [PE1-Vlanif30] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 40 Run the display mpls static-lsp or display mpls static-lsp verbose command on each node to check the status and detailed information about the static LSP. Take the display on PE1 as an example: [PE1] display mpls static-lsp TOTAL STATIC LSP(S) Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 41 Session MIndex : 4096 State : Up Name : PE1toPE2 -------------------------------------------------------------------------------- Local Discriminator Remote Discriminator Session Detect Mode : Asynchronous Mode Without Echo Function BFD Bind Type : STATIC_LSP Bind Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 42 # Run the shutdown command on VLANIF 20 of P1 to simulate a defect on a static LSP. [P1] interface vlanif 20 [P1-Vlanif20] shutdown # Run the display bfd session all verbose command to check the status of the BFD session. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 43 Session WTR TmrID Session Echo Tx TmrID PDT Index : FSM-0 | RCV-0 | IF-0 | TOKEN-0 Session Description -------------------------------------------------------------------------------- Total UP/DOWN Session Number : 1/0 ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 44 10 20 mpls lsr-id 2.2.2.2 mpls interface Vlanif10 ip address 10.1.1.2 255.255.255.0 mpls interface Vlanif20 ip address 10.2.1.1 255.255.255.0 mpls interface GigabitEthernet1/0/0 port link-type access Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 45 LSP2 incoming-interface vlanif 30 in-label 30 nexthop 10.4.1.2 out-label 60 return Configuration file of PE2 sysname PE2 vlan batch 20 40 mpls lsr-id 4.4.4.4 mpls Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 46 0.0.0.0 network 4.4.4.4 0.0.0.0 network 10.2.1.0 0.0.0.255 network 10.4.1.0 0.0.0.255 static-lsp egress LSP1 incoming-interface vlanif 20 in-label 40 static-lsp egress LSP2 incoming-interface vlanif 40 in-label 60 return Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 47: Mpls Ldp Configuration

    2.8 Configuring LDP Auto FRR By configuring a policy for triggering the setup of backup LSPs, you can control the setup of backup LSPs. 2.9 Configuring Synchronization Between LDP and IGP Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 48 LSP, and configuring the trap function on an LDP LSP. 2.16 Configuration Examples This section provides several configuration examples of MPLS LDP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 49: Introduction To Mpls Ldp

    The advantages of BFD for the data plane of LDP LSP are as follows: Quick detection Wide range of failure detection for LSPs At present, in the S9300, BFD can detect LSPs of the following types: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 50 CPU overload attacks. LDP GR Graceful Restart (GR) is a key technology to HA implementation. At present, GR is widely applied to switchover and system upgrade. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 51: Configuring Ldp Sessions

    Name and number of the interface on which an LDP session is to be set up Name and IP address of the remote peer on which a remote LDP session is to be set up (Optional) LDP transport address Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 52: Configuring The Lsr Id

    The LSR ID of the local node is configured. ----End 2.3.3 Enabling MPLS MPLS LDP can be enabled only after MPLS is enabled. Context Do as follows on each LSR in an MPLS domain: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 53: Enable Global Mpls Ldp

    MPLS LDP is enabled on the local node and the MPLS LDP view is displayed. By default, the global LDP functions are prohibited. Step 3 (Optional) Run: lsr-id lsr-id The LSR ID for LDP is configured. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 54: Configuring Ldp Sessions

    By default, MPLS LDP is disabled. NOTE Disabling LDP on the interface may interrupt all LDP sessions on the interface. In addition, all the LSPs based on these sessions are deleted accordingly. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 55: Optional) Configuring Ldp Transport Addresses

    The view of the VLANIF interface on which the LDP session is set up is displayed. Step 3 Run: mpls ldp transport-address { interface-type interface-number | interface } Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 56: Optional) Configuring Ldp Timers

    – Keepalive hold timers of local LDP session – Keepalive hold timers of remote LDP session Keepalive send timers are classified into the following timers: – Keepalive send timer of local LDP session Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 57 Configure a targeted-Hello hold timer. Do as follows on the each LSR of both ends of a remote LDP session: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 58 The view of the interface on which the LDP session is set up is displayed. Run: mpls ldp timer keepalive-hold interval The Keepalive timer is configured for the local LDP session. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 59 Configure a Keepalive send timer for setting up a remote LDP session. Do as follows on each LSR on both ends of a remote LDP session: Run: system-view Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 60: Optional) Configuring Ldp Md5 Authentication

    You can configure LDP MD5 authentication to improve security of the LDP session connection. Context To enhance the security of LDP sessions, MD5 authentication is used to set up TCP connections used by LDP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 61: Checking The Configuration

    – Run display mpls ldp session [ verbose | peer-id ] command to check information about the specified LDP session. – Run display mpls ldp session [ all ] [ verbose ] to check information of all LDP sessions. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 62 : Active Effective MTU : 1500 Configured Hello Hold Timer : 15 Sec Negotiated Hello Hold Timer : 15 Sec Configured Hello Send Timer : 2 Sec Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 63 Configured Keepalive Hold Timer : 45 Sec Configured Keepalive Send Timer : --- Configured Hello Hold Timer : 45 Sec Negotiated Hello Hold Timer : 45 Sec Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 64: Configuring Ldp Lsp

    To correctly implement path Maximum Transmission Unit (MTU) detection, an LSR needs to know the MTU of each link to which the LSR is connected. Then, LDP MTU signaling is required. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 65: Configuring Ldp Lsp

    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: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 66: Optional) Configuring Ldp Mtu Signaling

    By default, an LSR allocates labels to both upstream and downstream devices, which speeds up the convergence of the LDP LSP. In the networking where the DSLAM is deployed, to save Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 67: Optional) Configuring The Policy Of Triggering To Establish Lsps

    Do as follows on all the LSRs along the LSP: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: mpls The MPLS view is displayed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 68: Optional) Configuring The Policy Of Establishing Transit Lsps

    2.4.8 Checking the Configuration After an LDP LSP is set up, you can view information about LDP, the establishment of LDP LSPs, and the establishment of LSPs. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 69 A '*' before a NextHop means the LSP is FRR LSP <Quidway> display mpls lsp ---------------------------------------------------------------------- LSP Information: LDP LSP ---------------------------------------------------------------------- In/Out Label In/Out IF Vrf Name 1.1.1.1/32 NULL/3 -/Vlanif10 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 70: Configuring Static Bfd For Ldp Lsp

    You need to only enable BFD on both ends of the link to be detected. Context Do as follows on each LSR on both ends of a link that to be detected: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 71: Configuring Bfd With Specific Parameters On Ingress

    Step 4 (Optional) Run the following commands to adjust the minimum interval for the local device to send BFD packets, the minimum interval for receiving BFD packets and the local BFD detection multiple: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 72 The default value is 3. Run the quit command to return to the system view. Run the bfdcfg-name command to enter the BFD session view. Step 5 Run: commit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 73: Configuring Bfd With Specific Parameters On Egress

    [ te-lsp ] Step 3 Configure the discriminators. l Run: discriminator local discr-value The local discriminator is configured. l Run: discriminator remote discr-value Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 74 If the backward link is an IP link, this parameter is not applicable. Run the mpls bfd detect-multiplier multiplier command to adjust the local BFD detection multiple. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 75: Checking The Configuration

    When working in LDP LSP, the dynamic BFD supports only the LDP LSP that is created after the host route is triggered. Pre-configuration Tasks Before configuring the dynamic BFD for LDP LSP, complete the following tasks: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 76: Enabling Global Bfd Function

    After enabling BFD on the ingress and egress nodes, you can enable MPLS and dynamically create a BFD session. Procedure Do as follows on the ingress: Run: system-view The system view is displayed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 77: Configuring The Triggering Policy Of Dynamic Bfd For Ldp Lsp

    [ host [ nexthop next-hop-address | outgoing-interface interface- type interface-number ] | fec-list list-name ] The triggering policy to establish the session of dynamic BFD for LDP LSP is configured. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 78: Optional) Adjusting Bfd Parameters

    Actual interval for the local device to send BFD packets = MAX {Locally configured interval for sending BFD packets, Remotely configured interval for receiving BFD packets}; Actual Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 79: Checking The Configuration

    [ outgoing-interface interface-type interface-number ] | [ nexthop ip-address ] | [ fec fec- address ] | verbose | monitor ] command to check information about BFD session (ingress). ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 80 Last Local Diagnostic : No Diagnostic Bind Application Session TX TmrID : -- Session Detect TmrID : -- Session Init TmrID : -- Session WTR TmrID : -- Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 81: Configuring Manual Ldp Frr

    Priority of LSP backup (Optional) Value of LDP FRR protection timer 2.7.2 Enabling Manual LDP FRR By configuring parameters on the ingress node, you can enable Manual LDP FRR. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 82: Optional) Configuring Manual Ldp Frr Protection Timer

    By configuring a Manual LDP FRR protection timer, you can ensure that the primary LDP LSP is not deleted. Context Do as follows on the ingress: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 83: Optional) Allowing Bfd To Modify The Pst

    By default, BFD does not modify the PST. ----End 2.7.5 Checking the Configuration After the configuration of Manual LDP FRR, you can view information about Manual LDP FRR-LSPs and BFD-enabled interfaces. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 84: Configuring Ldp Auto Frr

    Configuring IS-IS to advertise the network segments connecting to interfaces on each node and to advertise the routes of hosts with Label Switching Router (LSR) IDs Configuring MPLS LDP Configuring IS-IS Auto FRR Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 85: Enabling Ldp Auto Frr

    2.8.3 Checking the Configuration After the configuration of LDP Auto FRR, you can view information about LDP Auto FRR- LSPs. Prerequisite All LDP Auto FRR configurations are complete. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 86: Configuring Synchronization Between Ldp And Igp

    When the primary LSP runs normally whereas the LDP sessions between the nodes along the primary LSP fail, the LSP is deleted, and the LSP traffic is lost. The IGP traffic, however, is still transmitted along the primary link. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 87: Enabling Synchronization Between Ldp And Igp

    LDP neighboring node on the active link: Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 88: Optional) Setting The Hold-Down Timer Value

    The interface view is displayed. Run: isis timer ldp-sync hold-down value The interval IS-IS should wait for an LDP session to be established is set. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 89: Optional) Setting The Hold-Max-Cost Timer Value

    LDP neighboring node on the active link: Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 90: Optional) Setting The Delay Timer Value

    After the configuration of LDP and IGP synchronization, you can view the synchronization information and route management information on interfaces enabled with LDP and IGP synchronization. Prerequisite The configurations of the synchronization between LDP and IGP function are complete. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 91: Configuring Ldp Gtsm

    Before configuring basic LDP GTSM functions, complete the following tasks: Enabling MPLS and MPLS LDP Data Preparation To configure the basic LDP GTSM functions, you need the following data. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 92: Configuring Ldp Gtsm

    The configurations of the LDP GTSM function are complete. Procedure Run the display gtsm statistics { slot-id | all } command to check the GTSM statistics. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 93: Configuring Ldp Gr

    To configure LDP GR, you need the following data. Data MPLS LSR ID of the local node Value of the Reconnect timer of the LDP session Value of the LDP Neighbor-liveness timer Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 94: Enabling Ldp Gr

    During the LDP GR process, you are not permitted to run the mpls ldp frr nexthop command to enable the LDP FRR. Alternatively, run the undo mpls ldp frr nexthop command to disable the LDP FRR. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 95: Optional) Configuring Gr Restarter Timer

    If any timer value related to LDP GR is modified, the LDP session is recreated. 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: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 96: Checking The Configuration

    If the ingress node is configured with the uniform mode or enabled with the IP TTL propagation function, the IP TTL decreases by one at each hop on an MPLS network. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 97: Setting Mpls Ttl Processing Modes

    2.13 Setting the Mapping of the Precedence in the MPLS Tunnel Label This section describes how to set the mapping of the precedence in the MPLS tunnel label. 2.13.1 Establishing the Configuration Task Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 98: Configuring The Diffserv Domain

    You need to set the mapping of the precedence in the MPLS tunnel label according to the actual situation on the network. Procedure Do as follows on the ingress PE: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 99: Setting The Diffserv Mode Supported By Mpls Vpns

    MPLS network. The egress PE selects the PHB according to the EXP value of the packet. When the packet leaves the MPLS network, the DSPC value becomes effective again. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 100: Setting The Diffserv Mode Supported By The Mpls L3Vpn

    { [ mpls- exp mpls-exp ] domain ds-name } | uniform [ domain ds-name ] } The DiffServ mode supported by the MPLS L3VPN is set. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 101: Setting The Diffserv Mode Supported By Mpls L2Vpn

    { [ mpls-exp mpls-exp ] domain ds-name } | uniform [ domain ds-name ] } The DiffServ mode applied to the VPLS network is set. By default, the DiffServ mode applied to the VPLS network is uniform. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 102: Maintaining Mpls Ldp

    | -r reply-mode | -s packet-size | -t time-out | -v ] ip destination- address mask-length [ ip-address ] [ nexthop nexthop-address | draft6 ] MPLS ping is performed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 103: Enabling The Trap Function Of Lsp

    Debugging affects the performance of the system. After debugging, execute the undo debugging all command to disable it immediately. When an MPLS fault occurs, run the following debugging commands in the user view to locate the fault. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 104: Configuration Examples

    2-1, local LDP sessions are set up between LSRA and LSRB, and between LSRB and LSRC. Figure 2-1 Networking diagram for configuring local LDP sessions Loopback0 Loopback0 Loopback0 1.1.1.1/32 2.2.2.2/32 3.3.3.3/32 GE1/0/0 GE1/0/0 GE2/0/0 GE2/0/0 LSRA LSRB LSRC Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 105 [LSRA] interface vlanif 10 [LSRA-Vlanif10] ip address 10.1.1.1 24 # Configure LSRB. <Quidway> system-view [Quidway] sysname LSRB [LSRB] interface loopback0 [LSRB-LoopBack0] ip address 2.2.2.2 32 [LSRB-LoopBack0] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 106 [LSRC-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255 Step 3 Enable MPLS and MPLS LDP on each node. # Configure LSRA. [LSRA] mpls lsr-id 1.1.1.1 [LSRA] mpls [LSRA-mpls]quit [LSRA] mpls ldp # Configure LSRB. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 107 [LSRA] display mpls ldp session LDP Session(s) in Public Network Codes: LAM(Label Advertisement Mode), SsnAge Unit(DDDD:HH:MM) A '*' before a session means the session is being deleted. ------------------------------------------------------------------------------ Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 108 Vlanif 20 ip address 10.2.1.1 255.255.255.0 mpls mpls ldp interface GigabitEthernet1/0/0 port link-type access port default vlan 10 interface GigabitEthernet2/0/0 port link-type access Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 109: Example For Configuring A Remote Ldp Session

    Figure 2-2 Networking diagram for configuring a remote LDP session Loopback0 Loopback0 Loopback0 1.1.1.1 2.2.2.2 3.3.3.3 GE1/0/0 GE1/0/0 GE2/0/0 GE2/0/0 LSRA LSRB LSRC Device Interface VLANIF interface IP address Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 110 [LSRA-Vlanif10] ip address 10.1.1.1 24 # Configure LSRB. <Quidway> system-view [Quidway] sysname LSRB [LSRB] interface loopback0 [LSRB-LoopBack0] ip address 2.2.2.2 32 [LSRB-LoopBack0] quit [LSRB] interface gigabitethernet1/0/0 [LSRB-GigabitEthernet1/0/0] port link-type access Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 111 Step 3 Enable MPLS and MPLS LDP on each node. # Configure LSRA. [LSRA] mpls lsr-id 1.1.1.1 [LSRA] mpls [LSRA-mpls]quit [LSRA] mpls ldp # Configure LSRB. [LSRB] mpls lsr-id 2.2.2.2 [LSRB] mpls Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 112 Run the display mpls ldp remote-peer command on the two LSRs of the remote LDP session, and you can view information about the remote peer. Take the display on LSRA as an example. [LSRA] display mpls ldp remote-peer Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 113 10 20 mpls lsr-id 2.2.2.2 mpls mpls ldp interface Vlanif 10 ip address 10.1.1.2 255.255.255.0 mpls interface Vlanif 20 ip address 10.2.1.1 255.255.255.0 mpls interface GigabitEthernet1/0/0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 114: Example For Configuring An Ldp Lsp

    10.2.1.0 0.0.0.255 return 2.16.3 Example for Configuring an LDP LSP Networking Requirements As shown in Figure 2-3, an LDP LSP is set up between LSRA and LSRC. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 115 LDP LSPs. Take the display on LSRA as an example. [LSRA] display mpls ldp lsp LDP LSP Information ------------------------------------------------------------------------------ DestAddress/Mask In/OutLabel UpstreamPeer Next-Hop Out-Interface Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 116 TOTAL: 0 Frr LSP(s) Found. A '*' before an LSP means the LSP is not established A '*' before a Label means the USCB or DSCB is stale Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 117 Vlanif 20 ip address 10.2.1.1 255.255.255.0 mpls mpls ldp interface GigabitEthernet1/0/0 port link-type access port default vlan 10 interface GigabitEthernet2/0/0 port link-type access port default vlan 20 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 118: Example For Configuring A Transit Lsp Through The Ip Prefix List

    As shown in Figure 2-4, the LDP LSPs are set up between the nodes. LSRB, however, permits only the FEC of 4.4.4.9/32 to establish the transit LSP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 119 Filter the routes of transit LSPs by using the IP prefix list on transit node LSRB. Enable MPLS and MPLS LDP on each interface. Data Preparation To complete the configuration, you need the following data: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 120 The configurations of LSRC and LSRD are similar to the configuration of LSRA, and are not mentioned here. Step 5 Verify the configuration. Run the display mpls ldp lsp command, and you can view the establishment of the LDP LSPs. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 121 A '*' before a Label means the USCB or DSCB is stale # Check the LDP LSP on LSRD. [LSRD] display mpls ldp lsp LDP LSP Information ------------------------------------------------------------------------------ DestAddress/Mask In/OutLabel Next-Hop In/Out-Interface Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 122 Configuration file of LSRB sysname LSRB vlan batch 10 20 mpls lsr-id 2.2.2.9 mpls lsp-trigger all mpls ldp propagate mapping for ip-prefix FilterOnTransit interface Vlanif 10 ip address 10.1.1.2 255.255.255.0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 123 30 interface LoopBack0 ip address 3.3.3.9 255.255.255.255 ospf 1 area 0.0.0.0 network 3.3.3.9 0.0.0.0 network 10.2.1.0 0.0.0.255 network 10.3.1.0 0.0.0.255 return Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 124: Example For Configuring Static Bfd For Ldp Lsps

    2-5, an LDP LSP is set up along the path PE1 → P1→ PE2 and the path PE2 → P2 → PE1 is an IP link. Static BFD is required to detect the connectivity of the LDP LSP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 125 Create VLANIF interfaces, and use OSPF in the entire MPLS domain to ensure the connectivity between the nodes. Set up an LDP LSP along the path PE1-P1-PE2. On PE1, configure a BFD session that is bound to the LDP LSP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 126 [P1-Vlanif20] mpls ldp # Configure PE2. [PE2] mpls lsr-id 4.4.4.4 [PE2] mpls [PE2-mpls] quit [PE2] mpls ldp [PE2-mpls-ldp] quit [PE2] interface vlanif 20 [PE2-Vlanif20] mpls [PE2-Vlanif120] mpls ldp Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 127 State field is displayed as Up and the BFD Bind Type field is displayed as LDP_LSP. [PE1] display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 256 State : Up Name : pe1tope2 -------------------------------------------------------------------------------- Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 128 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 PE1 sysname PE1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 129 Vlanif 20 ip address 10.2.1.1 255.255.255.0 mpls mpls ldp interface GigabitEthernet1/0/0 port link-type access port default vlan 10 interface GigabitEthernet1/0/1 port link-type access port default vlan 20 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 130 10.2.1.2 255.255.255.0 mpls mpls ldp interface Vlanif 40 ip address 10.4.1.2 255.255.255.0 interface GigabitEthernet1/0/0 port link-type access port default vlan 20 interface GigabitEthernet1/0/1 port link-type access Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 131: Example For Configuring Dynamic Bfd For Ldp Lsps

    VLANIF 20 10.2.1.1/24 LSRC GE 2/0/0 VLANIF 20 10.2.1.2/24 Configuration Roadmap The configuration roadmap is as follows: Establish an LDP LSP between LSRA and LSRC. Configure BFD. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 132 [LSRB-Vlanif20] mpls ldp # Configure LSRC. <LSRC> system-view [LSRC] mpls lsr-id 3.3.3.3 [LSRC] mpls [LSRC-mpls] quit [LSRC] mpls ldp [LSRC-mpl-ldp] quit [LSRC] interface vlanif 20 [LSRC-Vlanif20] mpls Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 133 : Disable Acl Number : -- Proc interface status : Disable Process PST : Enable WTR Interval (ms) : -- Local Demand Mode : Disable Active Multi Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 134 10 min-rx-interval 60 detect-multiplier 4 fec-list tortc fec-node 3.3.3.3 mpls ldp interface Vlanif 10 ip address 10.1.1.1 255.255.255.0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 135 0.0.0.0 network 2.2.2.2 0.0.0.0 network 10.1.1.0 0.0.0.255 network 10.2.1.0 0.0.0.255 return Configuration file of LSRC sysname LSRC mpls-passive vlan batch 20 mpls lsr-id 3.3.3.3 mpls mpls ldp Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 136: Example For Configuring Manual Ldp Frr

    In networking of Manual LDP FRR, the bypass LSP must be in liberal state. That is, on an LSR that is enabled with FRR, run the display ip routing-table ip-address verbose command to view the route state of the bypass LSP is "Inactive Adv". Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 137 Specify the next hop address that is used by Manual LDP FRR for generating the backup LSP on the protected interface. Configure the Manual LDP FRR protection timer on the interface. Data Preparation To complete the configuration, you need the following data: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 138 [LSRB-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0 [LSRB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.3 [LSRB-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.3 [LSRB-ospf-1-area-0.0.0.0] quit [LSRB-ospf-1] quit # Configure LSRC. <LSRC> system-view [LSRC] ospf 1 [LSRC-ospf-1] area 0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 139 [LSRB] interface vlanif 10 [LSRB-Vlanif10] mpls [LSRB-Vlanif10] mpls ldp [LSRB-Vlanif10] quit [LSRB] interface vlanif 30 [LSRB-Vlanif30] mpls [LSRB-Vlanif30] mpls ldp [LSRB-Vlanif30] quit # Configure LSRC. [LSRC] mpls lsr-id 3.3.3.9 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 140 /1025 /Vlanif10 2.2.2.9/32 NULL/3 -/Vlanif10 2.2.2.9/32 1024/3 -/Vlanif10 ----End Configuration Files Configuration file of LSRA sysname LSRA vlan batch 10 20 mpls lsr-id 1.1.1.9 mpls mpls ldp Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 141 10 interface GigabitEthernet 2/0/0 port hybrid pvid vlan 30 port hybrid untagged vlan 30 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 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 142: Example For Configuring Ldp Auto Frr

    This means that the speed at which VPN services are switched to the new primary LSP must be raised so as to ensure that VPN services are interrupted for less than 50 ms. This issue can be solved by configuring LDP Auto FRR. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 143 Configure IS-IS to advertise the network segments connecting to interfaces on each node and to advertise the routes of hosts with LSR IDs. Enable global and interface-based MPLS and MPLS LDP on each node. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 144 [LSRA-isis-1] network-entity 10.0000.0000.0001.00 [LSRA-isis-1] quit [LSRA] interface vlanif 10 [LSRA-Vlanif10] isis enable 1 [LSRA-Vlanif10] quit [LSRA] interface vlanif 20 [LSRA-Vlanif20] isis enable 1 [LSRA-Vlanif20] quit [LSRA] interface loopBack 0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 145 [LSRA] mpls ldp [LSRA-mpls-ldp] quit [LSRA] interface vlanif 10 [LSRA-Vlanif10] mpls [LSRA-Vlanif10] mpls ldp [LSRA-Vlanif10] quit [LSRA] interface vlanif 20 [LSRA-Vlanif20] mpls [LSRA-Vlanif20] mpls ldp [LSRA-Vlanif20] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 146 The preceding command output shows that by default, the setup of LSPs is triggered by LDP for the routes with 32-bit addresses. Step 4 Enable IS-IS Auto FRR on LSRA. View the routing information and the setup of the LSPs. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 147 LSPs for all routes. [LSRC] mpls [LSRC-mpls] lsp-trigger all # Run the display mpls lsp command on LSRA to view information about the established LSPs. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 148 1028/3 -/Vlanif20 **LDP FRR** /1027 /Vlanif10 The preceding command output shows that backup LSP is set up between LSRA and the link connecting LSRC and LSRD. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 149 GigabitEthernet 1/0/1 port link-type access port default vlan 20 oam-mgr user-interface con 0 user-interface vty 0 4 user-interface vty 16 20 return Configuration file of LSRB sysname LSRB Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 150 0 4 user-interface vty 16 20 return Configuration file of LSRC sysname LSRC vlan batch 30 20 40 mpls lsr-id 3.3.3.9 mpls lsp-trigger all mpls ldp authentication-scheme default Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 151 0 4 user-interface vty 16 20 return Configuration file of LSRD sysname LSRD vlan batch 30 mpls lsr-id 4.4.4.9 mpls mpls ldp authentication-scheme default authorization-scheme default Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 152: Example For Configuring Synchronization Of Ldp And An Igp

    P and PE devices are the S9300s. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 153 P1 of the active link and the standby link and LDP neighboring node P2 on the active link. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 154 [P1-mpls-ldp] quit [P1] interface vlanif 10 [P1-Vlanif10] mpls [P1-Vlanif10] mpls ldp [P1-Vlanif10] quit [P1] interface vlanif 30 [P1-Vlanif30] mpls [P1-Vlanif30] mpls ldp [P1-Vlanif30] quit # Configure P2. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 155 Step 3 Configure synchronization of LDP and an IGP on the interfaces of both ends of the link between crossing node P1 of the active link and the standby link and LDP neighboring node P2 on the active link. # Configure P1. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 156 [P2-Vlanif10] quit Step 7 Verify the configuration. After the configuration, run the display ospf ldp-sync command on P1, and you can view that the interface status is Sync-Achieved. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 157 Configuration file of P2 sysname P2 vlan batch 10 20 mpls lsr-id 2.2.2.9 mpls mpls ldp interface Vlanif10 ip address 10.1.1.2 255.255.255.0 ospf ldp-sync ospf timer ldp-sync holddown 8 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 158 40 ospf 1 area 0.0.0.0 network 3.3.3.9 0.0.0.0 network 10.3.1.0 0.0.0.255 network 10.4.1.0 0.0.0.255 return Configuration file of PE2 sysname PE2 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 159: Example For Configuring Ldp Gtsm

    LSRC Switch Interface VLANIF interface IP address LSRA GigabitEthernet1/0/0 VLANIF 10 10.1.1.1/30 LSRB GigabitEthernet1/0/0 VLANIF 10 10.1.1.2/30 LSRB GigabitEthernet2/0/0 VLANIF 20 10.2.1.1/30 LSRC GigabitEthernet1/0/0 VLANIF 20 10.2.1.2/30 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 160: Configuration Procedure

    LSR A to be from 252 to 255, and the range of valid TTL values carried in LDP packets received from LSR C to be from 251 to 255. <LSRB> system-view [LSRB] mpls ldp [LSRB-mpls-ldp] gtsm peer 1.1.1.9 valid-ttl-hops 4 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 161 1.1.1.9 valid-ttl-hops 4 gtsm peer 3.3.3.9 valid-ttl-hops 5 interface Vlanif10 ip address 10.1.1.2 255.255.255.252 mpls mpls ldp interface Vlanif20 ip address 10.2.1.1 255.255.255.252 mpls Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 162: Example For Configuring Ldp Gr

    LDP sessions are established between LSRA, S9300-B, and LSRC. When the main control board of S9300-B fails and traffic is switched, the LDP GR mechanism is used for synchronization with neighboring nodes. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 163 Value of the LDP Reconnect timer (300 seconds by default) Value of the LDP Neighbor-liveness timer (600 seconds by default) Value of the LDP Recovery timer (300 seconds by default) Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 164 # Configure LSRC. [S9300-C] mpls lsr-id 3.3.3.9 [LSRC] mpls [LSRC-mpls] quit [LSRC] mpls ldp [LSRC-mpls-ldp] quit Step 6 Configure MPLS and MPLS LDP on each interface. # Configure LSRA. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 165 Warning: All the related sessions will be deleted if the operation is performed !Continue? (y/n)y [LSRC-mpls-ldp] quit Step 8 Configure the parameters of LDP GR on the GR restarter. # Configure LSRB. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 166 : 300 Sec Peer Label Advertisement Mode : Downstream Unsolicited Peer Discovery Source : Vlanif10 ------------------------------------------------------------------------------ ----End Configuration Files Configuration file of LSRA sysname LSRA vlan batch 10 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 167 20 interface LoopBack1 ip address 2.2.2.9 255.255.255.255 ospf 1 opaque-capability enable graceful-restart area 0.0.0.0 network 2.2.2.9 0.0.0.0 network 10.1.1.0 0.0.0.255 network 10.2.1.0 0.0.0.255 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 168 20 interface LoopBack1 ip address 3.3.3.9 255.255.255.255 ospf 1 opaque-capability enable graceful-restart area 0.0.0.0 network 3.3.3.9 0.0.0.0 network 10.2.1.0 0.0.0.255 Return Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 169: Mpls Te Configuration

    3.9 Adjusting the Establishment of MPLS TE Tunnels By configuring multiple attributes of an MPLS TE tunnel, you can adjust the parameters during the establishment of the MPLS TE tunnel. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 170 This section describes how to clear operation information about MPLS TE, reset the automatic bandwidth adjustment, and debug MPLS TE. 3.21 Configuration Examples This section provides several configuration examples of MPLS TE. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 171: Mpls Te Overview

    The static MPLS TE tunnel has the highest priority so the bandwidth of the tunnel is not preemptive. In addition, the static MPLS TE tunnel does not preempt other types of CR-LSPs. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 172 – Re-optimization of tunnels: The path of the CR-LSP is calculated periodically. When a better path is discovered, a new CR-LSP is set up on the basis of a better path and traffic are switched to the CR-LSP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 173 (0 to 7). In addition, it supports three Bandwidth Constraints models, that is, RDM, MAM, and extended-MAM. A DS-TE tunnel supports features, such as TE FRR, hot standby, protection group, and CT traffic statistics. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 174: Configuring Static Cr-Lsp

    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 Incoming interface on the egress Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 175: Enabling Mpls Te

    The view of the interface is displayed. Step 6 Run: mpls The MPLS is enabled on the interface. Step 7 Run: mpls te The MPLS TE is enabled on the interface. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 176: Configuring The Mpls Te Tunnel Interface

    IP packet forwarding configured on this interface are invalid. Step 4 Run: tunnel-protocol mpls te MPLS TE is configured to be the tunnel protocol. Step 5 Run: destination ip-address Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 177: Configuring The Ingress Of The Static Cr-Lsp

    Tunnel2/0/0 or tunnel2/0/0; otherwise, the tunnel cannot be set up. For the transit and egress, tunnel name consistency is not required. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 178: Configuring The Transit Of The Static Cr-Lsp

    [ lsrid ingress-lsr-id tunnel-id tunnel-id ] The LSR is configured as the egress of the specified static CR-LSP. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 179: Checking The Configuration

    To implement advanced the features such as TE FRR and CR-LSP backup, it is recommended to establish the MPLS TE tunnel by using the RSVP-TE signaling protocol. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 180: Enabling Mpls Te And Rsvp Te

    If RSVP-TE on a node is disabled, RSVP-TE on all interfaces of this node is disabled. Do as follows on each node along the TE tunnel: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: mpls Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 181: Configuring Ospf Te

    DataBase (TEDB) cannot be formed. In this case, the CR-LSP is established according to the IGP routes rather than through the CSPF calculation. Do as follows on each node along the TE tunnel: Procedure Step 1 Run: system-view Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 182: Configuring Is-Is Te

    The IS-IS TE extension uses the sub-TLV of IS-reachable TLV (22) to carry the TE attributes. Therefore, the Wide Metric attribute of IS-IS must be enabled as wide, compatible or wide- Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 183: Optional) Configuring Mpls Te Explicit Path

    IS-IS area. AS in the BGP is excluded. Inter-area tunnel: indicates that TE tunnels traverse multiple areas. Areas include the OSPF area and IS-IS area. AS in the BGP is excluded. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 184: Configuring The Mpls Te Tunnel Interface

    To set up an RSVP-TE tunnel, you must create a tunnel interface and perform tunnel configurations on the tunnel interface. Context Do as follows on the ingress node of the TE tunnel: Procedure Step 1 Run: system-view Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 185 MPLS TE, the destination configuration is deleted automatically and needs to be re-configured. Step 6 Run: mpls te tunnel-id tunnel-id The tunnel ID is configured. Step 7 Run: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 186: Optional) Configuring Rsvp Resource Reservation Style

    An IGP uses SPF to calculate the shortest path to each node on a network; MPLS TE uses CSPF to calculate the path to a certain node. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 187: Checking The Configuration

    Run the display isis traffic-eng link [ { level-1 | level-2 | level-1-2 } | verbose ] [ process- id | [ vpn-instance vpn-instance-name | vpn6-instance vpn6-instance-name ] ] command to check the IS-IS TE state. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 188 Run the display mpls te tunnel statistics or display mpls lsp statistics command to check the tunnel statistics. Run the display mpls te tunnel-interface [ tunnel tunnel-number ] command to check the tunnel interface on the tunnel ingress. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 189: Referencing The Cr-Lsp Attribute Template To Set Up The Cr-Lsp

    – If the configurations of a CR-LSP attribute template are modified, the configurations of the CR-LSPs established by using the CR-LSP attribute template are automatically updated, which makes the configurations of CR-LSPs more flexible. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 190: Configuring A Cr-Lsp Attribute Template

    You need to configure a CR-LSP attribute template before using the CR-LSP attribute template to set up CR-LSPs. Context Do as follows on the ingress of the CR-LSP: Steps 3 to 10 are optional. Procedure Step 1 Run: system-view Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 191 By default, the hop limit is 32. Step 8 (Optional) Run: fast-reroute [ bandwidth ] Fast Reroute (FRR) is enabled for the CR-LSP attribute template. By default, FRR is disabled. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 192: Setting Up A Cr-Lsp By Using A Cr-Lsp Attribute Template

    You can use a CR-LSP attribute template to set up the primary CR-LSP, hot-standby CR-LSP, and ordinary backup CR-LSP. Context Do as follows on the ingress of the CR-LSP: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 193 A maximum of three CR-LSP attribute templates can be used to set up an ordinary backup CR- LSP. The ordinary backup CR-LSP must be consistent with the primary CR-LSP in the attributes Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 194: Checking The Configuration

    Information about the CR-LSPs that are set up through the specified CR-LSP attribute template 3.6 Adjusting RSVP Signaling Parameters RSVP-TE provides various parameters, which meet the requirements for reliability, network resources, and advanced MPLS features. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 195: Establishing The Configuration Task

    Do as follows on each node along the TE tunnel: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: mpls The MPLS view is displayed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 196: Configuring Rsvp Timers

    Resv messages and the timeout multiplier when RSVP is in the blocked state. Context Do as follows on each node along the TE tunnel: Procedure Step 1 Run: system-view Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 197: Configuring Rsvp Refresh Mechanism

    The value of Delta depends on the link rate. The node retransmits the message until it receives an ACK message or the times of retransmission reach the threshold (that is, retransmission increment value). Procedure Step 1 Run: system-view Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 198: Enabling Reservation Confirmation Mechanism

    The system view is displayed. Step 2 Run: mpls The MPLS view is displayed. Step 3 Run: mpls rsvp-te resvconfirm The reservation confirmation mechanism is enabled. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 199: Checking The Configuration

    Before configuring an RSVP authentication, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 200: Configuring Rsvp Key Authentication

    RSVP authentication uses authentication objects in RSVP messages to authenticate the RSVP messages, preventing malicious attacks initiated by the modified or forged RSVP messages and thus improving the network reliability and security. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 201 Path Refresh message is sent. If the configuration is not complete on either of the two directly-connected interfaces after a period three times the interval at which a Path Refresh message is sent, the RSVP session goes Down. Run: system-view Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 202: Optional) Configuring Rsvp Authentication Lifetime

    The RSVP authentication lifetime that is configured in the interface view takes effect only on the current interface. l To enter the MPLS RSVP-TE neighbor view, run: mpls rsvp-te peer ip-address Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 203: Optional) Configuring The Handshake Function

    After the handshake function is configured on the local end and its RSVP neighbors, if the local end receives RSVP packets from a neighbor that does not establish an RSVP authentication Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 204: Optional) Configuring The Message Window Function

    RSVP messages that the local device can save. You must configure RSVP Authentication before configuring the message window function. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 205: Checking The Configuration

    CSPF calculates only a shortest path to reach the tunnel destination. During the path computation, if there are several paths with the same metric, the device select one of them. Tie-breaking methods for selecting the path are as follows: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 206 Before adjusting the selection of the CR-LSP, complete the following task: Configuring RSVP-TE Tunnel Data Preparation To adjust the selection of the CR-LSP, you need the following data. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 207: Configuring Administrative Group And Affinity Property

    The affinity for the tunnel is configured. By default, the values of administrative group, affinity property, and mask are all 0x0. Step 7 Run: mpls te commit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 208: Configuring Srlg

    Configuring SRLG path calculation mode for the tunnel Do as follows on the ingress node of the hot-standby tunnel or the TE FRR tunnel. Run: system-view The system view is displayed. Run: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 209: Configuring Cr-Lsp Hop Limit

    3.8.5 Configuring Metrics for Path Calculation You can configure the metric type that is used for setting up a tunnel. Procedure Specifying the metric type used by the tunnel Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 210 The system view is displayed. Run: interface interface-type interface-number The view of the MPLS-TE-enabled interface is displayed. Run: mpls te metric value The TE metric value of the path is configured. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 211: Configuring Tie-Breaking Of Cspf

    The tunnel preferentially takes the tie-breaking policy configured in its tunnel interface view. If the tie-breaking policy is not configured in the tunnel interface view, the configuration in the MPLS view is adopted. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 212: Configuring Failed Link Timer

    The failed link timer is a local configuration. If the failed link timers of nodes are set to different values, a failed link that is in ACTIVE state on one node may be in INACTIVE state on other nodes. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 213: Configuring Loop Detection

    If route pinning is enabled, the MPLS TE re-optimization cannot be used at the same time. Do as follows on the ingress of the CR-LSP tunnel: Procedure Step 1 Run: system-view Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 214: Checking The Configuration

    3.9 Adjusting the Establishment of MPLS TE Tunnels By configuring multiple attributes of an MPLS TE tunnel, you can adjust the parameters during the establishment of the MPLS TE tunnel. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 215: Establishing The Configuration Task

    Step 1 Run: system-view The system view is displayed. Step 2 Run: interface tunnel tunnel-number The tunnel interface view of the MPLS TE tunnel is displayed. Step 3 Run: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 216: Configuring Re-Optimization For Cr-Lsp

    [ frequency interval ] Periodic re-optimization is enabled. By default, re-optimization is disabled. The default periodic re-optimization interval is 3600 seconds. Step 4 Run: mpls te commit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 217: Configuring Tunnel Reestablishment Parameters

    The interval for re-establishing a tunnel is specified. By default, the interval for re-establishing a tunnel is 2 seconds. Step 5 Run: mpls te commit The current tunnel configuration is committed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 218: Configuring Route Record And Label Record

    In this case, if the RSVP signaling delay-trigger function is configured, the system resources can be efficiently used. Do as follows on each node on which multiple RSVP CR-LSPs need to be reestablished: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 219: Checking The Configuration

    By adjusting the forwarding of MPLS TE traffic, you can modify the path along which IP traffic or MPLS traffic is transmitted, or limit the types of traffic that can be transmitted along a TE tunnel. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 220: Establishing The Configuration Task

    The IGP shortcut and the Forwarding Adjacency cannot be used together. Do as follows on the ingress along a CR-LSP tunnel: Procedure Step 1 Run: system-view The system view is displayed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 221: Configuring Forwarding Adjacency

    LSP links to other nodes, configure another tunnel for transferring data packets in the reverse direction. Then, enable the forwarding adjacency on these two tunnels. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 222: Configuring Switching Delay And Deletion Delay

    To ensure that the original CR-LSP can be deleted only after a new CR-LSP is set up, you need to configure the switching delay and the deletion delay, which avoids traffic interruption. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 223: Configuring Mpls Te Frr

    This can help you complete the configuration task quickly and accurately. Applicable Environment MPLS TE Fast ReRoute (FRR) is a local protection technique. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 224 Pre-configuration Tasks Before configuring MPLS TE fast reroute, complete the following tasks: Establishing the primary LSP by using the RSVP-TE signaling protocol Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 225: Enabling Te Fast Reroute

    Step 2 Run: interface tunnel interface-number The tunnel interface view of the primary LSP is displayed. Step 3 Run: mpls te fast-reroute [ bandwidth ] FRR is enabled. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 226: Configuring Bypass Tunnels

    Therefore, a tunnel interface needs not to be assigned with an IP address. The tunnel interface borrows the loopback interface address that is used as the LSR ID of the local node. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 227 During the FRR period, if the bypass LSP goes Down, the protected data cannot be forwarded over an MPLS network; thus traffic may be interrupted and the FRR fails. Even after the bypass Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 228: Optional) Configuring The Scanning Timer For Frr

    LSPs and binds the optimal bypass LSP to the primary LSP. After the FRR switching, if the protected LSP is restored or another LSP is established, traffic is switched to the original LSP or the newly-established LSP. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 229: Optional) Modifying Psb And Rsb Timeout Multiplier

    Run the display mpls te tunnel path [ [ tunnel-name ] [ lsp-id ingress-lsr-id session-id lsp-id ] | fast-reroute { local-protection-available | local-protection-inuse } ] command to check information about paths of the primary tunnel or bypass tunnel. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 230: Configuring Mpls Te Auto Frr

    3.12.2 Enabling the TE Auto FRR Before configuring TE Auto FRR, you must enable TE Auto FRR. Context Do as follows on the ingress node of the tunnel: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 231: Enabling The Te Frr And Configuring The Auto Bypass Tunnel Attributes

    Tunnel Attributes After TE Auto FRR is enabled, the system automatically sets up a bypass tunnel. Context Do as follows on the ingress node of the primary tunnel: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 232: Optional) Configuring The Scanning Timer For Frr

    By configuring a TE FRR scanning timer, you can search for the eligible LSPs that can function as bypass LSPs and then bind the optimal LSP to the primary LSP. Context Do as follows on the PLR node: Procedure Step 1 Run: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 233: Optional) Modifying Psb And Rsb Timeout Multiplier

    The MPLS view is displayed. Step 3 Run: mpls rsvp-te keep-multiplier number The timeout multiplier of the path state block (PSB) and reserved state block (RSB) is configured. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 234: Checking The Configuration

    3-1, the path of the primary CR-LSP is PE1 -> P1 -> PE2 and the path of the backup CR-LSP is PE1 -> P2 -> PE2. When both the primary Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 235: Configuring Cr-Lsp Backup

    (Optional) Hop limit of the backup CR-LSP 3.13.2 Configuring CR-LSP Backup CR-LSP backup is configured on the ingress of a primary CR-LSP. Hot standby and ordinary backup are mutually exclusive. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 236 The number of hops of the backup CR-LSP is limited. By default, the hop limit of a backup CR-LSP is 32. Step 7 Run: mpls te commit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 237: Optional) Configuring A Best-Effort Lsp

    Follow-up Procedure After a best-effort LSP is configured, the device triggers the setup of a best-effort LSP when both the primary LSP and the backup LSP fail. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 238: Checking The Configuration

    Tunnel-Name Tunnel1/0/0 TunnelIndex LSP Index 1024 Session ID LSP ID Lsr Role Ingress Ingress LSR ID 1.1.1.1 Egress LSR ID 2.2.2.2 In-Interface Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 239: Configuring Synchronization Of The Bypass Tunnel And The Backup Cr-Lsp

    To protect important links and nodes, you can configure the TE FRR bypass tunnel and the end- to-end backup CR-LSP together. The backup CR-LSP is more reliable than the TE FRR bypass Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 240: Enabling Synchronization Of The Bypass Tunnel And The Backup Cr-Lsp

    3.14.2 Enabling Synchronization of the Bypass Tunnel and the Backup CR-LSP By configuring synchronization of the bypass tunnel and the backup CR-LSP, you can protect the entire CR-LSP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 241: Checking The Configuration

    All configurations of synchronization of the bypass tunnel and the backup CR-LSP are complete. Procedure Run the display mpls te tunnel-interface [ tunnel tunnel-number | auto-bypass-tunnel tunnel-name ] command, and you can view information about the tunnel. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 242: Configuring Rsvp Gr

    IS-IS: IS-IS process ID, Network Entity Title (NET), and the IS-IS level of each node l OSPF: OSPF process ID and AS number MPLS LSR ID of each node Tunnel interface number and tunnel ID Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 243: Enabling The Rsvp Hello Extension Function

    By default, though the RSVP Hello extension function is enabled globally, it is disabled on the RSVP-enabled interfaces. ----End 3.15.3 Enabling Full GR of RSVP By enabling RSVP full GR, you can ensure uninterrupted data transmission on the forwarding plane. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 244: Optional) Enabling The Rsvp Gr Supporting Function

    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. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 245: Optional) Configuring Hello Sessions Between Rsvp Gr Nodes

    After the active/standby switchover starts, the RSVP GR node experiences an RSVP smoothing period, during which the data plane continues forwarding data when the control plane is not Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 246: Checking The Configuration

    "Restart time going on" or "Recovery time going on" is displayed in the GR Status field. Run the display mpls rsvp-te graceful-restart peer command on the restarted node. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 247: Configuring Static Bfd For Cr-Lsp

    "MPLS OAM Configuration" in the Quidway S9300 Terabit Routing Switch Configuration Guide - MPLS. Data Preparation To configure static BFD for CR-LSP, you need the following data. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 248: Enabling Bfd Globally

    BFD packets, and BFD detection multiplier, which affect the establishment of a BFD session. Context Do as follows on the ingress node of the tunnel: Procedure Step 1 Run: system-view Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 249 The default value is determined by the license. Step 7 (Optional) Run: detect-multiplier multiplier The local detection multiplier is adjusted. By default, the local detection multiplier is 3. Step 8 Run: commit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 250: Configuring Bfd Parameters On The Egress Of The Tunnel

    For a static LSP, run: bfd cfg-name bind static-lsp lsp-name l For a CR-LSP, run: bfd cfg-name bind mpls-te interface tunnel tunnel-number te-lsp [ backup ] Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 251: Checking The Configuration

    – To view the configurations of BFD with the backward channel being an IP link, run the display bfd configuration peer-ip peer-ip [ vpn-instance vpn-name ] [ verbose ] command. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 252 – To view statistics of the BFD session that detects the TE tunnel, run the display bfd statistics session mpls-te interface tunnel interface-number te-lsp command. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 253: Configuring Static Bfd For Te

    (Optional) Local detection multiplier 3.17.2 Enabling BFD Globally To configure static BFD for TE, you must enable BFD globally on the ingress node and the egress node of a tunnel. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 254: Configuring Bfd Parameters On The Ingress Of The Tunnel

    The remote discriminator is configured. Step 5 (Optional) Run: min-tx-interval interval The minimum interval for the local end to send BFD packets is set. Step 6 (Optional) Run: min-rx-interval interval Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 255: Configuring Bfd Parameters On The Egress Of The Tunnel

    LSP fault. If the configured reverse tunnel requires BFD detection, you can configure a pair of BFD sessions for it. Choose one of the following configurations as required: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 256: Checking The Configuration

    Procedure Run the display bfd configuration mpls-te interface tunnel interface-number [ verbose ] command to check BFD configurations on the ingress. Check BFD configurations on the egress. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 257 [ vpn-instance vpn-name ] command. – To view statistics of the BFD session that detects the static LSP, run the display bfd statistics session static-lsp lsp-name command. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 258: Configuring Dynamic Bfd For Cr-Lsp

    Before configuring dynamic BFD for CR-LSP, complete the following tasks: Configuring Static MPLS TE Tunnel Configuring RSVP-TE Tunnel Data Preparation To configure dynamic BFD for CR-LSP, you need the following data. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 259: Enabling Bfd Globally

    Enabling MPLS TE BFD on the Tunnel Interface if certain TE tunnels on the ingress need to dynamically create BFD sessions Procedure Enabling MPLS TE BFD globally Do as follows on the ingress: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 260 The command configured in the tunnel interface view takes effect only on the current tunnel interface. Run: mpls te commit The configuration of the TE tunnel is committed. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 261: Enabling The Capability Of Passively Creating Bfd Sessions On The Egress

    TE tunnels on the ingress use the same BFD parameters Adjusting BFD Parameters on an Interface if certain TE tunnels on the ingress need BFD parameters different from global BFD parameters Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 262 { min-tx-interval tx-interval | min-rx-interval rx-interval | detect-multiplier multiplier } BFD time parameters are adjusted. Run: mpls te commit The current configurations of the TE tunnel interface are committed. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 263: Checking The Configuration

    Before configuring dynamic BFD for RSVP, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 264: Enabling Bfd Globally

    Actual local detection interval = Actual local receiving interval x Configured remote detection multiplier. 3.19.2 Enabling BFD Globally To configure dynamic BFD for RSVP, you must enable BFD on both ends of RSVP neighbors. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 265: Enabling Bfd For Rsvp

    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. (Optional) Block BFD for RSVP on the RSVP interfaces that need not BFD for RSVP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 266: Optional) Adjusting Bfd Parameters

    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 }* Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 267: Checking The Configuration

    RSVP neighbor. Run the display mpls rsvp-te statistics { global | interface [ interface-type interface- number ] } command to check statistics of RSVP-TE. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 268: Maintaining Mpls Te

    After configuring MPLS TE, you can use NQA to check the connectivity and jitter of the TE tunnel. For detailed configurations, refer to the chapter "NQA Configuration" in the Quidway S9300 Terabit Routing Switch Configuration Guide - System Management. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 269: Resetting The Tunnel Interface

    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. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 270: Resetting The Rsvp Process

    3.20.8 Enabling the Trap Function of LSP By configuring the trap function on an LSP, you can notify the NMS of the changes of the LSP status. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 271: Debugging Mpls Te

    MPLS-TE management. Run the debugging mpls te cspf { all | computation | errors | events | tedb } command to enable the debugging of CSPF. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 272: Configuration Examples

    Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 273 [LSRB-LoopBack1] ip address 2.2.2.2 32 [LSRB-LoopBack1] quit [LSRB] interface gigabitethernet 1/0/0 [LSRB-GigabitEthernet1/0/0] port link-type access [LSRB-GigabitEthernet1/0/0] quit [LSRB] interface gigabitethernet 2/0/0 [LSRB-GigabitEthernet2/0/0] port link-type access [LSRB-GigabitEthernet2/0/0] quit [LSRB] vlan 10 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 274 [LSRC] interface tunnel 2/0/0 [LSRC-Tunnel2/0/0] ip address unnumbered interface loopback 1 [LSRC-Tunnel2/0/0] tunnel-protocol mpls te [LSRC-Tunnel2/0/0] destination 1.1.1.1 [LSRC-Tunnel2/0/0] mpls te tunnel-id 200 [LSRC-Tunnel2/0/0] mpls te signal-protocol cr-static Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 275 CR-LSPs. # Check the configuration on LSRA. [LSRA] display mpls lsp ---------------------------------------------------------------------- LSP Information: STATIC CRLSP ---------------------------------------------------------------------- In/Out Label In/Out IF Vrf Name Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 276 Therefore, information such as FEC is null is shown in the display of LSRB and LSRC. ----End Configuration Files Configuration file of LSRA sysname LSRA vlan batch 10 mpls lsr-id 1.1.1.1 mpls mpls te interface Vlanif10 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 277 3.2.1.0 0.0.0.255 network 2.2.2.2 0.0.0.0 static-cr-lsp transit tunnel1/0/0 incoming-interface Vlanif 10 in-label 20 nexthop 3.2.1.2 out-label 30 bandwidth bc0 10000 static-cr-lsp transit tunnel2/0/0 incoming-interface Vlanif20 in-label 120 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 278: Example For Configuring An Rsvp-Te Tunnel

    3-3, IS-IS is run on LSRA, LSRB, LSRC, and LSRD. They are all Level 2 devices. RSVP-TE is used to establish a TE tunnel from LSRA to LSRD. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 279 Step 1 Create VLANs and VLANIF interfaces, and assign IP addresses to the VLANIF interfaces. Configure LSRA. <Quidway> system-view [Quidway] sysname LSRA [LSRA] interface loopback1 [LSRA-LoopBack1] ip address 1.1.1.9 32 [LSRA-LoopBack1] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 280 [LSRC-Vlanif30] ip address 30.1.1.1 24 [LSRC-Vlanif30] quit Configure LSRD. <Quidway> system-view [Quidway] sysname LSRD [LSRD] interface loopback1 [LSRD-LoopBack1] ip address 4.4.4.9 32 [LSRD-LoopBack1] quit [LSRD] vlan 30 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 281 [LSRD-isis-1] network-entity 00.0005.0000.0000.0004.00 [LSRD-isis-1] is-level level-2 [LSRD-isis-1] quit [LSRD] interface vlanif 30 [LSRD-Vlanif30] isis enable 1 [LSRD-Vlanif30] quit [LSRD] interface loopback 1 [LSRD-LoopBack1] isis enable 1 [LSRD-LoopBack1] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 282 [LSRB-Vlanif20] mpls te bandwidth max-reservable-bandwidth 1000 [LSRB-Vlanif20] mpls te bandwidth bc0 1000 [LSRB-Vlanif20] mpls rsvp-te [LSRB-Vlanif20] quit # Configure LSRC. [LSRC] mpls lsr-id 3.3.3.9 [LSRC] mpls [LSRC-mpls] mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 283 IP address, tunnel ID, dynamic signaling protocol, and tunnel bandwidth, and make the configurations take effect by using the mpls te commit command. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 284 Reopt Disabled Reopt Freq Back Up Type None Back Up LSPID Auto BW Disabled Auto BW Freq : Min BW Max BW Current Collected BW: Interfaces Protected: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 285 1.1.1.9 255.255.255.255 isis enable 1 interface Tunnel1/0/0 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 4.4.4.9 mpls te tunnel-id 100 mpls te commit return Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 286 1 is-level level-2 cost-style wide network-entity 00.0005.0000.0000.0003.00 traffic-eng level-2 interface Vlanif20 ip address 20.1.1.2 255.255.255.0 isis enable 1 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 287: Example For Setting Up Cr-Lsps By Using Cr-Lsp Attribute Templates

    3-4, a primary CR-LSP with LSRA being the ingress and LSRD being the egress needs to be set up, and the primary CR-LSP needs to be configured with the hot-standby Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 288 Enable MPLS and MPLS TE in the system view and in each interface view. Configure CR-LSP attribute templates on the ingress of the CR-LSPs. Create the CR-LSPs on the TE tunnel interface by using the CR-LSP attribute templates. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 289 [LSRA] interface vlanif 20 [LSRA-Vlanif20] mpls [LSRA-Vlanif20] mpls te [LSRA-Vlanif20] mpls rsvp-te [LSRA-Vlanif20] quit [LSRA] interface vlanif 30 [LSRA-Vlanif30] mpls [LSRA-Vlanif30] mpls te [LSRA-Vlanif30] mpls rsvp-te [LSRA-Vlanif30] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 290 [LSRA-Tunnel1/0/0] mpls te tunnel-id 100 [LSRA-Tunnel1/0/0] mpls te primary-lsp-constraint lsp-attribute lsp_attribute_1 [LSRA-Tunnel1/0/0] mpls te hotstandby-lsp-constraint 1 lsp-attribute lsp_attribute_2 [LSRA-Tunnel1/0/0] mpls te ordinary-lsp-constraint 1 lsp-attribute lsp_attribute_3 [LSRA-Tunnel1/0/0] mpls te commit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 291 Backup LSP ID 1.1.1.1:32769 Backup LSP Type Hot-standby Setup Priority Hold Priority: Affinity Prop/Mask 0x0/0x0 Resv Style CT0 Bandwidth(Kbit/sec) : CT1 Bandwidth(Kbit/sec) : CT2 Bandwidth(Kbit/sec) : CT3 Bandwidth(Kbit/sec) : Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 292 CT3 Bandwidth(Kbit/sec) : CT4 Bandwidth(Kbit/sec) : CT5 Bandwidth(Kbit/sec) : CT6 Bandwidth(Kbit/sec) : CT7 Bandwidth(Kbit/sec) : Explicit Path Name down_path Hop Limit Record Route Enabled Record Label : Disabled Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 293 CT5 Bandwidth(Kbit/sec) : CT6 Bandwidth(Kbit/sec) : CT7 Bandwidth(Kbit/sec) : Explicit Path Name middle_path Hop Limit Record Route Enabled Record Label : Disabled Route Pinning Disabled FRR Flag IdleTime Remain Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 294 Vlanif20 ip address 10.1.3.1 255.255.255.0 mpls mpls te mpls rsvp-te interface Vlanif30 ip address 10.1.2.1 255.255.255.0 mpls mpls te mpls rsvp-te interface LoopBack1 ip address 1.1.1.1 255.255.255.255 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 295 GigabitEthernet 2/0/0 port hybrid pvid vlan 40 port hybrid untagged vlan 40 ospf 1 opaque-capability enable area 0.0.0.0 network 10.1.2.0 0.0.0.255 network 10.1.5.0 0.0.0.255 mpls-te enable Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 296 10.1.4.2 255.255.255.0 mpls mpls te mpls rsvp-te interface Vlanif50 ip address 10.1.6.2 255.255.255.0 mpls mpls te mpls rsvp-te interface Vlanif40 ip address 10.1.5.2 255.255.255.0 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 297 GigabitEthernet 2/0/0 port hybrid pvid vlan 50 port hybrid untagged vlan 50 ospf 1 opaque-capability enable area 0.0.0.0 network 10.1.3.0 0.0.0.255 network 10.1.6.0 0.0.0.255 mpls-te enable return Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 298: Example For Configuring Rsvp Authentication

    OSPF process ID and OSPF area ID of each node Authentication password of the local interface and authentication key Size of the sliding window for RSVP authentication Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 299 [LSRC-ospf-1-area-0.0.0.0] quit Step 5 Configure an MPLS TE tunnel. # Create an MPLS TE tunnel on LSRA. [LSRA] interface tunnel 1/0/0 [LSRA-Tunnel1/0/0] ip address unnumbered interface loopback 1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 300 Num of Neighbors: 1 SRefresh feature: DISABLE SRefresh Interval: 30 sec Mpls Mtu: 1500 Retransmit Interval: 500 msec Increment Value: 1 Authentication: ENABLE Challenge: ENABLE WindowSize: 32 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 301 Configuration file of LSRB sysname LSRB vlan batch 10 20 mpls lsr-id 2.2.2.2 mpls mpls te mpls rsvp-te mpls te cspf interface Vlanif10 ip address 10.1.1.2 255.255.255.0 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 302: Example For Setting Attributes On The Mpls Te Tunnel

    3.3.3.3 255.255.255.255 ospf 1 opaque-capability enable area 0.0.0.0 network 20.1.1.0 0.0.0.255 network 3.3.3.3 0.0.0.0 mpls-te enable return 3.21.5 Example for Setting Attributes on the MPLS TE Tunnel Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 303: Networking Requirements

    Affinity property and mask of each tunnel Number of the tunnel interface, IP address, destination IP address, tunnel ID, tunnel bandwidth, tunnel priority, and signaling protocol (RSVP-TE by default) Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 304 [LSRA-Vlanif10] mpls te bandwidth max-reservable-bandwidth 50000 # On LSRA, set the administrative group property of the link to 0x10001. [LSRA-Vlanif10] mpls te link administrative group 10001 [LSRA-Vlanif10] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 305 [1]: (kbps) [2]: (kbps), [3]: (kbps) [4]: (kbps), [5]: (kbps) [6]: (kbps), [7]: (kbps) Link[2]: Interface IP Address: 192.168.1.2 Peer IP Address: 192.168.1.1 Peer Router Id: 1.1.1.1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 306 [6]: (kbps), [7]: (kbps) BW Unreserved for Class type 1: [0]: (kbps), [1]: (kbps) [2]: (kbps), [3]: (kbps) [4]: (kbps), [5]: (kbps) [6]: (kbps), [7]: (kbps) Link[2]: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 307 BestEffort Affinity Prop/Mask: 0x0/0x0 Tie-Breaking Policy : None Metric Type None Record Route Disabled Record Label : Disabled FRR Flag Disabled BackUpBW Flag: Not Supported BackUpBW Type BackUpBW Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 308 50000 (kbps), [3]: 50000 (kbps) [4]: 50000 (kbps), [5]: 50000 (kbps) [6]: 50000 (kbps), [7]: 10000 (kbps) BW Unreserved for Class type 1: [0]: (kbps), [1]: (kbps) Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 309 Local Overbooking Multiplier: BC[0]: (kbps) LOM[0]: BC[1]: (kbps) LOM[1]: BW Unreserved for Class type 0: [0]: (kbps), [1]: (kbps) [2]: (kbps), [3]: (kbps) [4]: (kbps), [5]: (kbps) Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 310 Run the display mpls te cspf tedb node command to check the TEDB and the changes of bandwidth used on the links. It indicates that Tunnel 1/0/1 passes through VLANIF 30 of LSRB. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 311 10011 mask 11101 mpls te commit ospf 1 opaque-capability enable area 0.0.0.0 network 1.1.1.1 0.0.0.0 network 192.168.1.0 0.0.0.255 mpls-te enable return Configuration file of LSRB sysname LSRB Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 312 Configuration file of LSRC sysname LSRC vlan batch 20 30 mpls lsr-id 3.3.3.3 mpls mpls te mpls rsvp-te interface Vlanif20 ip address 192.168.2.2 255.255.255.0 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 313: Example For Configuring Srlg (Te Auto Frr)

    SRLG as the link of the primary tunnel. If SRLGs cannot be avoided, the bypass tunnel can be still set up. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 314 Configure the SRLG path calculation mode in the system view on the PLR node. Set up an RSVP-TE tunnel between PE1 and PE2, and the explicit path is PE1 --> P1 --> PE2. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 315 Configure the maximum bandwidth and maximum reservable bandwidth for each interface. For the detailed configuration, see the configuration file of this example. Step 6 Configure IS-IS TE and CSPF. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 316 [PE1-explicit-path-main] next hop 5.5.5.5 [PE1-explicit-path-main] quit # Display information about the explicit path on PE1. [PE1] display explicit-path main Path Name : main Path Status : Enabled 10.1.1.2 Strict Include Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 317 10.4.1.2. [P1] display mpls te tunnel name Tunnel1/0/0 verbose Tunnel-Name Tunnel1/0/0 TunnelIndex LSP Index 3072 Session ID LSP ID Lsr Role Transit Ingress LSR ID 4.4.4.4 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 318 # Run the display mpls te tunnel name Tunnel1/0/0 verbose command on P1, and you can view that the primary tunnel is still bound with the Tunnel0/0/2048 and the FRR next hop is 10.5.1.2. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 319 CSPF does not take the SRLG as a constraint. ----End Configuration Files Configuration file of PE1 sysname PE1 vlan batch 10 mpls lsr-id 4.4.4.4 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 320 10.0000.0000.0001.00 traffic-eng level-1-2 interface Vlanif10 ip address 10.1.1.2 255.255.255.252 isis enable 1 mpls mpls te mpls rsvp-te interface Vlanif20 ip address 10.2.1.1 255.255.255.252 isis enable 1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 321 10.0000.0000.0002.00 traffic-eng level-1-2 interface Vlanif40 ip address 10.3.1.2 255.255.255.252 isis enable 1 mpls mpls te mpls rsvp-te interface Vlanif50 ip address 10.4.1.1 255.255.255.252 isis enable 1 mpls Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 322: Example For Configuring Srlg (Hot-Standby)

    MPLS network. An RSVP-TE tunnel has been setup between the PE1 and PE2 and the path of the tunnel is PE1 --> P4 --> PE2. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 323 VLANIF 70 10.6.1.2/30 GigabitEthernet2/0/0 VLANIF 50 10.7.1.2/30 GigabitEthernet3/0/0 VLANIF 60 10.8.1.2/30 GigabitEthernet1/0/0 VLANIF 80 10.3.1.2/30 GigabitEthernet2/0/0 VLANIF 40 10.5.1.2/30 GigabitEthernet3/0/0 VLANIF 70 10.6.1.1/30 GigabitEthernet1/0/0 VLANIF 10 10.1.1.1/30 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 324 Configure OSPF or IS-IS on each node to realize the reach ability between nodes. In this example, IS-IS is configured. For detailed configuration, see the configuration file of this example. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 325 # Configure SRLG1 for the link PE1 --> P1 and the link PE1 --> P4. [PE1] interface vlanif 10 [PE1-Vlanif10] mpls te srlg 1 [PE1-Vlanif10] quit [PE1] interface vlanif 80 [PE1-Vlanif80] mpls te srlg 1 [PE1-Vlanif80] mpls te srlg 2 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 326 [PE1] display mpls te hot-standby state interface tunnel 1/0/0 ---------------------------------------------------------------- Verbose information about the Tunnel1/0/0 hot-standby state ---------------------------------------------------------------- tunnel name : Tunnel1/0/0 session id : 100 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 327 10.1.1.1 255.255.255.252 isis enable 1 mpls mpls te mpls te srlg 1 mpls rsvp-te interface Vlanif80 ip address 10.2.1.1 255.255.255.252 isis enable 1 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 328 100000 mpls te bandwidth bc0 50000 mpls rsvp-te interface Vlanif20 ip address 10.2.1.1 255.255.255.252 isis enable 1 mpls mpls te mpls rsvp-te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 329 30 interface GigabitEthernet 3/0/0 port hybrid pvid vlan 40 port hybrid untagged vlan 40 interface LoopBack1 ip address 2.2.2.2 255.255.255.255 isis enable 1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 330 1 cost-style wide network-entity 10.0000.0000.0004.00 traffic-eng level-1-2 interface Vlanif80 ip address 10.3.1.2 255.255.255.252 isis enable 1 mpls mpls te mpls rsvp-te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 331 10.7.1.2 255.255.255.252 isis enable 1 mpls mpls te mpls rsvp-te interface Vlanif60 ip address 10.8.1.2 255.255.255.252 isis enable 1 mpls mpls te mpls rsvp-te interface GigabitEthernet 1/0/0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 332: Example For Configuring Mpls Te Frr

    Vlanif20 Vlanif20 Vlanif10 Vlanif10 3.1.1.1/24 3.1.1.2/24 GE3/0/0 2.1.1.2/24 2.1.1.1/24 Vlanif40 GE3/0/0 Loopback1 3.3.1.2/24 Vlanif30 5.5.5.5/32 3.2.1.1/24 GE2/0/0 Primary LSP GE1/0/0 Vlanif40 Vlanif30 3.3.1.1/24 Bypass LSP 3.2.1.2/24 LSRE Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 333 [LSRA-mpls] mpls te cspf [LSRA-mpls] quit [LSRA] interface vlanif 10 [LSRA-Vlanif10] mpls [LSRA-Vlanif10] mpls te [LSRA-Vlanif10] mpls rsvp-te [LSRA-Vlanif10] quit [LSRA] isis [LSRA-isis-1] cost-style wide [LSRA-isis-1] traffic-eng level-2 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 334 [LSRA-Tunnel1/0/0] mpls te commit [LSRA-Tunnel1/0/0] quit After the configuration, run the display interface tunnel command on LSRA, and you can view that the status of Tunnel 1/0/0 is Up. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 335 Tunnel1/0/0 current state : UP Line protocol current state : UP Last line protocol up time: 2008-11-16, 12:26:17 Description : HUAWEI, Quidway Series, Tunnel1/0/0 Interface The Maximum Transmit Unit is 1500 bytes Internet Address is unnumbered, using address of LoopBack1(1.1.1.1/32) Encapsulation is TUNNEL, loopback not set Tunnel destination 4.4.4.4...
  • Page 336 Run the display mpls te tunnel command on all the nodes, and you can view the establishment of the tunnel and that two tunnels pass through LSRB and LSRC. [LSRA] display mpls te tunnel LSP-Id Destination In/Out-If 1.1.1.1:100:1 4.4.4.4 -/Vlanif10 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 337 Run the display interface tunnel 1/0/0 command on LSRA, and you can view the status of the primary LSP and that the status of the tunnel interface is still Up. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 338 Out-Label 13313 In-Interface ---------- Out-Interface Vlanif30 LspIndex 4106 Token 0x10000 LsrType Ingress Bypass In Use Not Exists Bypass Tunnel Id BypassTunnel Tunnel Index[---] Mpls-Mtu 1500 TimeStamp 1379sec Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 339 1.1.1.1 255.255.255.255 isis enable 1 interface Tunnel1/0/0 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 4.4.4.4 mpls te tunnel-id 100 mpls te record-route label Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 340 20 interface GigabitEthernet3/0/0 port link-type access port default vlan 30 interface LoopBack1 ip address 2.2.2.2 255.255.255.255 isis enable 1 interface Tunnel3/0/0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 341 20 interface GigabitEthernet3/0/0 port link-type access port default vlan 40 interface LoopBack1 ip address 3.3.3.3 255.255.255.255 isis enable 1 return Configuration file of LSRD Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 342 3.3.1.1 255.255.255.0 isis enable 1 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls rsvp-te interface GigabitEthernet1/0/0 port link-type access port default vlan 30 interface GigabitEthernet2/0/0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 343: Example For Configuring Mpls Te Auto Frr

    To complete the configuration, you need the following data: OSPF process ID and OSPF area ID of each node Maximum bandwidth and maximum reservable bandwidth of the link Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 344 [LSRA-ospf-1] area 0 [LSRA-ospf-1-area-0.0.0.0] mpls-te enable [LSRA-ospf-1-area-0.0.0.0] quit [LSRA-ospf-1] quit # 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 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 345 Run the display mpls lsp verbose command on the ingress node LSRA. You can view the LSP information about the primary tunnel and the bypass tunnel, and the primary tunnel is bound to the bypass tunnel. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 346 [LSRA] display mpls te tunnel-interface auto-bypass-tunnel Tunnel0/0/2048 Tunnel Name Tunnel0/0/2048 Tunnel State Desc CR-LSP is Up Tunnel Attributes LSP ID 1.1.1.1:3 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 347 2.1.1.1 Local-Protection available | bandwidth | node Hop 1 2.1.1.2 Label 106497 Hop 2 2.2.2.2 Hop 3 3.1.1.1 Local-Protection available | bandwidth Hop 4 3.1.1.2 Label 3 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 348 10 interface GigabitEthernet2/0/0 port link-type access port default vlan 20 interface LoopBack1 ip address 1.1.1.1 255.255.255.255 interface Tunnel2/0/0 ip address unnumbered interface LoopBack1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 349 GigabitEthernet2/0/0 port link-type access port default vlan 40 interface GigabitEthernet3/0/0 port link-type access port default vlan 20 interface LoopBack1 ip address 2.2.2.2 255.255.255.255 ospf 1 opaque-capability enable Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 350 0.0.0.0 network 10.1.1.0 0.0.0.255 network 3.1.1.0 0.0.0.255 network 4.1.1.0 0.0.0.255 network 3.3.3.3 0.0.0.0 mpls-te enable return Configuration file of LSRD sysname LSRD vlan batch 30 50 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 351: Example For Configuring Rsvp Key Authentication (Rsvp-Te Frr)

    The RSVP authentication needs to be configured on LSR B and LSR C. In this example, LSR B and LSR C are configured as neighboring nodes by using their LSR IDs. Then, the RSVP key authentication is enabled, achieving higher reliability. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 352 VLANIF 30 3.2.1.2/24 LSRE GigabitEthernet2/0/0 VLANIF 40 3.3.1.1/24 Configuration Roadmap The configuration roadmap is as follows: Configure MPLS TE FRR according to Example for Configuring MPLS TE FRR. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 353 RSVP-TE handshake function and set a local password. # Configure the RSVP key authentication on LSR B. [LSRB] mpls rsvp-te peer 3.3.3.3 [LSRB-mpls-rsvp-te-peer-3.3.3.3] mpls rsvp-te authentication plain huawei [LSRB-mpls-rsvp-te-peer-3.3.3.3] mpls rsvp-te authentication handshake beijingHW # Configure the RSVP key authentication on LSR C.
  • Page 354 Primary LSP Info TE Attribute Flag 0x63 Protected Flag Bypass In Use In Use Bypass Tunnel Id 67141670 BypassTunnel Tunnel Index[Tunnel3/0/0], InnerLabel[1024] Bypass Lsp ID FrrNextHop 3.3.1.2 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 355 RSVP key authentication is successful on LSR B and its neighbor LSR E, and the resources are successfully reserved. ----End Configuration Files Configuration file of LSR A sysname LSRA vlan batch 10 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 356 5 mpls rsvp-te mpls te cspf explicit-path by-path next hop 3.2.1.2 next hop 3.3.1.2 next hop 3.3.3.3 isis 1 is-level level-2 cost-style wide network-entity 00.0005.0000.0000.0002.00 traffic-eng level-2 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 357 LSRC vlan batch 50 20 40 mpls lsr-id 3.3.3.3 mpls mpls te mpls rsvp-te isis 1 is-level level-2 cost-style wide network-entity 00.0005.0000.0000.0003.00 traffic-eng level-2 interface Vlanif50 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 358 4.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te interface GigabitEthernet 1/0/0 port hybrid pvid vlan 50 port hybrid untagged vlan 50 interface LoopBack1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 359: Example For Configuring Rsvp-Te Summary Refresh (Rsvp-Te Frr)

    A bypass tunnel is set up along the path LSR B -> LSR E -> LSR C.LSR B functions as the PLR and LSR C functions as the MP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 360 VLANIF 50 4.1.1.1/24 LSRC GigabitEthernet2/0/0 VLANIF 20 3.1.1.2/24 LSRC GigabitEthernet3/0/0 VLANIF 40 3.3.1.2/24 LSRD GigabitEthernet1/0/0 VLANIF 50 4.1.1.2/24 LSRE GigabitEthernet1/0/0 VLANIF 30 3.2.1.2/24 LSRE GigabitEthernet2/0/0 VLANIF 40 3.3.1.1/24 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 361 SendResvConfCounter: 0 RecResvConfCounter: 0 SendHelloCounter: 0 RecHelloCounter: 0 SendAckCounter: 0 RecAckCounter: 0 SendPathErrCounter: 1 RecPathErrCounter: 0 SendResvErrCounter: 0 RecResvErrCounter: 0 SendPathTearCounter: 0 RecPathTearCounter: 1 SendResvTearCounter: 1 RecResvTearCounter: 1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 362 Primary LSP Info TE Attribute Flag 0x63 Protected Flag Bypass In Use In Use Bypass Tunnel Id 67141670 BypassTunnel Tunnel Index[Tunnel3/0/0], InnerLabel[1024] Bypass Lsp ID FrrNextHop 3.3.1.2 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 363 LSRA vlan batch 10 mpls lsr-id 1.1.1.1 mpls mpls te mpls rsvp-te mpls te cspf explicit-path pri-path next hop 2.1.1.2 next hop 3.1.1.2 next hop 4.1.1.2 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 364 00.0005.0000.0000.0002.00 traffic-eng level-2 interface Vlanif10 ip address 2.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te interface Vlanif20 ip address 3.1.1.1 255.255.255.0 isis enable 1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 365 Vlanif50 ip address 4.1.1.1 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te interface Vlanif20 ip address 3.1.1.2 255.255.255.0 isis enable 1 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 366 LoopBack1 ip address 4.4.4.4 255.255.255.255 isis enable 1 return Configuration file of LSR E sysname LSRE vlan batch 30 40 mpls lsr-id 5.5.5.5 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 367: Example For Configuring Board Removing Protection

    1/0/0 of the PLR is located is removed, and the traffic be switched back to the primary tunnel after the removed LPU is re-installed. Both the PLR and the MP are switches. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 368 Step 2 Configure OSPF to advertise the routes of network segments and the host routes of the LSR IDs. Configure OSPF on all the nodes to advertise the host routes of the LSR IDs. The configuration details are not mentioned here. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 369 Step 6 Configure the primary tunnel. # Configure the explicit path for the primary tunnel on the PLR. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 370 [PLR] display interface tunnel 0/0/1 Tunnel0/0/1 current state : UP Line protocol current state : UP Description : HUAWEI, Quidway Series, Tunnel0/0/1 Interface The Maximum Transmit Unit is 1500 bytes Internet Address is unnumbered, using address of LoopBack1(1.1.1.1/32) Encapsulation is TUNNEL, loopback not set Tunnel destination 5.5.5.5...
  • Page 371 Configuration Guide - MPLS 3 MPLS TE Configuration Line protocol current state : UP Description : HUAWEI, Quidway Series, Tunnel0/0/2 Interface The Maximum Transmit Unit is 1500 bytes Internet Address is unnumbered, using address of LoopBack1(1.1.1.1/32) Encapsulation is TUNNEL, loopback not set Tunnel destination 4.4.4.4...
  • Page 372 4.4.4.4 interface Vlanif10 ip address 10.1.1.1 255.255.255.0 mpls mpls te mpls te bandwidth max-reservable-bandwidth 10000 bc1 3000 mpls rsvp-te interface Vlanif20 ip address 20.1.1.1 255.255.255.0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 373 10.1.1.2 255.255.255.0 mpls mpls te mpls rsvp-te interface Vlanif30 ip address 30.1.1.1 255.255.255.0 mpls mpls te mpls te bandwidth max-reservable-bandwidth 10000 bc1 3000 mpls rsvp-te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 374 3.3.3.3 255.255.255.255 ospf 1 opaque-capability enable area 0.0.0.0 network 20.1.1.0 0.0.0.3 network 30.1.1.0 0.0.0.3 network 3.3.3.3 0.0.0.0 mpls-te enable return Configuration file of the MP sysname MP Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 375 50 mpls lsr-id 5.5.5.5 mpls mpls te mpls rsvp-te interface Vlanif50 ip address 50.1.1.2 255.255.255.0 mpls mpls te mpls rsvp-te interface GigabitEhernet1/0/0 port link-type access Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 376: Example For Configuring Cr-Lsp Hot Standby

    CR-LSP is recovered, the traffic can be switched back to the primary CR-LSP after 15 seconds. If both the primary and backup CR-LSPs fail, traffic can be switched to the best-effort path. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 377 MPLS LSR ID Bandwidth attributes of links along the tunnel Tunnel interface number and bandwidth occupied by the tunnel Explicit paths of the primary CR-LSP and the backup CR-LSP Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 378 [PE1] interface tunnel 1/0/0 [PE1-Tunnel1/0/0] ip address unnumbered interface loopback 1 [PE1-Tunnel1/0/0] tunnel-protocol mpls te [PE1-Tunnel1/0/0] destination 3.3.3.3 [PE1-Tunnel1/0/0] mpls te tunnel-id 100 [PE1-Tunnel1/0/0] mpls te path explicit-path main Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 379 1/0/0 command on PE1, and you can find that traffic is switched to the backup CR-LSP. [PE1] display mpls te hot-standby state interface tunnel 1/0/0 ---------------------------------------------------------------- Verbose information about the Tunnel1/0/0 hot-standby state ---------------------------------------------------------------- tunnel name : Tunnel1/0/0 session id : 100 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 380 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 Hop 3 10.1.1.2 Hop 4 10.1.1.1 Hop 5 1.1.1.1 Hop 6 10.2.1.1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 381 LoopBack1 ip address 4.4.4.4 255.255.255.255 isis enable 1 interface Tunnel1/0/0 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 3.3.3.3 mpls te tunnel-id 100 mpls te record-route Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 382 20 interface LoopBack1 ip address 1.1.1.1 255.255.255.255 isis enable 1 return Configuration file of P2 sysname P2 vlan batch 10 30 50 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 383 20 50 mpls lsr-id 3.3.3.3 mpls mpls te mpls rsvp-te isis 1 cost-style wide network-entity 10.0000.0000.0003.00 traffic-eng level-1-2 interface Vlanif20 ip address 10.2.1.2 255.255.255.0 isis enable 1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 384: Example For Configuring Synchronization Of The Bypass Tunnel And The Backup Cr-Lsp

    (that is, the primary CR-LSP is in FRR-in-use state) and tries to restore the primary CR-LSP. At the same time, the system tries to set up the backup CR-LSP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 385 On the ingress LSR A, set up an ordinary CR-LSP along the path LSR A --> LSR C. Configure synchronization of the bypass tunnel and the backup CR-LSP in the tunnel interface view. Data Preparation To complete the configuration, you need the following data: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 386 [LSRA-Tunnel2/0/0] mpls te record-route label [LSRA-Tunnel2/0/0] mpls te path explicit-path master [LSRA-Tunnel2/0/0] mpls te commit [LSRA-Tunnel2/0/0] quit Step 8 Enable TE Auto FRR and configure link protection. # Configure LSR A. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 387 Disabled Current Collected BW: Auto BW Freq : Min BW Max BW Tunnel Group Primary Interfaces Protected: Excluded IP Address : Is On Radix-Tree Referred LSP Count: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 388 Excluded IP Address : Is On Radix-Tree Referred LSP Count: Primary Tunnel Pri Tunn Sum : Backup Tunnel Group Status Oam Status IPTN InLabel BackUp Type Ordinary BestEffort Disabled Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 389 Group Status Oam Status IPTN InLabel BackUp Type Ordinary BestEffort Disabled Secondary HopLimit BestEffort HopLimit : Secondary Explicit Path Name: Secondary Affinity Prop/Mask: 0xf0/0xff BestEffort Affinity Prop/Mask: 0x0/0x0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 390 10.1.1.2 interface Vlanif20 ip address 2.1.1.1 255.255.255.0 mpls mpls te mpls rsvp-te interface Vlanif10 ip address 10.1.1.2 255.255.255.0 mpls mpls te mpls rsvp-te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 391 3.1.1.1 255.255.255.0 mpls mpls te mpls te auto-frr link mpls rsvp-te interface GigabitEthernet 1/0/0 port hybrid pvid vlan 40 port hybrid untagged vlan 40 interface GigabitEthernet 2/0/0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 392 GigabitEthernet 3/0/0 port hybrid pvid vlan 30 port hybrid untagged vlan 30 interface LoopBack0 ip address 3.3.3.3 255.255.255.255 ospf 1 opaque-capability enable area 0.0.0.0 network 3.3.3.3 0.0.0.0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 393: Example For Configuring Rsvp Gr

    RSVP protocol to set up a TE tunnel from S9300-A to LSRC. RSVP GR is required to ensure that MPLS forwarding is continuous when the switchover between the main control board and the LPU occurs on LSRA, LSRB, or LSRC. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 394 For detailed configuration, see the configuration files in this example. Step 2 Configure basic IS-IS functions. # Configure LSRA. [LSRA] isis 1 [LSRA-isis-1] network-entity 00.0005.0000.0000.0001.00 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 395 [LSRA-Vlanif10] quit # Configure LSRB. [LSRB] mpls lsr-id 2.2.2.2 [LSRB] mpls [LSRB-mpls] mpls te [LSRB-mpls] mpls rsvp-te [LSRB-mpls] quit [LSRB] interface vlanif 10 [LSRB-Vlanif10] mpls [LSRB-Vlanif10] mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 396 After the configuration, run the display interface tunnel command on LSRA, and you can view that the status of the tunnel interface is Up. [LSRA] display interface tunnel Tunnel1/0/0 current state : UP Line protocol current state : UP Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 397 Quidway S9300 Terabit Routing Switch Configuration Guide - MPLS 3 MPLS TE Configuration Description : HUAWEI, Quidway Series, Tunnel1/0/0 Interface The Maximum Transmit Unit is 1500 bytes Internet Address is unnumbered, using address of LoopBack1(1.1.1.9/32) Encapsulation is TUNNEL, loopback not set Tunnel destination 3.3.3.3...
  • Page 398 3.3.3.3 mpls te tunnel-id 100 mpls te commit return Configuration file of LSRB sysname LSRB vlan batch 10 20 mpls lsr-id 2.2.2.2 mpls mpls te mpls rsvp-te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 399 LSRC network-entity 00.0005.0000.0000.0003.00 traffic-eng level-2 interface Vlanif20 ip address 20.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te mpls rsvp-te hello Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 400: Example For Configuring Static Bfd For Cr-Lsps

    10.4.1.2/24 10.5.1.1/24 GE2/0/0 GE2/0/0 Vlanif50 Vlanif40 10.4.1.1/24 10.5.1.2/24 GE1/0/0 GE1/0/0 Vlanif20 Vlanif30 10.2.1.2/24 10.3.1.1/24 Loopback1 Loopback1 4.4.4.4/32 3.3.3.3/32 : Primary path : Backup path : Best-effort path Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 401 [PE1] bfd backuplsptope2 bind mpls-te interface tunnel1/0/0 te-lsp backup [PE1-bfd-lsp-session-backuplsptope2] discriminator local 423 [PE1-bfd-lsp-session-backuplsptope2] discriminator remote 324 [PE1-bfd-lsp-session-backuplsptope2] min-tx-interval 100 [PE1-bfd-lsp-session-backuplsptope2] min-rx-interval 100 [PE1-bfd-lsp-session-backuplsptope2] detect-multiplier 3 [PE1-bfd-lsp-session-backuplsptope2] process-pst [PE1-bfd-lsp-session-backuplsptope2] commit [PE1-bfd-lsp-session-backuplsptope2] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 402 15 seconds, you can find that the fault recovers at the millisecond level. ----End Configuration Files Configuration file of PE1 sysname PE1 vlan batch 30 40 mpls lsr-id 4.4.4.4 mpls mpls te mpls rsvp-te mpls te cspf Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 403 423 discriminator remote 324 min-tx-interval 100 min-rx-interval 100 process-pst commit bfd mainlsptope2 bind mpls-te interface Tunnel1/0/0 te-lsp discriminator local 413 discriminator remote 314 min-tx-interval 100 min-rx-interval 100 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 404 LoopBack1 ip address 1.1.1.1 255.255.255.255 isis enable 1 return Configuration file of P2 sysname P2 vlan batch 10 30 50 mpls lsr-id 2.2.2.2 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 405 20 50 mpls lsr-id 3.3.3.3 mpls mpls te mpls rsvp-te isis 1 cost-style wide network-entity 10.0000.0000.0003.00 traffic-eng level-1-2 interface Vlanif20 ip address 10.2.1.2 255.255.255.0 isis enable 1 mpls Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 406: Example For Configuring Static Bfd For Te Tunnels

    VPN to rapidly detect the faults. Thus, traffic can be switched between the primary path and backup path in case of faults, and fault recovery is shortened. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 407 Tunnel interface number, bandwidth occupied by the tunnel, and explicit paths VPN instance name, RD, and route target (RT) Name of the tunnel policy Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 408 [PE1-explicit-path-tope3] quit # Configure PE2. <PE2>system-view [PE2] explicit-path tope1 [PE2-explicit-path-tope1] next hop 10.2.1.1 [PE2-explicit-path-tope1] next hop 1.1.1.1 [PE2-explicit-path-tope1] quit # Configure PE3. <PE3> system-view [PE3] explicit-path tope1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 409 # Establish MP IBGP peer relations between PE1 and PE2, and between PE1 and PE3. The BGP AS number of PE1, PE2, and PE3 are 100. The loopback interface Loopback1 on PE1, PE2, and Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 410 [PE1] bfd test bind mpls-te interface tunnel2/0/0 [PE1-bfd-lsp-session-test] discriminator local 12 [PE1-bfd-lsp-session-test] discriminator remote 21 [PE1-bfd-lsp-session-test] min-tx-interval 100 [PE1-bfd-lsp-session-test] min-rx-interval 100 [PE1-bfd-lsp-session-test] detect-multiplier 3 [PE1-bfd-lsp-session-test] process-pst [PE1-bfd-lsp-session-test] commit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 411 10.2.1.2 next hop 3.3.3.3 explicit-path tope3 next hop 10.1.1.2 next hop 2.2.2.2 interface Vlanif10 ip address 10.1.1.1 255.255.255.0 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 412 1 opaque-capability enable area 0.0.0.0 network 10.1.1.0 0.0.0.3 network 10.2.1.0 0.0.0.255 network 1.1.1.1 0.0.0.0 mpls-te enable route-policy vpn_frr_rp permit node 10 if-match ip next-hop ip-prefix vpn_frr_list Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 413 200 mpls te bandwidth bc0 10000 mpls te path explicit-path tope1 mpls te reserved-for-binding mpls te commit bgp 100 peer 1.1.1.1 as-number 100 peer 1.1.1.1 connect-interface LoopBack1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 414 GigabitEthernet1/0/0 port link-type access port default vlan 10 interface LoopBack1 ip address 2.2.2.2 255.255.255.255 interface Tunnel1/0/0 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 1.1.1.1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 415: Example For Configuring Dynamic Bfd For Cr-Lsps

    If the primary CR-LSP fails, traffic is rapidly switched to the backup CR-LSP. After the primary CR-LSP is recovered in less than 15 seconds, traffic is switched back to the primary CR-LSP if the backup CR-LSP fails. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 416 Minimum intervals for sending and receiving BFD packets on the ingress node (The default values are specified in the license.) Local detection multiplier of BFD on the ingress node (The default value is specified in the license.) Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 417 15 seconds, you can find that the fault recovers at the millisecond level. ----End Configuration Files Configuration file of PE1 sysname PE1 vlan batch 30 40 mpls lsr-id 4.4.4.4 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 418 100 min-rx-interval 100 detect-multiplier 3 mpls te commit return Configuration file of P1 sysname P1 vlan batch 10 20 40 mpls lsr-id 1.1.1.1 mpls Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 419 1 cost-style wide network-entity 10.0000.0000.0002.00 traffic-eng level-1-2 interface Vlanif10 ip address 10.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 420 1 mpls mpls te mpls rsvp-te interface Vlanif50 ip address 10.5.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te interface GigabitEthernet1/0/0 port link-type access Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 421: Example For Configuring Dynamic Bfd For Rsvp

    If BFD for RSVP is used on the network, P1 can rapidly detect the fault and perform TE FRR after the link between P1 and P2 fails. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 422 To complete the configuration, you need the following data: Type of an IGP and data required for configuring an IGP MPLS LSR ID Bandwidth attributes of the outgoing interfaces of the links along the tunnel Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 423 TE FRR. [PE1] interface tunnel 1/0/0 [PE1-Tunnel1/0/0] ip address unnumbered interface loopback 1 [PE1-Tunnel1/0/0] tunnel-protocol mpls te [PE1-Tunnel1/0/0] destination 5.5.5.5 [PE1-Tunnel1/0/0] mpls te tunnel-id 100 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 424 [P1] interface vlanif 20 [P1-Vlanif20] mpls rsvp-te hello [P1-Vlanif20] quit [P1] interface vlanif 30 [P1-Vlanif30] mpls rsvp-te hello [P1-Vlanif30] quit # Configure P2. [P2] mpls [P2-mpls] mpls rsvp-te hello Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 425 | peer ip-addr } command on PE1 and PE2, and you can view that the status of the BFD sessions is Up. Step 10 Verify the configuration. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 426 1 opaque-capability enable graceful-restart area 0.0.0.0 network 10.1.1.0 0.0.0.255 network 1.1.1.1 0.0.0.0 mpls-te enable return Configuration file of P1 sysname P1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 427 300 mpls te bandwidth bc0 20000 mpls te path explicit-path tope2 mpls te bypass-tunnel bandwidth bc0 10000 mpls te protected-interface Vlanif20 mpls te commit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 428 3.3.3.3 255.255.255.255 ospf 1 opaque-capability enable graceful-restart area 0.0.0.0 network 10.2.1.0 0.0.0.255 network 10.4.1.0 0.0.0.255 network 3.3.3.3 0.0.0.0 mpls-te enable return Configuration file of P3 sysname P3 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 429 2.2.2.2 interface Vlanif40 ip address 10.4.1.2 255.255.255.0 mpls mpls te mpls rsvp-te mpls rsvp-te hello interface Vlanif50 ip address 10.5.1.2 255.255.255.0 mpls mpls te mpls rsvp-te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 430: Example For Advertising Mpls Lsr Ids To Multiple Ospf Areas

    GigabitEthernet1/0/0 VLANIF 10 10.0.0.1/24 LSRB GigabitEthernet1/0/0 VLANIF 10 10.0.0.2/24 LSRB GigabitEthernet2/0/0 VLANIF 20 20.0.0.1/24 LSRC GigabitEthernet2/0/0 VLANIF 20 20.0.0.2/24 Configuration Roadmap The configuration roadmap is as follows: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 431 The configurations of LSRB and LSRC are similar to the configuration of LSRA, and thus are not mentioned here. Step 4 Configure MPLS TE tunnels and IGP shortcut. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 432 2.2.2.2 is the tunnel interface. <LSRA> display ip routing-table 2.2.2.2 Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Table : Public Summary Count : 1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 433 0.0.0.0 network 10.0.0.0 0.0.0.255 network 1.1.1.1 0.0.0.0 mpls-te enable return Configuration file of LSRB sysname LSRB vlan batch 10 20 mpls lsr-id 2.2.2.2 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 434 GigabitEthernet 2/0/0 port hybrid pvid vlan 20 port hybrid untagged vlan 20 interface LoopBack0 ip address 3.3.3.3 255.255.255.255 interface Tunnel2/0/0 ip address unnumbered interface LoopBack0 tunnel-protocol mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 435: Example For Configuring Inter-Area Tunnel

    IP address LSRA GigabitEthernet1/0/0 VLANIF 10 10.1.1.1/24 LSRB GigabitEthernet1/0/0 VLANIF 10 10.1.1.2/24 LSRB GigabitEthernet2/0/0 VLANIF 20 20.1.1.1/24 LSRC GigabitEthernet1/0/0 VLANIF 30 30.1.1.1/24 LSRC GigabitEthernet2/0/0 VLANIF 20 20.1.1.2/24 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 436 The detailed configuration is not mentioned here. Step 3 Configure the IS-IS protocol to advertise routes. # Configure LSR A. [LSRA] isis 1 [LSRA-isis-1] network-entity 00.0005.0000.0000.0001.00 [LSRA-isis-1] is-level level-1 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 437 [LSRE-isis-1] network-entity 00.0007.0000.0000.0005.00 [LSRE-isis-1] is-level level-1 [LSRE-isis-1] quit [LSRE] interface vlanif 40 [LSRE-Vlanif40] isis enable 1 [LSRE-Vlanif40] quit [LSRE] interface loopback 1 [LSRE-LoopBack1] isis enable 1 [LSRE-LoopBack1] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 438 [LSRB-Vlanif20] mpls [LSRB-Vlanif20] mpls te [LSRB-Vlanif20] mpls rsvp-te [LSRB-Vlanif20] quit # Configure LSR C. [LSRC] mpls lsr-id 3.3.3.3 [LSRC] mpls [LSRC-mpls] mpls te [LSRC-mpls] mpls rsvp-te [LSRC-mpls] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 439 # Configure LSR C. [LSRC] isis 1 [LSRC-isis-1] cost-style wide [LSRC-isis-1] traffic-eng level-2 [LSRC-isis-1] quit # Configure LSR D. [LSRD] isis 1 [LSRD-isis-1] cost-style wide [LSRD-isis-1] traffic-eng level-1-2 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 440 Tunnel1/0/0 current state : UP Line protocol current state : UP Last up time: 2009/01/10 10:36:20 Description : HUAWEI, Quidway Series, Tunnel1/0/0 Interface, Route Port Route Port,The Maximum Transmit Unit is 1500 bytes Internet Address is unnumbered, using address of LoopBack1(1.1.1.9/32) Encapsulation is TUNNEL, loopback not set Tunnel destination 5.5.5.5...
  • Page 441 40.1.1.2 include loose isis 1 is-level level-1 cost-style wide network-entity 00.0005.0000.0000.0001.00 traffic-eng level-1 interface Vlanif10 ip address 10.1.1.1 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 442 20 port hybrid untagged vlan 20 interface LoopBack1 ip address 2.2.2.2 255.255.255.255 isis enable 1 return Configuration file of LSR C sysname LSRC vlan batch 30 20 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 443 Vlanif30 ip address 30.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te interface Vlanif40 ip address 40.1.1.1 255.255.255.0 isis enable 1 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 444 GigabitEthernet 1/0/0 port hybrid pvid vlan 40 port hybrid untagged vlan 40 interface LoopBack1 ip address 5.5.5.5 255.255.255.255 isis enable 1 return Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 445: Mpls Oam Configuration

    You can use debugging commands and display commands to debug and monitor MPLS OAM and the tunnel protection group. 4.6 Configuration Examples This section provides several configuration examples of MPLS OAM. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 446: Introduction To Mpls Oam

    The egress judges the arriving packets by comparing the related fields such as the packet type, the frequency, and the TTSI contained in the packets with those recorded values in Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 447: Protection Switching

    When the working tunnel fails, the data flow is swiftly switched to the protection tunnel; thus improving the network reliability. The protection switching differs from the CR-LSP backup as follows: Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 448 : Traffic of working tunnel-1 : Traffic of working tunnel-2 When one of the primary tunnels fails, its traffic is switched to the shared protection tunnel, as shown in Figure 4-3. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 449: Configuring Basic Mpls Oam Functions

    For creating the LSP bound to a TE tunnel, refer to the chapter "MPLS TE Configuration." Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 450: Configuring Mpls Oam On The Ingress

    When configuring OAM on the ingress of an LSP, you can configure a backward tunnel as required. Context Do as follows on the ingress of the tunnel: Procedure Step 1 Run: system-view The system view is displayed. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 451: Configuring Mpls Oam On The Egress

    When configuring OAM on the egress of an LSP, you need to enable or disable the OAM auto protocol. By default, the OAM auto protocol is enabled. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 452 By default, the backward tunnel is in the shared mode. When the backward tunnel is a static LSP or a CR-LSP, it is in the private mode. By default, the frequency for sending BDI packet through the backward tunnel is detect-freq. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 453: Checking The Configuration

    When a protection tunnel protects one working tunnel, it indicates that tunnel protection in 1:1 mode is adopted. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 454: Establishing The Configuration Task

    Order of Priority Description Clear Highest An externally initiated command which clears all other externally initiated commands, including Forced Switch and Manual Switch, but not including Signal Fail. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 455 Tunnel ID of the protection tunnel in the protection group The parameter of the protection group, such as the hold off time, revertive mode, and the Wait to Restore (WTR) time Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 456: Configuring The Protection Group

    30 minutes; the default value is 12 minutes. The parameter wtr-time indicates the number of the steps. NOTE Multiplying 30 seconds by wtr-time, you can get the value of WTR timer. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 457: Optional) Configuring The Protection Switching Trigger Mechanism

    To conduct a switch action from the working tunnel to the protection tunnel manually, run: mpls te protect-switch manual work-lsp l To cancel the configuration of the protection switching trigger mechanism, run: mpls te protect-switch clear Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 458: Checking The Configuration

    Run display mpls oam ingress { all | tunnel tunnel-number } [ verbose ] command to check information about the MPLS OAM parameters and status of the LSP on the ingress node. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 459: Monitoring The Running Of Protection Group

    Procedure Run debugging mpls te protect-switch { all | error | inter | process | timer } command to enable the debugging of the OAM function. ----End Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 460: Debugging Mpls Oam

    It is required that MPLS OAM be used to detect the connectivity of the static LSP. Egress node LSRC can notify the defect to the ingress node LSRA when a connectivity defect occurs. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 461 Data Preparation To complete the configuration, you need the following data: IP address of the interface on each node, name of each tunnel interface, and tunnel ID Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 462 The configurations on LSRB, LSRC, and LSRD are similar to the configuration on LSRA, and are not mentioned here. # On LSRA, configure a static LSP (MPLS TE tunnel) destined for LSRC. <LSRA> system-view [LSRA] interface tunnel 2/0/0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 463 # Configure LSRC as the ingress node of the static CR-LSP. [LSRC] static-cr-lsp ingress tunnel-interface tunnel1/0/0 destination 1.1.1.1 nexthop 10.1.4.1 out-label 70 # Configure LSRD as the transit node of the static CR-LSP. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 464 LSRA and on egress node LSRC. You can view that the ingress and egress nodes are in normal detection state and no defects occur. <LSRA> display mpls oam ingress all verbose ------------------------------------------------------------------------- Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 465 <LSRC> display mpls oam egress all verbose ------------------------------------------------------------------------- Verbose information about the NO.1 oam at the egress ------------------------------------------------------------------------- lsp basic information: oam basic information: ---------------------------------- ------------------------------------ Lsp name : oamlsp Oam-Index : 256 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 466 LoopBack1 tunnel-protocol mpls te destination 3.3.3.3 mpls te signal-protocol static mpls te tunnel-id 200 mpls te commit ospf 1 area 0.0.0.0 network 1.1.1.1 0.0.0.0 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 467 Configuration file of LSRC sysname LSRC vlan batch 30 40 mpls lsr-id 3.3.3.3 mpls mpls te mpls oam interface Vlanif30 ip address 10.1.3.2 255.255.255.0 mpls mpls te Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 468 GigabitEthernet1/0/0 port link-type access port default vlan 10 interface GigabitEthernet2/0/0 port link-type access port default vlan 40 interface LoopBack1 ip address 4.4.4.4 255.255.255.255 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 469: Example For Configuring Mpls Oam Protection Switching

    Tunnel 1/0/10 and Tunnel 1/0/11. When one of the working tunnels fails, the traffic on the faulty working tunnel is switched to the protection tunnel. NOTE P to PE devices are the S9300s. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 470 VLANIF 20 10.1.2.2/24 GE 3/0/0 VLANIF 30 10.1.3.2/24 GE 4/0/0 VLANIF 70 10.1.7.2/24 GE 1/0/0 VLANIF 10 10.1.1.2/24 GE 2/0/0 VLANIF 50 10.1.5.2/24 GE 1/0/0 VLANIF 40 10.1.4.2/24 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 471 After the configuration, LSRs can ping each other. Run the display ip routing-table command on each LSR, and you can view the routing entries to the LSRs. Step 2 Enable MPLS and MPLS TE globally and on the physical interfaces. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 472 [PE2-Tunnel1/0/12] description Protection tunnel to PE1 [PE2-Tunnel1/0/12] ip address unnumbered interface loopback 1 [PE2-Tunnel1/0/12] tunnel-protocol mpls te [PE2-Tunnel1/0/12] destination 1.1.1.1 [PE2-Tunnel1/0/12] mpls te signal-protocol cr-static [PE2-Tunnel1/0/12] mpls te tunnel-id 102 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 473 [PE1-ospf-1-area-0.0.0.0] quit [PE1-ospf-1] quit # Configure P1. [P1] mpls [P1-mpls] mpls rsvp-te [P1-mpls] mpls te cspf [P1-mpls] quit [P1] interface vlanif 30 [P1-Vlanif30] mpls rsvp-te [P1-Vlanif30] quit Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 474 [P1] static-cr-lsp transit PE2toPE1-1 incoming-interface vlanif30 in-label 21 nexthop 10.1.3.1 out-label 20 # Configure P2. <P2> system-view [P2] static-cr-lsp transit PE2toPE1-3 incoming-interface vlanif 50 in-label 31 nexthop 10.1.1.1 out-label 30 # Configure PE1. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 475 Lsp ingress lsr-id : -- Defect-state : Non-defect Lsp tnl-id/lsp id : --/-- Available-state : Available Lsp-inLabel : -- Unavailable time (s): 0 Lsp signal status : -- -------------------------------------------------------------------------------- Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 476 # After this step, run the display mpls te protection tunnel all commands on PE devices, and you can view that all tunnels are in Non-defect state and the working tunnels forward traffic. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 477 /101 non-defect /102 work-tunnel # Run the shutdown command on VLANIF 40 of PE1 to simulate defects on a physical link of the protection tunnel. Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 478 Vlanif40 ip address 10.1.4.1 255.255.255.0 mpls mpls te interface GigabitEthernet1/0/0 port link-type access port default vlan 10 interface GigabitEthernet2/0/0 port link-type access Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 479 Tunnel1/0/11 mpls oam ingress Tunnel1/0/12 mpls oam ingress enable all mpls oam egress lsp-name PE2toPE1-1 mpls oam egress lsp-name PE2toPE1-2 mpls oam egress lsp-name PE2toPE1-3 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 480 Vlanif20 ip address 10.1.2.2 255.255.255.0 mpls mpls te interface Vlanif30 ip address 10.1.3.2 255.255.255.0 mpls mpls te mpls rsvp-te interface Vlanif70 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 481 4.4.4.4 mpls mpls te interface Vlanif40 ip address 10.1.4.2 255.255.255.0 mpls mpls te interface Vlanif60 ip address 10.1.6.2 255.255.255.0 mpls mpls te interface GigabitEthernet1/0/0 port link-type access Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 482 GigabitEthernet2/0/0 port link-type access port default vlan 70 interface GigabitEthernet3/0/0 port link-type access port default vlan 80 interface GigabitEthernet4/0/0 port link-type access port default vlan 60 Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 483 1.1.1.1 tunnel-id 101 mpls oam egress lsp-name PE1toPE2-2 mpls oam egress lsp-name PE1toPE2-3 mpls oam egress enable all return Issue 04 (2011-12-26) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.

Table of Contents