Enabling MPLS
Procedure
- Run system-view
The system view is displayed.
- Run mpls
MPLS is enabled globally and the MPLS view is displayed.
By default, no node is enabled with MPLS.
- Run quit
Return to the system view.
- Run interface interface-type interface-number
The interface to participate in MPLS forwarding is specified.
- (Optional) On an Ethernet interface, run undo portswitch
The interface is switched to Layer 3 mode.
By default, an Ethernet interface works in Layer 2 mode.Only the S5720HI, S5720EI, S6720EI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.
- Run mpls
MPLS is enabled on the interface.
By default, no interface is enabled with MPLS.