set protocols mpls interface

The set protocols mpls interface command enables MPLS on an L3 interface. Usually, both the incoming and outgoing interfaces of the packets need to enable MPLS.

The delete protocols mpls interface command deletes the configuration.

 

Command Syntax

set protocols mpls interface <interface-name> [dummy]

delete protocols mpls interface

 

Parameter

Parameter

Description

interface <interface-name>

Specifies an L3 interface to enable MPLS. The value could be a VLAN interface, loopback interface name, routed interface or sub-interface.

By default, MPLS is disabled on all the interfaces.

 

Example

  • Enable MPLS on interface vlan200.

admin@PICOS# set protocols mpls interface vlan200 admin@PICOS# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.