Figure 44 shows dynamic PPPoE subinterface columns and illustrates an alternative method for PPPoE to support multiple IP sessions over each VLAN.
Figure 44: Dynamic PPPoE over Static PPPoE with VLAN Interface Columns

To configure a VLAN subinterface to support a dynamic PPPoE subinterface:
- host1(config)#interface fastEthernet 4/1
- host1(config-if)#encapsulation vlan
This command adds the VLAN major interface.
- host1(config-if)#interface fastEthernet 4/1.1
- host1(config-if)#vlan id 400
- host1(config-subif)#encapsulation pppoe
- host1(config-subif)#pppoe profile pppoeProfile2
- host1(config-subif)#pppoe auto-configure