Huawei AR1200 Series Configuration Manual - Mpls page 128

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
l If the LDP session of the primary link (Link A) is disconnected, traffic is immediately
l After the primary link recovers, the static route with the next-hop address being 10.1.1.1 is
----End
Configuration Files
l
l
Issue 01 (2011-12-30)
switched to the backup link (Link B) to synchronize LDP and static routes. This ensures non-
stop traffic forwarding.
not preferred immediately. Instead, the static route becomes active only after the LDP session
of the primary link has been established and the Hold-down timer expires (the timeout period
of the timer is 20 seconds). This synchronizes static routes and LDP, ensuring non-stop MPLS
traffic forwarding.
Configuration file of LSRA
#
sysname LSRA
#
mpls lsr-id 1.1.1.1
mpls
#
mpls ldp
#
interface GigabitEthernet1/0/0
ip address 10.1.1.1 255.255.255.252
static-route timer ldp-sync hold-down 20
mpls
mpls ldp
#
interface GigabitEthernet2/0/0
ip address 20.1.1.1 255.255.255.252
mpls
mpls ldp
#
interface loopback0
ip address 1.1.1.1 255.255.255.255
#
ip route-static 2.2.2.2 255.255.255.255 GigabitEthernet1/0/0
ip route-static 3.3.3.3 255.255.255.255 GigabitEthernet2/0/0
ip route-static 4.4.4.4 255.255.255.255 GigabitEthernet1/0/0 preference 40
ldp-sync
ip route-static 4.4.4.4 255.255.255.255 GigabitEthernet2/0/0 preference 60
ip route-static 30.1.1.0 255.255.255.252 GigabitEthernet1/0/0
ip route-static 40.1.1.0 255.255.255.252 GigabitEthernet2/0/0
#
return
Configuration file of LSRB
#
sysname LSRB
#
mpls lsr-id 2.2.2.2
mpls
#
mpls ldp
#
interface GigabitEthernet1/0/0
ip address 10.1.1.2 255.255.255.252
mpls
mpls ldp
#
interface GigabitEthernet2/0/0
ip address 30.1.1.1 255.255.255.252
mpls
mpls ldp
#
interface loopback0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 MPLS LDP Configuration
121

Advertisement

Table of Contents
loading

Table of Contents