R0106-HP MSR Router Series MPLS Command Reference(V7)

58
[Sysname-ldp]
Related commands
mpls ldp enable
vpn-instance
mpls ldp enable
Use mpls ldp enable to enable LDP on an interface.
Use undo mpls ldp enable to disable LDP on an interface.
Syntax
mpls ldp enable
undo mpls ldp enable
Default
LDP is disabled on an interface.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
Before you enable LDP on an interface, use the mpls ldp command in system view to enable LDP globally.
Disabling LDP on an interface terminates all LDP sessions on the interface, and removes all LSPs
established through the sessions.
If the interface is bound to a VPN instance, you must also use the vpn-instance command to enable LDP
for the VPN instance.
An up interface enabled with LDP and MPLS sends Link Hellos for neighbor discovery.
An up MPLS TE tunnel interface enabled with LDP sends Targeted Hellos to the tunnel destination and
establishes a session to the tunnel peer. Establishing an LDP session is the prerequisite of implementing
LDP over MPLS TE.
Examples
# Enable LDP on interface GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-ldp] quit
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] mpls ldp enable
Related commands
display mpls ldp interface
mpls enable
mpls ldp