Configuring PPPoE over ATM
This section provides an example of a common PPPoE over ATM configuration. See Figure 7-2. Additional information is provided in the following chapters:
- Chapter 1, Configuring ATM - Provides detailed information about ATM technology and line interface module capabilities.
- Chapter 9, Configuring Bridged Ethernet - Provides configuration information about Bridged Ethernet, which allows multiple upper-layer interface types (IP, PPPoE, and CBF) to be simultaneously multiplexed over the same interface.
- Chapter 13, Configuring Dynamic Interfaces - Provides detailed information about configuring ATM to support dynamic interfaces.
host1(config)#interface atm 0/1host1(config-if)#interface atm 0/1.20
- Configure a PVC by specifying the vcd (virtual circuit descriptor), the vci (virtual channel identifier), the vpi (virtual path identifier), and the encapsulation type.
host1(config-if)#atm pvc 10 22 100 aal5snaphost1(config-subif)#encapsulation pppoehost1(config-if)#pppoe sessions 128host1(config-subif)#interface atm 0/1.20.1host1(config-subif)#encapsulation ppphost1(config-subif)#pppoe acname CYM9876
- (Optional) Set up the system to prevent a client from establishing more than one session using the same MAC address
host1(config-subif)#pppoe duplicate-protectionhost1(config-subif)#ip address 192.32.10.20 255.255.255.
- (Optional) Configure additional PPPoE subinterfaces by completing steps 6 through 8 using unique numbering.
host1(config-subif)#interface atm 0/1.20.2![]()
atm pvc
- vcd - virtual circuit descriptor, which identifies a virtual circuit in the range 1-2147483647. 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 ERX-700 series or ERX-1400 series edge router.
- vpi - virtual 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 ERX-700 series or ERX-1400 series edge 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.
- vci - virtual 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 ERX-700 series or ERX-1400 series edge router. The parameters vpi and vci cannot be both set to 0; if one is 0, the other cannot be 0.
- encapsulation type:
- aal5snap - specifies a logical link control (LLC) encapsulated circuit. An LLC/Subnetwork Access Protocol (LLC/SNAP) precedes the protocol datagram.
- aal5mux ip - specifies a multiplexed circuit used for IP only
- aal5autoconfig - enables the autodetection of a 1483 encapsulation (LLC/SNAP or VC multiplexed)
host1(config-if)#atm pvc 10 100 22 aal5autoconfigencapsulation ppp
host1(config-subif)#encapsulation pppencapsulation pppoe
host1(config-subif)#encapsulation pppoeinterface atm
- A slot refers to a system chassis slot.
- A port refers to a T3 module port.
- A subinterface is a mechanism that allows a single physical interface to support multiple logical interfaces or networks. Several logical interfaces or networks can be associated with a single hardware interface. Protocols, such as ATM, require that you create one or more virtual circuits over which your data traffic is transmitted to higher layers in the protocol stack. A subinterface is identified by a user-defined number from 1 to 4294967293.
host1(config)#interface atm 0/1.19ip address
host1(config-if)#ip address 192.1.1.1 255.255.255.0pppoe 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 will contain the AC name as configured.
- If the AC name is not configured, the system name is used.
- The AC name can be a maximum of 64 characters.
- Example
host1(config-subif)#pppoe acname CYM9876pppoe 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-protectionpppoe sessions
- Use to specify the maximum number of PPPoE subinterfaces permitted on an interface in the range 1-4094. The default value is 4094.
- The pppoe sessions command affects only subinterfaces that are created after the command is entered. Previously created interfaces remain, even if their number exceeds the new value of the sessions parameter.
- Example
host1(config-if)#pppoe sessions 128