Page 1
Huawei AR2200 Series Enterprise Routers V200R001C01 Configuration Guide - MPLS Issue Date 2012-01-06 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.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS About This Document About This Document Intended Audience This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the static LSPs configuration, and MPLS LDP configuration supported by the AR2200 device.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS About This Document Command Conventions The command conventions that may be found in this document are defined as follows. Convention Description Boldface The keywords of a command line are in boldface.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS Contents Contents About This Document........................ii 1 Static LSPs Configuration......................1 1.1 Introduction to Static LSPs..........................2 1.1.1 Overview of Static LSPs..........................2 1.1.2 Static LSPs Features Supported by the AR2200..................2 1.2 Configuring Static LSPs.............................2 1.2.1 Establishing the Configuration Task......................2...
Page 6
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS Contents 2.2.10 Checking the Configuration........................31 2.3 Configuring LDP LSP............................34 2.3.1 Establishing the Configuration Task.......................34 2.3.2 Configuring LDP LSP..........................35 2.3.3 (Optional) Configuring Label Advertisement Modes................35 2.3.4 (Optional) Configuring LDP to Automatically Trigger the Request in DoD Mode........36 2.3.5 (Optional) Configuring LDP MTU Signaling..................37...
Page 7
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS Contents 2.10.1 Example for Configuring Local LDP Sessions..................60 2.10.2 Example for Configuring Remote MPLS LDP Sessions...............63 2.10.3 Example for Configuring LSPs by Using LDP..................67 2.10.4 Example for Configuring LDP to Automatically Trigger a Request in DoD Mode......70 2.10.5 Example for Configuring an Inbound LDP Policy................76...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Static LSPs Configuration About This Chapter You can set up a static LSP by manually allocating labels to LSRs. The static LSP applies stable, small-scale networks. 1.1 Introduction to Static LSPs Labels can be allocated to LSRs in manual mode to set up a static LSP.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration 1.1 Introduction to Static LSPs Labels can be allocated to LSRs in manual mode to set up a static LSP. 1.1.1 Overview of Static LSPs The static LSP cannot be set up using a label distribution protocol but can be set up by an administrator.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration For information about the MPLS L2VPN configuration, refer to the Huawei AR2200 Series Enterprise Routers Configuration Guide - VPN. Pre-configuration Tasks Before configuring static LSPs, complete the following task:...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration lsr-id: A number in dotted decimal notation that identifies an LSR. ----End 1.2.3 Enabling MPLS MPLS features can be configured only after MPLS is enabled. Context Perform the following steps on each LSR in an MPLS domain:...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Prerequisite The configurations of the static LSP function are complete. Procedure Run the display mpls static-lsp [ lsp-name ] [ { include | exclude } ip-address mask- length ] [ verbose ] command to check the static LSP.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Run: tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | - t time-out ] ip destination-address mask-length [ ip-address ] [ nexthop nexthop-address | draft6 ] MPLS tracert is performed.
Page 15
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration Figure 1-1 Networking diagram of configuring static LSPs L o o p b a ck1 2 .2 .2 .9 /3 2 L o o p b a ck1...
Page 16
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration According to Figure 1-1, configure the IP address and the mask of the interfaces, including the loopback interface. The configuration details are not provided here. Step 2 Use OSPF to advertise the network segments to which the interfaces are connected and the LSR ID host route.
Page 17
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 1 Static LSPs Configuration 10.4.1.0/30 OSPF 10.3.1.2 GigabitEthernet2/0/0 127.0.0.0/8 Direct 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 127.0.0.1 InLoopBack0 The next hop or outgoing interface of the static LSP on 4.4.4.9/32 from LSRA to LSRD is determined by the routing table.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration MPLS LDP Configuration About This Chapter MPLS LDP defines the messages used during label distribution and the processing of the messages that are used to negotiate parameters between LSRs and allocate labels to set up an LSP.
Page 23
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.9 Maintaining MPLS LDP The operations of MPLS LDP maintenance include deleting MPLS statistics, detecting connectivity and reachability of an LSP, and configuring the trap function on an LDP LSP.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.1 Introduction to MPLS LDP MPLS LDP, a label distribution protocol, is used to provide VPN services. MPLS LDP simplifies the networking and configurations, supports the establishment of LSPs using routes, and is able to establish a great number of LSPs.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration LDP-IGP Synchronization On a network consisting of active and standby links, if an active link fails, traffic is switched from the active link to the standby link and the traffic interruption takes about hundreds of milliseconds.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.2.1 Establishing the Configuration Task Before configuring an MPLS LDP session, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. Applicable Environment LDP sessions are classified into local LDP sessions and remote LDP sessions.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Data LSR ID of each node 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...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.2.3 Enabling MPLS MPLS features can be configured only after MPLS is enabled. Context Perform the following steps on each LSR in an MPLS domain: Procedure Step 1 Run: system-view The system view is displayed.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 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 instance is configured.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The LDP dynamic capability announcement function is enabled. By default, the LDP dynamic capability announcement function is not enabled. NOTE The LDP dynamic capability announcement function takes effect only on the LDP features that support this function.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Run: system-view The system view is displayed. Run: mpls ldp remote-peer remote-peer-name The remote peer is created and the remote peer view is displayed. Run: remote-ip ip-address The IP address of the remote MPLS LDP peer is configured.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration configured with the same transport address. Otherwise, the LDP session is established only on one link. There are two methods of configuring LDP sessions on multiple links: l Use LSR IDs to set up LDP sessions for each link.
Page 33
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Run: system-view The system view is displayed. Run: interface interface-type interface-number The view of the interface on which the LDP session is set up is displayed. Run: mpls ldp timer hello-hold interval The link-Hello hold timer is configured.
Page 34
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The targeted-Hello hold timer is configured. By default, the value of the targeted-Hello hold timer is 45 seconds. The value of the target-Hello hold timer configured on the LSR may not be equal to the value of the timer that takes effect.
Page 35
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Perform the following steps on each LSR on both ends of a local LDP session: Run: system-view The system view is displayed. Run: interface interface-type interface-number The view of the interface on which the LDP session is to be set up is displayed.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The remote MPLS LDP peer view is displayed. Run: mpls ldp timer keepalive-send interval The Keepalive send timer for setting up a remote LDP session is configured.
Page 37
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration You can configure either LDP MD5 authentication or LDP keychain authentication based on their separate characteristics: The MD5 algorithm is easy to configure and generates a single password which can be changed only manually.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The system view is displayed. Run: mpls ldp The MPLS LDP view is displayed. Run: authentication key-chain peer peer-id name keychain-name LDP keychain is enabled and the keychain name is referenced.
Page 39
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration – Run display mpls ldp peer [ all ] [ verbose ] command to check information about all LDP peers. Run the display mpls ldp remote-peer [ remote-peer-name ] command to check information about the LDP remote peer.
Page 40
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Run the display mpls ldp session [ verbose ] command. You can see that the status of the LDP session is Operational. <Huawei> display mpls ldp session...
– Labeled BGP routes with 32-bit public network addresses trigger the setup of LSPs. For more information, refer to the chapter "BGP/MPLS IP VPN Configuration" in the Huawei AR2200 Series Enterprise Routers Configuration Guide - VPN. – Host routes trigger the setup of LSPs.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Ordered As defined in RFC 5036, the label retention mode of LDP is classified into two modes: Liberal Conservative The AR2200 recommends combination of DU mode + Ordered mode + Liberal mode.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Configure an LDP label advertisement mode for a local session. Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The MPLS LDP view is displayed. Step 3 Run: remote-peer auto-dod-request The function of triggering a request to a downstream node for a label mapping message associated with all remote LDP peers with a specified LSR ID in DoD mode.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration LDP policy can be configured to reduce the number of label mapping messages to be received, reducing the number of LSPs to be established and saving memory.
Page 46
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Context By default, an LSR sends label mapping messages to both upstream and downstream LDP peers, speeding up the convergence of LDP LSPs. This results in the establishment of a large number of LSPs, wasting resources.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration NOTE l The establishment of an LSP requires precisely matched routes on the LSR. If a loopback interface with a 32-bit mask is used, a precisely matched host route is required to trigger the establishment of LSPs.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration system-view The system view is displayed. Step 2 Run: mpls ldp The MPLS LDP view is displayed. Step 3 Run: propagate mapping for ip-prefix ip-prefix-name The policy for establishing transit LSPs is configured.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Data Preparation To configure LDP extension for inter-area LSP, you need the following data. Data IS-IS area ID of each node and level of each node and interface 2.4.2 Configuring LDP Extension for Inter-Area LSP...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.5.2 Enabling Synchronization Between LDP and IGP To enable LDP and IGP synchronization, configure the interfaces of both ends of the link between the crossing node of active and standby links and the LDP neighboring node.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure When OSPF runs as an IGP, perform the following steps on the interfaces of both ends of the link between the crossing node of active and standby links and the LDP neighboring...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: ospf timer ldp-sync hold-max-cost { value | infinite } The interval for advertising the maximum cost in the LSAs of local LSRs through OSPF is set.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Context Perform the following steps on the interfaces of both ends of the link between the crossing node of active and standby links and the LDP neighboring node on the active link:...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.6 Configuring Synchronization Between LDP and Static Routes By configuring synchronization between LDP and static routes, you can switch traffic from a faulty primary link to the backup link by suppressing the activation of static routes. You can also delay traffic switchback to synchronize LDP and static routes.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Figure 2-1 Networking diagram for configuring synchronization between LDP and static routes LSRB LSRD LSRE LSRA LSRC Primary link Bypass link Pre-configuration Tasks Before configuring synchronization between LDP and static routes, complete the following...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Context With synchronization between LDP and static routes, you can switch traffic from the faulty primary link to the backup link by suppressing the activation of static routes and delay traffic switchback to the primary link, ensuring that LDP is synchronous with static routes.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The outbound interface view of the primary link of the static route is displayed. Step 3 Run: static-route timer ldp-sync hold-down { timer | infinite } A Hold-down timer is set.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.7.1 Establishing the Configuration Task Before configuring LDP GTSM, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. Applicable Environment The Generalized TTL Security Mechanism (GTSM) prevents attacks by using the TTL detection.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Step 3 Run: gtsm peer ip-address valid-ttl-hops hops LDP GTSM is configured. If the value of hops is set to the maximum number of valid hops permitted by GTSM, when the TTL values carried in the packets sent by an LDP peer are within the range [255 - hops + 1, 255], the packets are received;...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration NOTE In practical applications, the system-level GR is usually configured in the hardware environment with dual main control boards. In this manner, the service can be forwarded when the main control board fails.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Return to the system view. Step 5 Run: mpls ldp The LDP function is enabled on the local node and the LDP view is displayed. Step 6 Run: graceful-restart The GR function is enabled.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration By default, the Neighbor-liveness timer is 600 seconds. ----End 2.8.4 Checking the Configuration After the configuration of LDP GR, you can view GR information about all protocols related to MPLS, LDP information, and LDP session information.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Run the reset mpls ldp command to reset configurations of the global LDP instance. Run the reset mpls ldp all command to reset configurations on all LDP instances.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration command in the system view to enable the trap function for the LDP LSP and enable the debugging of excessive mplsxcup or mplsxcdown information. ----End 2.10 Configuration Examples The following sections provide several examples for configuring MPLS LDP.
Page 68
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Step 1 Configure IP addresses of the interfaces. Configure IP addresses and masks for all the interfaces as shown in Figure 2-2, including the loopback interface. The configuration details are not provided here.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration interface GigabitEthernet1/0/0 ip address 10.1.1.2 255.255.255.252 mpls mpls ldp interface GigabitEthernet2/0/0 ip address 10.2.1.1 255.255.255.252 mpls mpls ldp interface LoopBack1 ip address 2.2.2.9 255.255.255.255 ospf 1 area 0.0.0.0 network 2.2.2.9 0.0.0.0...
Page 71
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Configuration Roadmap The configuration roadmap is as follows: Enable global MPLS capabilities and MPLS LDP capabilities on each LSR. Specify the name and IP address of the remote peer at LSRs on both ends of a remote LDP session.
Page 72
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRA-mpls-ldp-remote-lsrc] remote-ip 3.3.3.9 [LSRA-mpls-ldp-remote-lsrc] quit # Configure LSRC. [LSRC] mpls ldp remote-peer LSRA [LSRC-mpls-ldp-remote-lsra] remote-ip 1.1.1.9 [LSRC-mpls-ldp-remote-lsra] quit Step 4 Verify the configuration. After completing the configuration, run the display mpls ldp session command on the LSR.
Page 73
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration interface GigabitEthernet1/0/0 ip address 10.1.1.1 255.255.255.252 interface LoopBack1 ip address 1.1.1.9 255.255.255.255 ospf 1 area 0.0.0.0 network 1.1.1.9 0.0.0.0 network 10.1.1.0 0.0.0.3 return Configuration file of LSRB sysname LSRB mpls lsr-id 2.2.2.9...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.10.3 Example for Configuring LSPs by Using LDP This section provides an example for setting up an LSP through LDP, which consists of establishing a local LDP session and modifying the trigger policy of establishing LSPs on each LSR.
Page 75
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 3.3.3.9/32 NULL/1025 10.1.1.2 GE1/0/0 3.3.3.9/32 1025/1025 2.2.2.9 10.1.1.2 GE1/0/0 ------------------------------------------------------------------------------- TOTAL: 5 Normal LSP(s) Found. TOTAL: 1 Liberal LSP(s) Found. TOTAL: 0 Frr LSP(s) Found. A '*' before an LSP means the LSP is not established...
Page 76
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration A '*' before a UpstreamPeer means the session is in GR state A '*' before a NextHop means the LSP is FRR LSP ----End Configuration Files Configuration file of LSRA sysname LSRA mpls lsr-id 1.1.1.9...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration mpls lsp-trigger all mpls ldp interface GigabitEthernet1/0/0 ip address 10.2.1.2 255.255.255.252 mpls mpls ldp interface LoopBack1 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.3...
Page 78
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Enable global and interface-based MPLS and MPLS LDP on each node. Configure the DoD label distribution mode. Configure LDP extension for inter-area LSP. Configure a remote LDP session and enable the function of automatically triggering a request to a downstream node for a label mapping message associated with a remote LDP peer in DoD mode.
Page 79
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration <LSRC> system-view [LSRC] ip route-static 4.4.4.4 255.255.255.0 10.1.3.2 # Configure a default route with the next-hop address being 10.1.3.1 on LSRD. <LSRB> system-view [LSRB] ip route-static 0.0.0.0 0.0.0.0 10.1.3.1 # Run the display ip routing-table command on LSRA to view routing information.
Page 80
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRA-GigabitEthernet1/0/0] quit The configurations for LSRB, LSRC, and LSRD are the same as the those for LSRA, and the configuration details are not provided here. Step 4 Configure the DoD label distribution mode.
Page 81
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration [LSRD] mpls ldp remote-peer lsra [LSRD-mpls-ldp-remote-lsra] remote-ip 1.1.1.1 [LSRD-mpls-ldp-remote-lsra] remote-ip auto-dod-request [LSRD-mpls-ldp-remote-lsra] quit Step 7 Verify the configuration. # After completing the preceding configuration, run the display ip routing-table 4.4.4.4 command on LSRA to view routing information.
Page 86
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration The command output shows that LSPs to LSRA, LSRB, and LSRC have been established on LSRD. Step 3 Configure an inbound LDP policy. # Configure an IP prefix list on LSRD to permit the route to only LSRC to pass the inbound LDP policy.
Page 89
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Configuration Roadmap The configuration roadmap is as follows: Configure the IP address and loopback address of each interface. Configure OSPF to advertise the route to each network segment of each interface and to advertise the host route to each LSR ID.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.10.7 Example for Configuring Transit LSPs Through the Prefix List This section provides an example for configuring a transit LSP. The procedure consists of establishing a local LDP session and configuring an IP prefix list on the transit LSP to filter routes.
Page 94
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Step 1 Configure the IP address of the interfaces, and use OSPF to advertise routes of the network segments that the interfaces are connected to and the LSR ID host route.
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.10.9 Example for Configuring Synchronization Between LDP and This section provides an example for configuring LDP and IGP synchronization. The procedure consists of enabling MPLS and MPLS LDP on each device and each interface and configuring the interfaces of both ends of the link between the crossing node of active and standby links and the LDP neighboring node.
Page 106
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Data Preparation To complete the configuration, you need the following data: IP addresses of the interfaces, OSPF process number, and the area Values of the hold-down, hold-max-cost, and delay timers...
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration 2.10.10 Example for Configuring Synchronization Between LDP and Static Routes By configuring synchronization between LDP and static routes, you can minimize MPLS traffic loss during traffic switchover and switchback on an MPLS network with the primary link, backup link, and LSPs depending on static routes.
Page 112
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Configure static routes between LSRs to ensure network connectivity. Enable MPLS and MPLS LDP in the system view and interface view. Configure synchronization between LDP and static routes and verify the configuration.
Page 117
Huawei AR2200 Series Enterprise Routers Configuration Guide - MPLS 2 MPLS LDP Configuration Procedure Step 1 Configure an IP address for each interface. The configuration details are not provided here. Step 2 Configure OSPF to advertise the network segments connected to the interfaces of the LSRs and host routes of LSR IDs.