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

To configure a VLAN subinterface to support a dynamic PPPoE subinterface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet interface.host1(config)#interface fastEthernet 4/1
- Specify VLAN as the encapsulation method.host1(config-if)#encapsulation vlan
This command adds the VLAN major interface.
- Create a VLAN subinterface by adding a subinterface number
to the interface identifier.host1(config-if)#interface fastEthernet 4/1.1
- Assign a VLAN ID for the subinterface.host1(config-if)#vlan id 400
- Set the encapsulation type to PPPoE.host1(config-subif)#encapsulation pppoe
- 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.
- Configure the interface to detect and accept dynamic PPPoE
subinterfaces.host1(config-subif)#pppoe auto-configure
Hide Navigation Pane
Show Navigation Pane
SHA1