R2511-HP MSR Router Series MPLS Command Reference(V5)
50
mpls ldp (interface view)
Use mpls ldp to enable LDP on an interface.
Use undo mpls ldp to disable LDP on an interface.
Syntax
mpls ldp
undo mpls ldp
Default
LDP is disabled on an interface.
Views
Interface view
Default command level
2: System level
Usage guidelines
After you enable LDP on an interface, the interface will periodically send Hello messages.
Before enabling LDP in interface view, be sure to complete the following tasks:
• Use the mpls lsr-id command in system view to set the node LSR-ID.
• Use the mpls command in system view to enable MPLS.
• Use the mpls ldp command in system view to enable MPLS LDP globally.
• Use the mpls command in interface view to enable MPLS for the interface.
If the interface is bound to a VPN instance, use the mpls ldp vpn-instance command to enable LDP for the
VPN instance. For more information about the mpls ldp vpn-instance command, see "MPLS L3VPN
commands."
Examples
# Enable LDP for Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mpls
[Sysname-Ethernet1/1] mpls ldp
mpls ldp remote-peer
Use mpls ldp remote-peer to create a remote peer entity and enter MPLS LDP remote peer view.
Use undo mpls ldp remote-peer to remove a remote peer entity.
Syntax
mpls ldp remote-peer remote-peer-name
undo mpls ldp remote-peer remote-peer-name
Views
System view










