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
#
return
2.13.3 Example for Using LDP to Establish LSPs
This example describes how to use LDP to establish LSPs. The configuration procedure includes
operations of configuring a local LDP session and configuring a policy for triggering LDP LSP
establishment on each LSR.
Networking Requirements
LSRA, LSRB, and LSRC are core devices on an MPLS network shown in Figure 2-7. Adjacent
LSRs establish local LDP sessions between each other to establish LDP LSPs and swap labels
so that MPLS services can be transmitted. On the network shown in Figure 2-8, LDP is used to
establish an LSP between LSRA and LSRC.
Figure 2-7 LDP LSP networking I
CE
CE
CE
Service provider's
backbone
CE
VPN 1
Site
Site
Site
Site
VPN 1
VPN 2
PE
PE
PE
P
LSRA LSRB
VPN 2
P
LSRC
P
Figure 2-8 LDP LSP networking II
L S R B
G E1/0 /0
10.1 .1.1 /30
G E1/0 /0
10.1 .1.2 /3 0
L S R A L S R C
G E2/0 /0
10.2 .1.1 /30
G E1/0 /0
10.2 .1.2 /3 0
Loopback1
1.1 .1.9 /3 2
Loopback1
2.2 .2.9 /3 2
Loopback1
3.3 .3.9 /3 2
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.
80