Configuration Roadmap
The configuration roadmap is as follows:
1. Configure a local LDP session.
2. (Optional) Modify a policy for triggering LDP LSP establishment on each LSR.
Data Preparation
To complete the configuration, you need the following data:
l IP addresses of the interfaces on each LSR, as listed in "Data Preparation" of Figure 2-8,
OSPF process IDs, and OSPF area IDs
l (Optional) Policy for triggering LDP LSP establishment on each LSR
Procedure
Step 1 Configure LDP LSPs.
After completing the procedure described in 2.13.1 Example for Configuring Local LDP
Sessions on each LSR, LSPs use all hosts routes to establish LDP LSPs based on the default
policy for triggering LDP LSP establishment.
Run the display mpls ldp lsp command on each LSR. The command output shows that LDP
LSPs are established using all host routes.
In the following example, the display on LSRA is used.
[LSRA] display mpls ldp lsp
LDP LSP Information
-------------------------------------------------------------------------------
DestAddress/Mask In/OutLabel UpstreamPeer NextHop OutInterface
-------------------------------------------------------------------------------
1.1.1.9/32 3/NULL 2.2.2.9 127.0.0.1 InLoop0
*1.1.1.9/32 Liberal
2.2.2.9/32 NULL/3 - 10.1.1.2 GE1/0/0
2.2.2.9/32 1024/3 2.2.2.9 10.1.1.2 GE1/0/0
3.3.3.9/32 NULL/1025 - 10.1.1.2 GE1/0/0
3.3.3.9/32 1025/1025 2.2.2.9 10.1.1.2 GE1/0/0
-------------------------------------------------------------------------------
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
A '*' before a Label means the USCB or DSCB is stale
A '*' before a UpstreamPeer means the session is in GR state
A '*' before a NextHop means the LSP is FRR LSP
NOTE
Usually, the default policy is used. Host routes are used to trigger LDP LSP establishment. In addition to
the default policy, a policy for triggering LDP LSP establishment can be configured manually. Perform
the following steps to configure a policy on each LSR.
Step 2 (Optional) Modify a policy for triggering LDP LSP establishment.
Modify the default policy and allow LDP to use all routes including all static and IGP routes in
the routing table to establish LDP LSPs on each LSR.
# Configure LSRA.
[LSRA] mpls
[LSRA-mpls] lsp-trigger all
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 2 MPLS LDP Configuration
Issue 01 (2011-12-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
81