Huawei AR1200 Series Configuration Manual - Mpls page 16

Enterprise routers
Hide thumbs Also See for AR1200 Series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
l
Procedure
Step 1 Configure the IP address of each interface.
According to
loopback interface. The configuration details are not provided here.
Step 2 Use OSPF to advertise the network segments to which the interfaces are connected and the LSR
ID host route.
# Configure LSRA.
[LSRA] ospf 1
[LSRA-ospf-1] area 0
[LSRA-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0
[LSRA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.3
[LSRA-ospf-1-area-0.0.0.0] network 10.3.1.0 0.0.0.3
[LSRA-ospf-1-area-0.0.0.0] quit
[LSRA-ospf-1] quit
# Configure LSRB.
[LSRB] ospf 1
[LSRB-ospf-1] area 0
[LSRB-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[LSRB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.3
[LSRB-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.3
[LSRB-ospf-1-area-0.0.0.0] quit
[LSRB-ospf-1] quit
# Configure LSRC.
[LSRC] ospf 1
[LSRC-ospf-1] area 0
[LSRC-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0
[LSRC-ospf-1-area-0.0.0.0] network 10.3.1.0 0.0.0.3
[LSRC-ospf-1-area-0.0.0.0] network 10.4.1.0 0.0.0.3
[LSRC-ospf-1-area-0.0.0.0] quit
[LSRC-ospf-1] quit
# Configure LSRD.
[LSRD] ospf 1
[LSRD-ospf-1] area 0
[LSRD-ospf-1-area-0.0.0.0] network 4.4.4.9 0.0.0.0
[LSRD-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.3
[LSRD-ospf-1-area-0.0.0.0] network 10.4.1.0 0.0.0.3
[LSRD-ospf-1-area-0.0.0.0] quit
[LSRD-ospf-1] quit
After the configuration, run the display ip routing-table command on the LSRs, and you can
view that the LSRs already learn routes from each other.
Take the display on LSRA as an example.
[LSRA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
Issue 01 (2011-12-30)
Outgoing label of the interfaces
Figure
1-1, configure the IP address and the mask of the interfaces, including the
Destinations : 14
Proto
1.1.1.9/32
Direct 0
2.2.2.9/32
OSPF
3.3.3.9/32
OSPF
4.4.4.9/32
OSPF
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.3.1.2
10
3
D
10.1.1.2
1 Static LSPs Configuration
Interface
InLoopBack0
GigabitEthernet1/0/0
GigabitEthernet2/0/0
GigabitEthernet1/0/0
9

Advertisement

Table of Contents
loading

Table of Contents