Huawei AR1200 Series Configuration Manual - Mpls page 126

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
Step 2 Configure static routes on devices to ensure network connectivity.
# On LSRA, configure two static routes with different priorities to LSRD, and on LSRD,
configure two static routes with different priorities to LSRA.
# Configure LSRA.
[LSRA] ip route-static 2.2.2.2 32 gigabitethernet 1/0/0
[LSRA] ip route-static 3.3.3.3 32 gigabitethernet 2/0/0
[LSRA] ip route-static 30.1.1.1 30 gigabitethernet 1/0/0
[LSRA] ip route-static 40.1.1.1 30 gigabitethernet 2/0/0
[LSRA] ip route-static 4.4.4.4 32 gigabitethernet 1/0/0 preference 40
[LSRA] ip route-static 4.4.4.4 32 gigabitethernet 2/0/0 preference 60
# Configure LSRB.
[LSRB] ip route-static 1.1.1.1 32 gigabitethernet 1/0/0
[LSRB] ip route-static 4.4.4.4 32 gigabitethernet 2/0/0
# Configure LSRC.
[LSRC] ip route-static 1.1.1.1 32 gigabitethernet 1/0/0
[LSRC] ip route-static 4.4.4.4 32 gigabitethernet 2/0/0
# Configure LSRD.
[LSRD] ip route-static 2.2.2.2 32 gigabitethernet 1/0/0
[LSRD] ip route-static 3.3.3.3 32 gigabitethernet 2/0/0
[LSRD] ip route-static 10.1.1.2 30 gigabitethernet 1/0/0
[LSRD] ip route-static 20.1.1.2 30 gigabitethernet 2/0/0
[LSRD] ip route-static 1.1.1.1 32 gigabitethernet 1/0/0 preference 40
[LSRD] ip route-static 1.1.1.1 32 gigabitethernet 2/0/0 preference 60
# After the preceding configurations, run the display ip routing-table protocol static command
on each LSR. The command output shows the configured static routes. In the following example,
the display on LSRA is used.
[LSRA] display ip routing-table protocol static
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : Static
Static routing table status : <Active>
Destination/Mask
GigabitEthernet1/0/0
GigabitEthernet2/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet2/0/0
Static routing table status : <Inactive>
Destination/Mask
Step 3 Enable MPLS LDP and establish LDP LSPs on LSRs.
# Configure LSRA.
Issue 01 (2011-12-30)
Destinations : 5
Destinations : 5
Proto
2.2.2.2/32
Static
3.3.3.3/32
Static
4.4.4.4/32
Static
30.1.1.0/30
Static
40.1.1.0/30
Static
Destinations : 1
Proto
4.4.4.4/32
Static
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 6
Routes : 5
Pre
Cost
Flags NextHop
60
0
D
60
0
D
40
0
D
60
0
D
60
0
D
Routes : 1
Pre
Cost
Flags NextHop
60
0
20.1.1.1
2 MPLS LDP Configuration
Configured Routes : 6
Interface
10.1.1.1
20.1.1.1
10.1.1.1
10.1.1.1
20.1.1.1
Interface
GigabitEthernet2/0/0
119

Advertisement

Table of Contents
loading

Table of Contents