0.0.0.0/0 Static 60 0 RD 10.1.1.2
GigabitEthernet1/0/0
Only a default route exists and no exact route to 4.4.4.4 exists in the routing table.
# Run the display mpls ldp lsp command on LSRA to view information about the established
LSPs.
<LSRA> display mpls ldp lsp
LDP LSP Information
-------------------------------------------------------------------------------
DestAddress/Mask In/OutLabel UpstreamPeer NextHop OutInterface
-------------------------------------------------------------------------------
4.4.4.4/32 NULL/1026 - 10.1.1.2
GigabitEthernet1/0/0
-------------------------------------------------------------------------------
TOTAL: 1 Normal LSP(s) Found.
TOTAL: 0 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
An LSP destined for 4.4.4.4 is set up. LSRA automatically requests LSRB for a label mapping
message associated with the destination 4.4.4.4 and LSP can be set up.
# Run the display tunnel-info all command on LSRA to view information about the established
LSPs.
<LSRA> display tunnel-info all
* -> Allocated VC Token
Tunnel ID Type Destination Token
----------------------------------------------------------------------
0x1000 lsp 4.4.4.4 0
You can see that the LSP from LSRA to LSRD is set up.
----End
Configuration Files
l Configuration file of LSRA
#
sysname LSRA
#
mpls lsr-id 1.1.1.1
mpls
#
mpls ldp
longest-match
#
mpls ldp remote-peer lsrd
remote-ip 4.4.4.4
undo remote-ip pwe3
remote-ip auto-dod-request
#
interface GigabitEthernet1/0/0
ip address 10.1.1.1 255.255.255.0
mpls
mpls ldp
mpls ldp advertisement dod
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
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.
88