0.0.0.0/0 Static 60 0 RD 10.1.1.2
GigabitEthernet1/0/0
1.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.1.1.0/24 Direct 0 0 D 10.1.1.1
GigabitEthernet1/0/0
10.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
The configured default route exists on LSRA.
# Run the display ip routing-table command on LSRB to view routing information.
[LSRB] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 12 Routes : 12
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.1/24 Static 60 0 RD 10.1.1.1
GigabitEthernet1/0/0
2.2.2.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0
3.3.3.3/32 ISIS-L1 15 10 D 10.1.2.2
GigabitEthernet2/0/0
4.4.4.4/32 ISIS-L1 15 74 D 10.1.2.2
GigabitEthernet2/0/0
10.1.1.0/24 Direct 0 0 D 10.1.1.2
GigabitEthernet1/0/0
10.1.1.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.1.2.0/24 Direct 0 0 D 10.1.2.1
GigabitEthernet2/0/0
10.1.2.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
You can view that the configured default route to LSRA exists on LSRB.
Step 3 Enable global and interface-based MPLS and MPLS LDP on each node.
# Configure LSRA.
<LSRA> system-view
[LSRA] mpls lsr-id 1.1.1.1
[LSRA] mpls
[LSRA-mpls] quit
[LSRA] mpls ldp
[LSRA-mpls-ldp] quit
[LSRA] interface gigabitethernet 1/0/0
[LSRA-GigabitEthernet1/0/0] mpls
[LSRA-GigabitEthernet1/0/0] mpls ldp
[LSRA-GigabitEthernet1/0/0] quit
The configurations for LSRB, LSRC, and LSRD are the same as the those for LSRA, and the
configuration details are not provided here.
Step 4 Configure the DoD label distribution mode.
# Configure LSRA.
<LSRA> system-view
[LSRA] interface gigabitethernet 1/0/0
[LSRA-GigabitEthernet1/0/0] mpls ldp advertisement dod
[LSRA-GigabitEthernet1/0/0] quit
# Configure LSRB.
<LSRB> system-view
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.
86