Configuring PPPoE for Ethernet Modules
You can configure PPPoE on Fast Ethernet (FE), Gigabit Ethernet (GE), and 10-Gigabit Ethernet (10GE) modules. You can configure Ethernet interfaces with IP only, with PPPoE only, with both IP and PPPoE, and with or without VLANs.
This section provides information about configuring PPPoE without VLANs. If you want to configure PPPoE with VLANs, see Chapter 5, Configuring VLAN and S-VLAN Subinterfaces, which shows common VLAN configurations such as:
- PPPoE over VLAN
- IP over VLAN and PPPoE over VLAN
NOTE: Chapter 5, Configuring VLAN and S-VLAN Subinterfaces provides other non-VLAN configuration examples, such as configurations using MPLS.
For more information about specific Ethernet modules and the protocols and applications they support, see:
- ERX Module Guide, Appendix A, Module Protocol Support (for ERX-7xx models, ERX-14xx models, and ERX-310 routers)
- E120 and E320 Module Guide, Appendix A, IOA Protocol Support (for E120 routers and E320 routers)
PPPoE Interface and Subinterface Limits
PPPoE subinterfaces can be distributed in any way across I/O module ports. For example, you can configure the maximum supported number of PPPoE subinterfaces on one port of an FE-2 I/O module and no PPPoE subinterfaces on the other port.
For information about current system maximums supported for PPPoE interfaces and subinterfaces, see JUNOSe Release Notes, Appendix A, System Maximums.
Configuring PPPoE Without VLANs
To configure PPPoE over an Ethernet interface without VLANs:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface.
host1(config)#interface fastEthernet 4/1- Specify PPPoE as the encapsulation method on the interface.
host1(config-if)#pppoe- Create a PPPoE subinterface.
host1(config-if)#pppoe subinterface fastEthernet 4/1.1- Specify PPP as the encapsulation method on the interface.
host1(config-subif)#encapsulation ppp- (Optional) Configure an access concentrator (AC) name on the PPPoE interface.
host1(config-subif)#pppoe acname CYM9876- (Optional) Set up the router to prevent a client from establishing more than one session using the same MAC address.
host1(config-subif)#pppoe duplicate-protection- Assign an IP address and mask.
host1(config-if)#ip address 192.6.129.5 255.255.255.0- (Optional) Configure additional PPPoE subinterfaces by completing Steps 3 through 7 using unique numbering.
Figure 35 illustrates the interface stack for this configuration.
![]()
encapsulation ppp
host1(config-if)#encapsulation pppUse the no version to disable PPP on an interface. interface fastEthernet
- Use to select a Fast Ethernet interface.
- For more information, see JUNOSe Physical Layer Configuration Guide, Chapter 5, Configuring Ethernet Interfaces.
- Example
host1(config)#interface fastEthernet 1/0Use the no version to remove IP from an interface or subinterface. 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. interface gigabitEthernet
- Use to select a Gigabit Ethernet interface or a 10-Gigabit Ethernet interface.
- To specify a Gigabit Ethernet interface for ERX-7xx models, ERX-14xx models, and ERX-310 routers, use the slot/port[.subinterface ] format.
- To specify a Gigabit Ethernet interface or 10-Gigabit Ethernet interface for E120 and E320 routers, use the slot/adapter/port[.subinterface ] format.
- For more information, see JUNOSe Physical Layer Configuration Guide, Chapter 5, Configuring Ethernet Interfaces.
- Examples
host1(config)#interface gigabitEthernet 1/0host1(config)#interface gigabitEthernet 4/0/1host1(config)#interface tenGigabitEthernet 4/0/1Use 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
- Use to specify PPPoE as the encapsulation method for the interface.
- This command creates a PPPoE major interface.
- Example
host1(config-if)#pppoeUse the no version to remove the PPPoE major interface. pppoe acName
- Use to configure an access concentrator (AC) name on the PPPoE interface. When the AC (the server) receives a PPPoE Active Discovery Initiation (PADI) packet that it can serve, it replies by sending a PPPoE Active Discovery Offer (PADO) packet. The PADO packet contains the AC name configured using this command.
- If the AC name is not configured, the router name is used.
- The AC name can be a maximum of 64 characters.
- Example
host1(config-subif)#pppoe acName CYM9876Use the no version to remove the AC name. pppoe duplicate-protection
- Use to prevent a client from establishing more than one session using the same MAC address.
- This feature is disabled by default.
- Example
host1(config-subif)#pppoe duplicate-protectionUse the no version to disable duplicate protection. pppoe subinterface fastEthernet
- Use to create a PPPoE subinterface on a Fast Ethernet module.
- On ERX-7xx models, ERX-14xx models, and the ERX-310 router, use the slot/port/pppoeSubinterface format.
- Example
host1(config)#pppoe subinterface fastEthernet 4/1.1Use the no version to remove the PPPoE subinterface.