capability-announcement
The dynamic LDP advertisement capability is enabled.
By default, the dynamic LDP advertisement capability is not enabled.
NOTE
Enabling dynamic LDP advertisement after an LDP session is established will result in reestablishment of
the LDP session.
----End
2.3.4 Configuring a Local LDP Session
Local LDP sessions allow LSRs to establish LSPs and swap labels.
Context
A local LDP session is created over a TCP connection. After a TCP connection is established,
LSRs negotiate LDP session parameters with each other. If LSRs on both ends of an LDP session
agree on negotiated parameters, a local LDP session can be established.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The view of an interface on which an LDP session is to be established is displayed.
Step 3 Run:
mpls
MPLS is enabled on the interface.
Step 4 Run:
mpls ldp
LDP is enabled on the interface.
By default, no interface is enabled with LDP.
NOTE
Disabling LDP on an interface causes the interface to terminate all LDP sessions on it and delete all LSPs
established using the LDP sessions.
----End
2.3.5 (Optional) Configuring an LDP Transport Address
An LDP session is established over a TCP connection. To set up an LDP session, two LSRs need
to confirm the LDP transport address of each other and then set up a TCP connection.
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.
22