Configuring PPPoE over an S-VLAN

To configure PPPoE over an S-VLAN over an Ethernet interface:

  1. Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
    host1(config)#interface fastEthernet 4/0
  2. Specify VLAN as the encapsulation method.
    host1(config-if)#encapsulation vlan

    The VLAN major interface is added.

  3. Create a VLAN subinterface by adding a subinterface number to the interface identification command.
    host1(config-if)#interface fastEthernet 4/1.1
  4. Assign an S-VLAN ID and a VLAN ID for the subinterface.
    host1(config-if)#svlan id 4 255
  5. Assign an S-VLAN Ethertype.
    host1(config-if)#svlan ethertype 88a8
  6. Specify PPPoE as the encapsulation method on the interface.
    host1(config-if)#pppoe
  7. Create a PPPoE subinterface.
    host1(config-if)#pppoe subinterface fastEthernet 4/1.1.1
  8. Specify PPP as the encapsulation method on the interface.
    host1(config-if)#encapsulation ppp
  9. Assign an IP address and mask.
    host1(config-if)#ip address 164.10.6.61 255.255.255.0
  10. (Optional) Configure additional PPPoE subinterfaces by completing Steps 7 through 9 using unique numbering.

Figure 18 shows one S-VLAN subinterface with multiple PPPoE subinterface stacks.

Note: Before you can remove an S-VLAN/VLAN subinterface, you must remove the upper-layer interface stack.

Figure 18: Example of PPPoE over S-VLAN Stacking Configuration Procedure

Example of PPPoE over S-VLAN Stacking
Configuration Procedure

Related Documentation