[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring PPP and PPPoE Dynamic Interfaces over Static ATM

E-series routers support dynamic PPP and PPPoE interfaces. The configuration procedure is very similar for each.

When using the auto-configure command, select only ppp or pppoe. The router automatically builds the necessary interfaces for you. When you indicate pppoe, on receipt of a PPPoE packet, the dynamic interface built is IP over PPP over PPPoE over ATM. Likewise, when you indicate ppp, the dynamic interface built is IP over PPP over ATM.

Figure 40 shows dynamic PPP interface columns on ATM interfaces.

Figure 40: Dynamic PPP Interface Columns

Image g013100.gif

Figure 41 shows dynamic PPPoE interface columns and illustrates how PPPoE supports multiple IP sessions over each ATM 1483 circuit.

Figure 41: Dynamic PPPoE Interface Columns

Image g013101.gif

You can specify either or both ppp and pppoe for the interface by specifying the auto-configure command for each type of interface. The first packet received defines the type of dynamic interface that is created.

Configuring a PPP or PPPoE Dynamic Interface

To configure an ATM 1483 subinterface to support a PPP or PPPoE dynamic interface:

  1. Configure a physical interface.
    host1(config)#interface atm 5/0
  2. Configure an ATM 1483 subinterface.
    host1(config-if)#interface atm 5/0.1
  3. Configure a PVC by specifying the virtual circuit descriptor (VCD), the virtual path identifier (VPI), the virtual channel identifier (VCI), and the encapsulation type.

    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
  4. Assign a profile to the PPP or PPPoE encapsulation types.
    host1(config-subif)#profile ppp foo
    host1(config-subif)#profile pppoe foo
  5. Configure the subinterface to detect and accept dynamic PPP or PPPoE.
    host1(config-subif)#auto-configure ppp
    host1(config-subif)#auto-configure pppoe

    In addition to ppp and pppoe, you can also specify ip or bridgedEthernet.

  6. (Optional) Verify your configuration.
    host1#show atm subinterface atm 5/0.1

atm pvc

auto-configure

interface atm

profile

Terminating Stale PPPoA Subscribers and Restarting LCP Negotiations

In configurations of dynamic IP over dynamic PPP over a static ATM 1483 subinterface, as shown in Figure 40, any of the following conditions might cause the static ATM 1483 subinterface to transition to a dormant state as the result of an ungraceful subscriber logout:

When the ATM 1483 subinterface transitions to a dormant state as a result of any of these conditions, the router tears down the dynamic PPP interface column. The dynamic PPP interface is unable to send an LCP terminate request to its peer because its own lower-layer interface is down. This action causes a loss of connectivity between the router and the PPPoA customer premises equipment (CPE). If the CPE supports the PPP keepalive feature, it can detect the loss of connectivity and restart Link Control Protocol (LCP) negotiations in order to initiate a new connection. However, if the CPE does not support PPP keepalive, it cannot detect that the connection is down, and continues to send PPP data packets to the router.

On receipt of an IPv4-over-PPP data packet or an IPv6-over-PPP data packet from the CPE when the ATM 1483 subinterface transitions to a dormant state, the router sends an LCP terminate request packet to the CPE. Receipt of the LCP terminate request packet causes the CPE to restart LCP negotiations in order to initiate a new connection. After the CPE restarts LCP negotiations, the router recreates the dynamic PPP and IP upper-layer interfaces above the static ATM 1483 subinterface. This behavior is always in effect on the router and does not require CLI or SNMP configuration.

Sending an LCP terminate request packet in response to receipt of an IPv4-over-PPP data packet or an IPv6-over-PPP data packet from a PPPoA CPE device offers the following benefits:

The router also sends an LCP terminate request packet to a PPPoA CPE device in configurations of dynamic IP over dynamic PPP over a dynamic (bulk-configured) ATM 1483 subinterface. For more information, see Terminating Stale PPPoA Subscribers and Restarting LCP Negotiations in Configuring Dynamic Interfaces Using Bulk Configuration.


[Contents] [Prev] [Next] [Index] [Report an Error]