Huawei AR1200 Series Configuration Manual - Mpls page 121

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
[P3-GigabitEthernet2/0/0] mpls ldp
[P3-GigabitEthernet2/0/0] quit
# Configure PE2.
<PE2> system-view
[PE2] mpls lsr-id 4.4.4.9
[PE2] mpls
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface gigabitethernet 1/0/0
[PE2-GigabitEthernet1/0/0] mpls
[PE2-GigabitEthernet1/0/0] mpls ldp
[PE2-GigabitEthernet1/0/0] quit
[PE2] interface gigabitethernet 2/0/0
[PE2-GigabitEthernet2/0/0] mpls
[PE2-GigabitEthernet2/0/0] mpls ldp
[PE2-GigabitEthernet2/0/0] quit
After the configuration, LDP sessions are set up between the adjacent nodes. Run the display
mpls ldp session command on each node. The Status is Operational.
In the following example, the display on P1 is used.
<P1> 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.9:0
3.3.3.9:0
------------------------------------------------------------------------------
TOTAL: 2 session(s) Found.
Step 3 Enable synchronization between LDP and IGP on the P1 and P2 interfaces.
# Configure P1.
<P1> system-view
[P1] interface gigabitethernet 1/0/0
[P1-GigabitEthernet1/0/0] ospf ldp-sync
[P1-GigabitEthernet1/0/0] quit
# Configure P2.
<P2> system-view
[P2] interface gigabitethernet 1/0/0
[P2-GigabitEthernet1/0/0] ospf ldp-sync
[P2-GigabitEthernet1/0/0] quit
Step 4 Set a value for the hold-down timer on the P1 and P2 interfaces.
# Configure P1.
<P1> system-view
[P1] interface gigabitethernet 1/0/0
[P1-GigabitEthernet1/0/0] ospf timer ldp-sync hold-down 8
[P1-GigabitEthernet1/0/0] quit
# Configure P2.
<P2> system-view
[P2] interface gigabitethernet 1/0/0
[P2-GigabitEthernet1/0/0] ospf timer ldp-sync hold-down 8
[P2-GigabitEthernet1/0/0] quit
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:56
Passive
0000:00:56
2 MPLS LDP Configuration
KASent/Rcv
227/227
227/227
114

Advertisement

Table of Contents
loading

Table of Contents