R3303-HP HSR6800 Routers MPLS Command Reference

54
Default
MPLS LDP is disabled.
Views
System view
Default command level
2: System level
Usage guidelines
To configure the mpls ldp command, first configure the MPLS LSR ID and enable MPLS globally for the
LSR.
Examples
# Enable LDP globally and enter MPLS LDP view.
<Sysname> system-view
[Sysname] mpls lsr-id 1.1.1.1
[Sysname] mpls
[Sysname-mpls] quit
[Sysname] mpls ldp
[Sysname-mpls-ldp]
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.