Huawei AR1200 Series Configuration Manual page 152

Hide thumbs Also See for AR1200 Series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
l
l
l
Procedure
Step 1 Configure an IP address for each interface and configure OSPF on all LSRs.
Configure the IP address and mask of each interface as shown in
interfaces.
Configure OSPF on all LSRs and advertise the host route of the loopback interface on each LSR.
The detailed configuration is omitted here.
After the configuration is complete, the LSRs can ping each other's LSR ID (loopback interface
address). Run the display ip routing-table command to view the routing table on each LSR.
<PE1> 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
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet2/0/0
GigabitEthernet2/0/0
GigabitEthernet2/0/0
GigabitEthernet2/0/0
GigabitEthernet1/0/0
Step 2 Set up an LDP LSP along the path PE1 → P1 → PE2.
# Configure PE1.
<PE1> system-view
[PE1] mpls lsr-id 1.1.1.1
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
[PE1]interface gigabitethernet 1/0/0
[PE1-GigabitEthernet1/0/0] mpls
Issue 01 (2012-04-20)
IP address of each interface
OSPF process number
BFD configuration name, local discriminator, remote discriminator
Destinations : 14
Proto
1.1.1.1/32
Direct 0
2.2.2.2/32
OSPF
3.3.3.3/32
OSPF
4.4.4.4/32
OSPF
OSPF
10.1.1.0/24
Direct 0
10.1.1.1/32
Direct 0
10.1.1.2/32
Direct 0
10.1.2.0/24
Direct 0
10.1.2.1/32
Direct 0
10.1.2.2/32
Direct 0
10.1.4.0/24
OSPF
10.1.5.0/24
OSPF
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 15
Pre
Cost
Flags NextHop
0
D
127.0.0.1
10
2
D
10.1.1.2
10
2
D
10.1.2.2
10
3
D
10.1.2.2
10
3
D
10.1.1.2
0
D
10.1.1.1
0
D
127.0.0.1
0
D
10.1.1.2
0
D
10.1.2.1
0
D
127.0.0.1
0
D
10.1.2.2
10
2
D
10.1.2.2
10
2
D
10.1.1.2
0
D
127.0.0.1
0
D
127.0.0.1
2 MPLS LDP Configuration
Figure
2-14, including loopback
Interface
LoopBack1
InLoopBack0
InLoopBack0
141

Advertisement

Table of Contents
loading

Table of Contents