[LSRA-mpls] quit
# Configure LSRB.
[LSRB] mpls
[LSRB-mpls] lsp-trigger all
[LSRB-mpls] quit
# Configure LSRC.
[LSRC] mpls
[LSRC-mpls] lsp-trigger all
[LSRC-mpls] quit
Step 3 Verify the configuration.
After completing the preceding configurations, run the display mpls ldp lsp command to view
the established LDP LSPs.
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
10.1.1.0/30 3/NULL 2.2.2.9 10.1.1.1 GE1/0/0
*10.1.1.0/30 Liberal
10.1.2.0/30 NULL/3 - 10.1.1.2 GE1/0/0
10.1.2.0/30 1026/3 2.2.2.9 10.1.1.2 GE1/0/0
-------------------------------------------------------------------------------
TOTAL: 8 Normal LSP(s) Found.
TOTAL: 2 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
----End
Configuration Files
l Configuration file of LSRA
#
sysname LSRA
#
mpls lsr-id 1.1.1.9
mpls
lsp-trigger all
#
mpls ldp
#
interface GigabitEthernet1/0/0
ip address 10.1.1.1 255.255.255.252
mpls
mpls ldp
#
interface LoopBack1
ip address 1.1.1.9 255.255.255.255
#
ospf 1
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.
82