Configuring IP, MPLS, and PPPoE over Ethernet
To configure IP, MPLS, and PPPoE over an Ethernet interface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet port.host1(config)#interface fastEthernet 4/0
- Create an IP interface.host1(config-if)#ip address 192.5.127.8 255.255.255.0
- Create an MPLS interface.host1(config-if)#mpls
- Create a PPPoE interface by specifying PPPoE as the encapsulation
method on the interface.host1(config-if)#pppoe
- Create a PPPoE subinterface.host1(config-if)#pppoe subinterface fastEthernet 4/1.1
- Specify PPP as the encapsulation method on the interface.host1(config-if)#encapsulation ppp
- Assign an IP address and mask.host1(config-if)#ip address 192.6.129.5 255.255.255.0
- (Optional) Configure additional PPPoE subinterfaces by completing Steps 5 through 7 using unique numbering.
Figure 12 illustrates this configuration.
Figure 12: Example of IP, MPLS, and PPPoE Stacking Configuration Procedure

mpls
- Use to enable, disable, or delete MPLS on an interface. MPLS is disabled by default.
- Examplehost1(config)#mpls
- Use the no version to halt MPLS on the interface and delete the MPLS interface configuration.
- See mpls.
Hide Navigation Pane
Show Navigation Pane
SHA1