Command Line Interface
8931553-KDU 137 365 Uen D 2006-06-16
7.18.2 mpls l2
This command configures a VLAN to operate as an L2MPLS tunnel. Use the no
form to reset a VLAN to normal mode.
Syntax
[no] mpls l2
Default Setting
no mpls l2 VLAN tunnel
Command Mode
Interface Configuration (VLAN)
Example
7.18.3 mpls static binding
This command associates input and output MPLS labels with a VLAN. Use the
no form to reset a VLAN and disassociate the labels.
Syntax
mpls static binding vlan <vlan-id> input <input_label>
output <output_label>
no mpls static binding vlan <vid>
• vlan-id - VLAN ID (Range: 1-4094, no leading zeroes)
• input_label - Input MPLS label. (Range: 0-1048574)
• output_label - Output MPLS label. (Range: 0-1048574)
Console(config)#system mode l2mpls
Console(config)#interface vlan 9
Console(config-if)#mpls l2
Console(config-if)#