EasyManua.ls Logo

Huawei AR1200 Series - Page 127

Huawei AR1200 Series
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
[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 Status LAM SsnRole SsnAge KASent/Rcv
------------------------------------------------------------------------------
2.2.2.2:0 Operational DU Passive 0000:00:00 1/1
3.3.3.3:0 Operational DU Passive 0000:00:02 12/12
------------------------------------------------------------------------------
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.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 2 MPLS LDP Configuration
Issue 01 (2011-12-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
120

Table of Contents

Other manuals for Huawei AR1200 Series

Related product manuals