E-series routers support dynamic PPPoE subinterfaces over static PPPoE major interfaces. The PPPoE major interfaces can be created over:
The following sections describe how to create each of these configurations on the router. In addition, Configuring Encapsulation Type Lockout for PPPoE Clients describes how to configure dynamic encapsulation type lockout for PPPoE clients associated with dynamic PPPoE subinterface columns.
Figure 42 shows dynamic PPPoE subinterface columns and illustrates an alternative method for PPPoE to support multiple IP sessions over each ATM 1483 circuit.
Figure 42: Dynamic PPPoE over Static PPPoE with ATM Interface Columns

To configure an ATM 1483 subinterface to support a dynamic PPPoE subinterface:
- host1(config)#interface atm 5/0
- host1(config-if)#interface atm 5/0.1
If you want the router to autodetect the encapsulation type, use the aal5autoconfig option.
- host1(config-subif)#atm pvc 10 100 22 aal5snap
- host1(config-subif)#atm pvc 10 100 22 aal5autoconfig
- host1(config-subif)#encapsulation pppoe
- host1(config-subif)#pppoe profile pppoeProfile1
- host1(config-subif)#pppoe auto-configure
- host1#show atm subinterface atm 5/0.1
- host1#show pppoe interface atm 5/0.1
Figure 43 shows dynamic PPPoE subinterface columns configured over an Ethernet interface without VLANs.
Figure 43: Dynamic PPPoE over Static PPPoE with Non-VLAN Interface Columns

To configure an Ethernet interface without VLANs to support a dynamic PPPoE subinterface:
- host1(config)#interface fastEthernet 4/1
- host1(config-if)#ip address 192.6.129.5 255.255.255.0
- host1(config-subif)#encapsulation pppoe
This command creates the static PPPoE major interface.
- host1(config-subif)#pppoe profile pppoeProfile3
- host1(config-subif)#pppoe auto-configure
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
Figure 45 shows dynamic PPPoE subinterface columns over PPPoE major interfaces using S-VLANs over Ethernet.
Figure 45: Dynamic PPPoE over Static PPPoE with S-VLAN Interface Columns

