Field
Range
Idle
Protocols
Type
State
mpls enable
Use mpls enable to enable MPLS on an interface.
Use undo mpls enable to disable MPLS on an interface.
Syntax
mpls enable
undo mpls enable
Default
MPLS is disabled on an interface.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
Execute this command on all interfaces that must perform MPLS forwarding.
Examples
# Enable MPLS on interface VLAN-interface 2.
<Sysname> System-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] mpls enable
Related commands
display mpls interface
mpls label advertise
Use mpls label advertise to specify the type of label the egress will advertise to the penultimate hop.
Use undo mpls label advertise to restore the default.
Description
Label range.
Number of idle labels in the label range.
Running label distribution protocols and the related information.
Protocol type: LDP, BGP, Static, or L2VPN.
Label distribution protocol running status:
•
Normal.
•
Recover—The protocol is in the GR process.
15