#
mpls ldp
#
interface GigabitEthernet1/0/0
ip address 192.168.3.2 255.255.255.0
mpls
mpls ldp
#
interface LoopBack1
ip address 4.4.4.4 255.255.255.255
#
ospf 1
area 0.0.0.0
network 192.168.3.0 0.0.0.255
network 4.4.4.4 0.0.0.0
#
return
2.13.8 Example for Configuring LDP Extension for Inter-Area LSP
This section provides an example for configuring LDP extension for inter-area LSP. The
procedure consists of enabling global MPLS and MPLS LDP and configuring the policy for
aggregating routes.
Networking Requirements
As shown in Figure 2-13, there are two IGP areas, Area 10 and Area 20. Inter-area LSPs need
to be set up from LSRA to LSRB and from LSRA to LSRC. An inter-area LSP needs to be set
up on LSRA so that LSRA can search for routes based on the longest match rule to establish
LSPs.
Figure 2-13 Networking diagram of configuring LDP Extension for Inter-Area LSP
Eth1/0/0
10.1.1.1/24
IS-IS
Area10
IS-IS
Area20
LSRA
LSRB
LSRC
LSRD
Eth1/0/0
20.1.1.1/24
Eth1/0/1
10.1.1.2/24
Eth2/0/0
20.1.2.1/24
Eth1/0/0
20.1.1.2/24
Eth1/0/0
20.1.2.2/24
Loopback0
1.1.0.1/32
Loopback0
1.3.0.1/32
Loopback0
1.3.0.2/32
Loopback0
1.2.0.1/32
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.
105