Configuring PPPoE over ATM
This section provides an example of a common PPPoE over ATM configuration.
See the following resources for additional information:
- Chapter 1, Configuring ATMProvides detailed information about ATM technology and line interface module capabilities.
- Chapter 12, Configuring Bridged EthernetProvides configuration information about Bridged Ethernet, which allows multiple upper-layer interface types (IP and PPPoE) to be simultaneously multiplexed over the same interface.
- Chapter 15, Configuring Dynamic InterfacesProvides detailed information about configuring ATM to support dynamic interfaces.
- Chapter 4, Configuring Upper-Layer Protocols over Static Ethernet Interfaces
- Configure a physical interface.
host1(config)#interface atm 0/1- Configure the ATM 1483 subinterface.
host1(config-if)#interface atm 0/1.20- Configure a PVC by specifying the vcd (virtual circuit descriptor), the vpi (virtual path identifier), the vci (virtual channel identifier), and the encapsulation type.
host1(config-if)#atm pvc 10 22 100 aal5snap- Select PPPoE as the encapsulation method.
host1(config-subif)#encapsulation pppoe- Configure a maximum number of PPPoE sessions on the interface.
host1(config-if)#pppoe sessions 128- Create a PPPoE subinterface.
host1(config-subif)#interface atm 0/1.20.1- Select PPP as the encapsulation method.
host1(config-subif)#encapsulation ppp- (Optional) Configure maximum transfer unit (MTU) parameters.
host1(config-if)#pppoe mtu 1380- (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 subnet mask to the PVC.
host1(config-subif)#ip address 192.32.10.20 255.255.255.0- (Optional) Configure additional PPPoE subinterfaces by completing Steps 6 through 11 using unique numbering.
host1(config-subif)#interface atm 0/1.20.2Figure 34 illustrates the interface stack for this configuration.
![]()
atm pvc
- vcdVirtual circuit descriptor, which identifies a virtual circuit in the range 12147483647. The vcd is a unique number that you assign, which identifies a virtual circuit. The vcd value has no relationship to the vpi and vci values and has meaning only to the E-series router.
- vpiVirtual path identifier of the PVC. The VPI is an 8-bit field in the ATM cell header. The VPI value is unique on a single link, not throughout the ATM network, because it has meaning only to the E-series router. The VPI value must match the value on the switch. The parameters vpi and vci cannot be both set to 0; if one is 0, the other cannot be 0.
- vciVirtual channel identifier. The VCI is a 16-bit field in the ATM cell header. The VCI value is unique on a single link, not throughout the ATM network, because it has meaning only to the E-series router. The parameters vpi and vci cannot be both set to 0; if one is 0, the other cannot be 0.
- encapsulation type:
- aal5snapSpecifies a logical link control (LLC) encapsulated circuit. An LLC/Subnetwork Access Protocol (LLC/SNAP) header precedes the protocol datagram.
- aal5mux ipSpecifies a multiplexed circuit used for IP only.
- aal5autoconfigEnables the autodetection of a 1483 encapsulation (LLC/SNAP or VC multiplexed).
host1(config-if)#atm pvc 10 100 22 aal5autoconfigUse the no version to remove the specified PVC. encapsulation ppp
host1(config-subif)#encapsulation pppUse the no version to disable PPP on an interface. encapsulation pppoe
host1(config-subif)#encapsulation pppoeUse the no version to disable PPPoE on an interface. interface atm
- Use to configure an ATM interface.
- To specify an ATM interface for ERX-7xx models, ERX-14xx models, and ERX-310 routers, use the slot/port.[subinterface ] format.
- slotNumber of the chassis slot
- portPort number on the I/O module
- subinterfaceNumber of the subinterface in the range 12147483647
- To specify an ATM interface for E120 and E320 routers, use the slot/adapter/port[.subinterface ] format.
- slotNumber of the chassis slot
- adapterIdentifier for the IOA within the E320 chassis, either 0 or 1, where:
- 0 indicates that the IOA is installed in the right IOA bay (E120 router) or the upper IOA bay (E320 router).
- 1 indicates that the IOA is installed in the left IOA bay (E120 router) or the lower IOA bay (E320 router).
- For more information, see Creating a Basic Configuration in Chapter 1, Configuring ATM.
- Examples
host1(config)#interface atm 0/1.19host1(config)#interface atm 0/0/1.19Use the no version to remove the interface or subinterface. 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 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 mtu
- Use to set the MTU using a combination of lower layer restrictions and controls.
- You can specify an MTU greater than the current maximum permitted by RFC 2516, in the range 6665535.
- You can use the use-lower-layer keyword to use the lower layer interface value minus any PPPoE overhead. You can use the use-mtu-tag keyword to use the provided PPPoE mtu tag value.
- Example
host1(config-profile)#pppoe mtu 1380Use the no version to restore the default value, 1494. pppoe sessions
- Use to specify the maximum number of PPPoE subinterfaces permitted on an interface, in the range 18000 (ERX routers) or 116,000 (E120 and E320 routers). The default value is 8000 (ERX routers) or 16,000 (E120 and E320 routers).
- The pppoe sessions command affects only those subinterfaces that you create after issuing this command. Previously created interfaces remain, even if their number exceeds the new value for pppoe sessions.
- Example
host1(config-if)#pppoe sessions 128Use the no version to restore the default value, 8000 (ERX routers) or 16,000 (E120 and E320 routers).