Huawei AR1200 Series Configuration Manual - Mpls page 127

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
[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
[LSRA] interface gigabitethernet 2/0/0
[LSRA-GigabitEthernet2/0/0] mpls
[LSRA-GigabitEthernet2/0/0] mpls ldp
[LSRA-GigabitEthernet2/0/0] quit
The configurations of LSRB, LSRC, and LSRD are similar to the configuration of LSRA, and
are not dprovided here. For configuration details, see "Configuration Files."
# Run the display mpls ldp session command on each LSR. The command output shows that
the status of LDP sessions is Operational. This indicates that LDP sessions have been
established. In the following example, the display on LSRA is used.
[LSRA] display mpls ldp session
LDP Session(s) in Public Network
Codes: LAM(Label Advertisement Mode), SsnAge Unit(DDDD:HH:MM)
A '*' before a session means the session is being deleted.
------------------------------------------------------------------------------
PeerID
------------------------------------------------------------------------------
2.2.2.2:0
3.3.3.3:0
------------------------------------------------------------------------------
TOTAL: 2 session(s) Found.
Step 4 Configure synchronization between LDP and static routes on LSRA and LSRD.
# Configure LSRA.
[LSRA] ip route-static 4.4.4.4 32 gigabitethernet 1/0/0 ldp-sync
[LSRA] interface gigabitethernet 1/0/0
[LSRA-GigabitEthernet1/0/0] static-route timer ldp-sync hold-down 20
[LSRA-GigabitEthernet1/0/0] quit
# Configure LSRD.
[LSRD] ip route-static 1.1.1.1 32 gigabitethernet 1/0/0 ldp-sync
[LSRD] interface gigabitethernet 1/0/0
[LSRD-GigabitEthernet1/0/0] static-route timer ldp-sync hold-down 20
[LSRD-GigabitEthernet1/0/0] quit
Step 5 Verify the configuration.
# On LSRA, check the status of the outbound interface of the static route configured with
synchronization between LDP and static routes.
[LSRA] display static-route ldp-sync
Total number of routes enable Ldp-Sync: 1
-----------------------------------------------------
Interface GigabitEthernet1/0/0
Enable ldp-sync static routes number: 1
Static-route ldp-sync holddown timer: 20s
Sync state: Normal
Dest = 4.4.4.4, Mask = 32, NextHop = 10.1.1.1.
-----------------------------------------------------
The preceding display shows that the status of synchronization between LDP and static routes
is Normal. Synchronization between LDP and static routes has been configured.
Issue 01 (2011-12-30)
Status
LAM
Operational DU
Operational DU
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
SsnRole
SsnAge
Passive
0000:00:00
Passive
0000:00:02
2 MPLS LDP Configuration
KASent/Rcv
1/1
12/12
120

Advertisement

Table of Contents
loading

Table of Contents