96
View
System view, interface view
Default level
2: System level
Parameters
None
Examples
# Enable MPLS globally.
<Sysname> system-view
[Sysname] mpls lsr-id 1.1.1.1
[Sysname] mpls
[Sysname-mpls] quit
# Enable MPLS for interface VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] mpls
mpls ldp (system view)
Description
Use the mpls ldp command to enable LDP globally and enter MPLS LDP view.
Use the undo mpls ldp command to disable LDP globally and remove all LDP instances.
By default, MPLS LDP is disabled.
Configure the mpls ldp command after configuring the MPLS LSR ID and enabling MPLS globally for the
LSR.
Syntax
mpls ldp
undo mpls ldp
View
System view
Default level
2: System level
Parameters
None
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