Configuring IP, MPLS, and PPPoE over Ethernet

To configure IP, MPLS, and PPPoE over an Ethernet interface:

  1. Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
    host1(config)#interface fastEthernet 4/0
  2. Create an IP interface.
    host1(config-if)#ip address 192.5.127.8 255.255.255.0
  3. Create an MPLS interface.
    host1(config-if)#mpls
  4. Create a PPPoE interface by specifying PPPoE as the encapsulation method on the interface.
    host1(config-if)#pppoe
  5. Create a PPPoE subinterface.
    host1(config-if)#pppoe subinterface fastEthernet 4/1.1
  6. Specify PPP as the encapsulation method on the interface.
    host1(config-if)#encapsulation ppp
  7. Assign an IP address and mask.
    host1(config-if)#ip address 192.6.129.5 255.255.255.0
  8. (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

Example of IP, MPLS, and PPPoE Stacking
Configuration Procedure

mpls