Configuring MPLS over VLAN
To configure MPLS over VLAN over an Ethernet interface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet port.host1(config)#interface fastEthernet 4/0
- Specify VLAN as the encapsulation method.host1(config-if)#encapsulation vlan
The VLAN major interface is added.
- Create a VLAN subinterface by adding a subinterface number
to the interface identification command.host1(config-if)#interface fastEthernet 4/1.1
- Do one of the following:
- Assign a VLAN ID for the subinterface.host1(config-if)#vlan id 400
- Assign a VLAN ID and the optional unique MAC address for
the subinterface.host1(config-if)#vlan id 400 mac-address 0090.1a01.1234
- Assign a VLAN ID for the subinterface.
- Enable MPLS on the interface.host1(config-if)#mpls
Figure 16 illustrates the MPLS/VLAN/Fast Ethernet stacking, showing one VLAN subinterface.
Figure 16: Example of MPLS/VLAN/Fast Ethernet Stacking Configuration Procedure