To configure an S-VLAN subinterface to support a dynamic PPPoE subinterface:
- host1(config)#interface fastEthernet 4/1
- host1(config-if)#encapsulation vlan
This command creates the VLAN major interface.
- host1(config-if)#interface fastEthernet 3/1.1
- host1(config-if)#svlan id 3 300
- host1(config-if)#svlan ethertype 9200
- host1(config-subif)#encapsulation pppoe
This command creates the PPPoE major interface.
- host1(config-subif)#pppoe profile pppoeProfile3
- host1(config-subif)#pppoe auto-configure
When you configure S-VLAN subinterfaces over Ethernet interfaces to support dynamic PPPoE subinterfaces, you can take advantage of S-VLAN oversubscription.
The maximum number of S-VLANs that you can create per I/O module or IOA with PPPoE major interfaces stacked over them is greater than the maximum number of dynamic PPPoE subinterfaces. The maximum number of PPP interfaces supported per line module is directly proportional to the maximum number of PPPoE subinterfaces.
As a result, you can oversubscribe S-VLANs by configuring up to the maximum number of S-VLANs supported on the I/O module or IOA, knowing that no more than the maximum number of supported PPP sessions can be connected to the router at any one time.
For information about the module combinations that support S-VLAN oversubscription, see S-VLAN Oversubscription in Configuring VLAN and S-VLAN Subinterfaces .
For specific information about the maximum number of S-VLANs supported per I/O module or IOA and the maximum number of PPP interfaces and PPPoE subinterfaces supported per line module, see JUNOSe Release Notes, Appendix A, System Maximums.
![]() |
Note: S-VLAN oversubscription is not currently supported for S-VLANs configured over bridged Ethernet interfaces. The E120 and E320 routers can support up to two IOAs per line module. This maximum number of S-VLANs per line module does not change whether one or two IOAs are installed. For more information about configuration options for the ES2-S1 GE-4 IOA, see chapter Configuring Ethernet Interfaces in JUNOSe Physical Layer Configuration Guide. |
atm pvc
- host1(config-subif)#atm pvc 6 0 11 aal5autoconfig
encapsulation pppoe
- host1(config-if)#encapsulation pppoe
encapsulation vlan
- host1(config-if)#encapsulation vlan
interface atm
- host1(config)#interface atm 5/0.1
- host1(config)#interface atm 4/0/2.1
interface fastEthernet
- host1(config)#interface fastEthernet 4/1
interface gigabitEthernet
interface tenGigabitEthernet
- host1(config)#interface gigabitEthernet 1/0
- host1(config)#interface gigabitEthernet 4/0/1
- host1(config)#interface tenGigabitEthernet
4/0/1
ip address
- host1(config-if)#ip address 192.1.1.1 255.255.255.0
pppoe auto-configure
- host1(config-subif)#pppoe auto-configure
pppoe profile
- host1(config-subif)#pppoe profile pppoeProfile4
- host1(config-if)#pppoe profile any anyProfile
svlan ethertype
- host1(config-if)#svlan ethertype 8100
svlan id
- host1(config-if)#svlan id 4 255
vlan id
- host1(config-if)#vlan id 400
In configurations with dynamic PPPoE subinterfaces over static PPPoE major interfaces, you can configure dynamic encapsulation type lockout for the PPPoE clients associated with a dynamic PPPoE subinterface column. Using this feature enables you to temporarily prevent the static PPPoE major interface from autodetecting, accepting, and creating dynamic PPPoE subinterface columns for a configurable time period.
By default, encapsulation type lockout is disabled for PPPoE clients. To configure a lockout time range for the PPPoE clients associated with the dynamic PPPoE subinterface columns on the PPPoE major interface, use the pppoe auto-configure command with the lockout-time keyword. You can also use the show pppoe interface lockout-time command to display detailed information about the current lockout condition for each PPPoE client, and the pppoe clear lockout interface command to clear (reset) the lockout condition for an individual PPPoE client.
For illustrations of the interface stacking in dynamic PPPoE over static PPPoE configurations, see Figure 42, Figure 43, Figure 44, and Figure 45.
Table 24 lists the important differences between how encapsulation type lockout works for dynamic PPPoE over static PPPoE configurations and how lockout works for dynamic PPPoE over static ATM 1483 configurations.
Table 24: Differences in Lockout Operation for Dynamic PPPoE Configurations
|
Dynamic PPPoE over Static PPPoE |
Dynamic PPPoE over Static ATM 1483 |
|---|---|
|
Encapsulation type lockout is disabled by default. |
Encapsulation type lockout is enabled by default with a lockout time range of 1–300 seconds. |
|
You must explicitly configure encapsulation type lockout for PPPoE clients with the pppoe auto-configure command. |
PPPoE clients automatically inherit their lockout setting from the lockout parameters configured for the underlying static ATM 1483 subinterface with the auto-configure command. Currently, the dynamic PPPoE interface layer must be configured directly above the static ATM 1483 interface layer to support inheritance of lockout parameters. For an illustration of dynamic PPPoE over static ATM 1483 interface stacking, see Figure 41. |
For more information about the benefits and operation of dynamic encapsulation type lockout, see Encapsulation Type Lockout. In particular, see Guidelines for Configuring Encapsulation Type Lockout for information about the rules that apply when you configure the lockout time. These rules are common to both dynamic PPPoE over static PPPoE configurations and dynamic PPPoE over static ATM 1483 configurations.
Configuring dynamic encapsulation type lockout for PPPoE clients includes the following tasks:
To configure and verify encapsulation type lockout for a PPPoE client:
For example, the following commands configure a static ATM 1483 subinterface and corresponding ATM PVC.
- host1(config)#interface atm 3/0
- host1(config-if)#interface atm 3/0.101
- host1(config-subif)#atm pvc 10 10 20 aal5snap
- host1(config-subif)#encapsulation pppoe
For example, the following command configures a lockout time in the range 5–60 seconds for the PPPoE clients associated with the dynamic PPPoE subinterface column on the PPPoE major interface.
- host1(config-subif)#pppoe auto-configure lockout-time
5 60
- host1(config-subif)#pppoe profile pppoeLockoutProfile
For information about creating and using profiles, see Configuring a Dynamic Interface from a Profile .
host1#show pppoe interface atm 3/0.101 PPPoE interface ATM 3/0.101 is operStatusUp (dynamic) . . .
Lockout Configuration (seconds): Min 5, Max 60 Total clients in active lockouts: 0 Total clients in lockout grace period: 0
host1#show pppoe interface atm 3/0.101 lockout-time PPPoE interface ATM 3/0.101 Lockout Configuration (seconds): Min 5, Max 60 Total clients in active lockout: 0 Total clients in lockout grace period: 0 Client Address Current Elapsed Next -------------- ------- ------- ---- 0090.1a10.165e 0 0 5
For a description of the fields in the command display, see show pppoe interface and show pppoe interface lockout-time.
pppoe auto-configure lockout-time
- host1(config-subif)#pppoe auto-configure lockout-time
10 120
- host1(config-subif)#pppoe auto-configure lockout-time
none
- host1(config-subif)#no pppoe auto-configure
You can use the pppoe clear lockout interface command to clear the lockout condition for an individual PPPoE client associated with a dynamic PPPoE subinterface column on a static PPPoE major interface. To identify the PPPoE client, you must specify its source MAC address.
![]() |
Note: Issuing the pppoe clear lockout interface command resets the current lockout condition for the specified PPPoE client, but does not disable dynamic encapsulation type lockout for that PPPoE client. |
To clear the current lockout condition for a PPPoE client:
host1#show pppoe interface atm 3/0.101 lockout-time PPPoE interface ATM 3/0.101 Lockout Configuration (seconds): Min 5, Max 60 Total clients in active lockout: 0 Total clients in lockout grace period: 0 Client Address Current Elapsed Next -------------- ------- ------- ---- 0090.1a10.165e 0 0 5
host1#show pppoe subinterface full ... PPPoE subinterface ATM 3/0.101 has source MAC address 0090.1a10.165e ...
For a description of the fields in the command display, see show pppoe interface lockout-time and show pppoe subinterface.
- host1#pppoe clear lockout interface atm 3/0.101
0090.1a10.165e
If the specified PPPoE client is undergoing active lockout or is in a lockout grace period, issuing the pppoe clear lockout interface command causes the router to reset the current lockout condition and start the next lockout interval at the minimum configured lockout time.
The lockout grace period occurs when the time between lockout events is greater than either 15 minutes or the maximum lockout time. When a PPPoE client is in a lockout grace period, the router resets the number of consecutive lockout events to 1. (For more information, see Guidelines for Configuring Encapsulation Type Lockout.)
pppoe clear lockout interface
- host1#pppoe clear lockout interface gigabitEthernet
2/1.1 1011.22c2.333d