Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
GigabitEthernet1/0/0
GigabitEthernet1/0/0
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
Destination/Mask
GigabitEthernet1/0/0
GigabitEthernet2/0/0
GigabitEthernet2/0/0
GigabitEthernet1/0/0
GigabitEthernet2/0/0
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
Issue 01 (2011-12-30)
0.0.0.0/0
Static 60
1.1.1.1/32
Direct 0
10.1.1.0/24
Direct 0
10.1.1.1/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Destinations : 12
Proto
1.1.1.1/24
Static
2.2.2.2/32
Direct
3.3.3.3/32
ISIS-L1
4.4.4.4/32
ISIS-L1
10.1.1.0/24
Direct
10.1.1.2/32
Direct
10.1.2.0/24
Direct
10.1.2.1/32
Direct
127.0.0.0/8
Direct
127.0.0.1/32
Direct
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
0
RD
10.1.1.2
0
D
127.0.0.1
0
D
10.1.1.1
0
D
127.0.0.1
0
D
127.0.0.1
0
D
127.0.0.1
Routes : 12
Pre
Cost
Flags NextHop
60
0
RD
0
0
D
15
10
D
15
74
D
0
0
D
0
0
D
0
0
D
0
0
D
0
0
D
0
0
D
2 MPLS LDP Configuration
InLoopBack0
InLoopBack0
InLoopBack0
InLoopBack0
Interface
10.1.1.1
127.0.0.1
InLoopBack0
10.1.2.2
10.1.2.2
10.1.1.2
127.0.0.1
InLoopBack0
10.1.2.1
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
86