Configuring PPPoE Dynamic Interfaces over Static PPPoE Interfaces
E-series routers support dynamic PPPoE subinterfaces over static PPPoE major interfaces. The PPPoE major interfaces can be created over:
Configuring Dynamic PPPoE over Static PPPoE with ATM Interface Columns
Figure 27 shows dynamic PPPoE subinterface columns and illustrates an alternative method for PPPoE to permit multiple IP sessions over each ATM 1483 circuit.
![]()
To configure an ATM 1483 subinterface to support a dynamic PPPoE subinterface:
For ATM interfaces on ERX-7xx models, ERX-14xx models, and the ERX-310 router, use the slot/port format; for example:
host1(config)#interface atm 5/0
- Configure an ATM 1483 subinterface.
host1(config-if)#interface atm 5/0.1- Configure a PVC by specifying the virtual circuit descriptor (VCD), the virtual path identifier (VPI), the virtual channel identifier (VCI), and the encapsulation type.
NOTE: If you want the router to autodetect the encapsulation type, use the aal5autoconfig option.
host1(config-subif)#atm pvc 10 100 22 aal5snaphost1(config-subif)#atm pvc 10 100 22 aal5autoconfig- Set the encapsulation type to PPPoE to create the PPPoE major interface.
host1(config-subif)#encapsulation pppoe- Assign a profile.
host1(config-subif)#profile pppoeProfile1- Configure the interface to recognize dynamic PPPoE subinterfaces.
host1(config-subif)#pppoe auto-configure- (Optional) Verify your configuration.
host1#show atm subinterface atm 5/0.1host1#show pppoe interface atm 5/0.1Configuring Dynamic PPPoE over Static PPPoE with Ethernet Interface Columns
Figure 28 shows dynamic PPPoE subinterface columns configured over an Ethernet interface without VLANs.
![]()
To configure an Ethernet interface without VLANs to support a dynamic PPPoE subinterface:
For Fast Ethernet and Gigabit Ethernet interfaces on ERX-7xx models, ERX-14xx models, and the ERX-310 router, use the slot/port format; for example:
host1(config)#interface fastEthernet 4/1
- Assign an IP address and mask.
host1(config-if)#ip address 192.6.129.5 255.255.255.0- Specify PPPoE as the encapsulation method on the interface.
host1(config-subif)#encapsulation pppoeThis command creates the static PPPoE major interface.
- Assign a profile to the PPPoE major interface.
host1(config-subif)#pppoe profile pppoeProfile3- Configure the interface to recognize dynamic PPPoE subinterfaces.
host1(config-subif)#pppoe auto-configureConfiguring Dynamic PPPoE over Static PPPoE with Ethernet and VLAN Interface Columns
Figure 29 shows dynamic PPPoE subinterface columns and illustrates an alternative method for PPPoE to permit multiple IP sessions over each VLAN.
![]()
To configure a VLAN subinterface to support a dynamic PPPoE subinterface:
For Fast Ethernet and Gigabit Ethernet interfaces on ERX-7xx models, ERX-14xx models, and the ERX-310 router, use the slot/port format; for example:
host1(config)#interface fastEthernet 4/1This 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)#profile pppoeProfile2- Configure the interface to recognize dynamic PPPoE subinterfaces.
host1(config-subif)#pppoe auto-configureConfiguring Dynamic PPPoE over Static PPPoE with Ethernet and S-VLAN Interface Columns
Figure 30 shows dynamic PPPoE subinterface columns over PPPoE major interfaces using S-VLANs over Ethernet.
![]()
To configure an S-VLAN subinterface to support a dynamic PPPoE subinterface:
For Fast Ethernet and Gigabit Ethernet interfaces on ERX-7xx models, ERX-14xx models, and the ERX-310 router, use the slot/port format; for example:
host1(config)#interface fastEthernet 4/1This command creates the VLAN major interface.
- Create a VLAN subinterface by adding a subinterface number to the interface identifier.
host1(config-if)#interface fastEthernet 3/1.1- Assign an S-VLAN ID and a VLAN ID for the subinterface.
host1(config-if)#svlan id 3 300- Assign an S-VLAN Ethertype.
host1(config-if)#svlan ethertype 9200- Specify PPPoE as the encapsulation method on the interface.
host1(config-subif)#encapsulation pppoeThis command creates the PPPoE major interface.
- Assign a profile.
host1(config-subif)#profile pppoeProfile3- Configure the interface to recognize dynamic PPPoE subinterfaces.
host1(config-subif)#pppoe auto-configureS-VLAN Oversubscription
When you configure S-VLAN subinterfaces over Ethernet interfaces to support dynamic PPPoE subinterfaces, you can take advantage of S-VLAN oversubscription.
The following module combinations support S-VLAN oversubscription:
- GE/FE line module and all of its associated I/O modules, except for the FE-2 I/O module
- GE-2 line module and the GE-2 APS I/O module
The maximum number of S-VLANs that you can create per I/O module 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 these I/O modules, with the understanding that no more than the maximum number of supported PPP sessions will be connected to the router at any one time.
For specific information about the maximum number of S-VLANs supported per I/O module 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.
atm pvc
- aal5autoconfig—Enables autodetection of the 1483 encapsulation (LLC/SNAP or VC multiplexed).
- aal5snap—Specifies a logical link control (LLC) encapsulated circuit; the LLC/Subnetwork Access Protocol (LLC/SNAP) header precedes the protocol datagram.
- aal5mux ip—Specifies a VC multiplexed circuit. This option is used for IP only.
host1(config-subif)#atm pvc 6 0 11 aal5autoconfigUse the no version to remove the specified PVC. encapsulation pppoe
host1(config-if)#encapsulation pppoeUse the no version to remove PPPoE encapsulation from the interface. encapsulation vlan
host1(config-if)#encapsulation vlanUse the no version to remove VLAN encapsulation from the interface. interface atm
- Use to select an ATM interface or ATM 1483 subinterface.
- Use the slot/port[.subinterface ] format to select ATM interfaces and subinterfaces on ERX-7xx models, ERX-14xx models, and ERX-310 routers.
- For more information, see Creating a Basic Configuration in Chapter 1, Configuring ATM.
- Example
host1(config)#interface atm 5/0.1Use the no version to remove the interface or subinterface. interface fastEthernet
host1(config)#interface fastEthernet 4/1Use the no version to remove IP from an interface or a subinterface. You must issue the no version from the highest level down; you cannot remove an interface or a subinterface if the one above it still exists. interface gigabitEthernet
- Use to select a Gigabit Ethernet interface.
- Use the slot/port[.subinterface ] format to select Gigabit Ethernet interfaces on ERX-7xx models, ERX-14xx models, and ERX-310 routers.
- Example
host1(config)#interface gigabitEthernet 1/0Use the no version to remove IP from an interface. You must issue the no version from the highest level down; you cannot remove an interface or subinterface if the one above it still exists. ip address
host1(config-if)#ip address 192.1.1.1 255.255.255.0Use the no version to remove an IP address or disable IP processing. pppoe auto-configure
- Use to set up the router to dynamically create PPPoE subinterfaces on the PPPoE major interfaces.
- Example
host1(config-subif)#pppoe auto-configureUse the no version to remove this configuration. pppoe profile
- Use to assign a profile to a static PPPoE major interface. The profile configuration is used to dynamically configure an upper bridged Ethernet, IP, PPP, and/or PPPoE interface.
- Specify a profile name with up to 80 characters.
- The default encapsulation type, any, applies to any autoconfigured encapsulation that does not have a specific profile assignment.
- Examples
host1(config-subif)#pppoe profile pppoeProfile4host1(config-if)#pppoe profile any anyProfileUse the no version to remove the profile assignment from the interface. profile
host1(config-subif)#profile ppp fooUse the no version to remove a profile assignment. svlan ethertype
- Use to assign an Ethertype value for the S-VLAN subinterface.
- Choose one of the following Ethertype values:
- 8100—Specifies Ethertype value 0x8100, as defined in IEEE Standard 802.1q
- 9100—Specifies Ethertype value 0x9100, which is the default
- 9200—Specifies Ethertype value 0x9200
- Use an Ethertype value that matches the Ethertype value set on the customer premises equipment (CPE) to which your router connects.
- Example
host1(config-if)#svlan ethertype 8100Use the no version to restore the default value, 9100. svlan id
- Use to assign S-VLAN IDs and VLAN IDs to VLAN subinterfaces.
- Use S-VLAN ID and VLAN ID numbers that are in the range 0-4095 and that are unique within the Ethernet interface.
- Example
host1(config-if)#svlan id 4 255Issue the svlan id command before any upper bindings are made, such as IP or PPPoE. There is no no version. vlan id
- Use to specify the VLAN ID.
- Use a VLAN ID that is in the range of 0-4095 and is unique within the Ethernet interface.
- Example
host1(config-if)#vlan id 400Issue the vlan id command before any upper bindings are made, such as IP or PPPoE. Use the optional keyword untagged to specify that frames be sent untagged. The keyword is valid only for VLAN ID 0. It allows tagged frames to be received, but sends out untagged frames. There is no no version.