mpls-interface

Configures MPLS on an interface and accesses MPLS interface sub-configuration mode to configure its parameters.

Syntax

mpls-interface { ethernet slot/port | port-channel number | ve number }
no mpls-interface { ethernet slot/port | port-channel number | ve number }

Parameters

ethernet slot/port
Specifies an Ethernet slot and port.
port-channel number
Specifies a port-channel interface.
ve number
Specifies the VE interface number.

Modes

MPLS configuration mode

Usage Guidelines

Use the no form of this command to remove the MPLS interface.

You cannot configure MPLS on a VE interface associated with a protocol based VLAN. The command is rejected, and an error message is displayed.

After you enable MPLS globally on the device, you can enable it on one or more interfaces.

MPLS is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.

Examples

The following example configures MPLS on Ethernet interface 0/12.

device# configure 
device(config)# router mpls
device(config-router-mpls)# mpls-interface ethernet 0/12
device(config-router-mpls-if-0/12)# ldp-params
device(config-router-mpls-if-0/12-ldp-params)# exit
device(config-router-mpls-if-ethernet-0/12)# rsvp