Configuring Dynamic PPPoE over Static PPPoE with Ethernet and VLAN Interface Columns

Figure 53 shows dynamic PPPoE subinterface columns and illustrates an alternative method for PPPoE to support multiple IP sessions over each VLAN.

Figure 53: Dynamic PPPoE over Static PPPoE with VLAN Interface Columns

Dynamic PPPoE over Static PPPoE with
VLAN Interface Columns

To configure a VLAN subinterface to support a dynamic PPPoE subinterface:

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

    This command adds the VLAN major interface.

  3. Create a VLAN subinterface by adding a subinterface number to the interface identifier.
    host1(config-if)#interface fastEthernet 4/1.1
  4. Assign a VLAN ID for the subinterface.
    host1(config-if)#vlan id 400
  5. Set the encapsulation type to PPPoE.
    host1(config-subif)#encapsulation pppoe
  6. Assign a profile.
    host1(config-subif)#pppoe profile pppoeProfile2

    The default encapsulation type, any, applies to any autoconfigured encapsulation that does not have a specific profile assignment.

  7. Configure the interface to detect and accept dynamic PPPoE subinterfaces.
    host1(config-subif)#pppoe auto-configure

Related Documentation