Table Of Contents
Supported Standards, MIBs, and RFCs
Enabling PPP over ATM in a VPDN Group
Creating and Configuring a Virtual Template
Specifying an ATM Subinterface
PPPoE on ATM
This feature module describes the PPP over Ethernet (PPPoE) on ATM feature. It includes information on the benefits of the new feature, supported platforms, supported standards, and the commands necessary to configure the PPPoE on ATM feature.
This document includes the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
The PPPoE on ATM feature provides the ability to connect a network of hosts over a simple bridging-access device to a remote access concentrator. With this model, each host utilizes its own PPPoE stack and the user is presented with a familiar user interface. Access control, billing and type of service can be done on a per-user, rather than a per-site, basis. Before a point-to-point connection over Ethernet can be provided, each PPP session must learn the Ethernet address of the remote peer and establish a unique session identifier. A unique session identifier is provided by the PPPoE Discovery Stage protocol.
Figure 1 shows a sample network topology using PPPoE on ATM.
Figure 1 PPPoE on ATM Sample Network Topology
PPPoE Stage Protocols
PPPoE has two distinct stage protocols. The stage protocols are listed and summarized in Table 1.
Table 1 PPPoE Stage Protocols
There are four steps to the Discovery Stage:
1.
Host broadcasts a PPPoE Active Discovery Initiation (PADI) packet.
2.
When the access concentrator receives a PADI that it can serve, it replies by sending a PPPoE Active Discovery Offer (PADO) packet to the host.
3.
Because the PADI was broadcast, the host may receive more than one PADO packet. The host looks through the PADO packets it receives and chooses one. The choice can be based on the AC name or the services offered. The host then sends a single PPPoE Active Discovery Request (PADR) packet to the access concentrator that it has chosen.
4.
When the access concentrator receives a PADR packet, it prepares to begin a PPP session. It generates a unique SESSION_ID for the PPPoE session and replies to the host with a PPPoE Active Discovery Session-confirmation (PADS) packet.
When a host wishes to initiate a PPPoE session, it must first perform discovery to identify the Ethernet MAC address of the peer and establish a PPPOE SESSION_ID. Although PPP defines a peer-to-peer relationship, discovery is inherently a client/server relationship. In the discovery process, a host (the client) discovers an access concentrator (the server). Based on the network topology, there may be more than one access concentrator that the host can communicate with. The Discovery Stage allows the host to discover all access concentrators and then select one. When discovery is completed, both the host and the selected access concentrator have the information they will use to build their point-to-point connection over Ethernet.
Benefits
The PPPoE on ATM feature provides service-provider digital subscriber line (DSL) support. As service providers begin DSL deployments, two of their most significant goals are to ease and facilitate consumer end adoption and to preserve as much of the dialup model as possible. PPPoE serves to advance both of these goals by leveraging ethernet scale curves and embedded base (such as ATM NICs) and by preserving the point-to-point session used by internet service providers (ISPs) in today's dialup model.
Using a PPPoE client (available from RouterWare), a PPP session can be initiated on an Ethernet connected client through a standard ADSL modem. The session is transported over the ATM DSL link via RFC 1483 Ethernet bridged frames and can terminate either in the LAN emulation client (LEC) central office or the ISP point of presence (POP). The termination device can be an aggregation box such as the Cisco 6400 or a router such as the Cisco 7200 series platforms.
Restrictions
The following restrictions apply when PPPoE on ATM is used:
•
PPPoE will not be supported on Frame Relay.
•
PPPoE will not be supported on actual Ethernet interfaces.
•
PPPoE will not be supported on any other LAN interfaces such as FDDI and Token Ring.
•
Fast switching is supported. PPP over Ethernet over RFC 1483 fibswitching will be supported for IP. All other protocols will be switched over process switching.
•
Bridging is supported on the ATM permanent virtual connections (PVCs) running PPPoE.
•
PPPoE will be supported on ATM PVCs compliant with RFC 1483 only.
•
Only dial-in mode will be supported. Dial-out mode will not be supported.
•
2000 simultaneous PPP sessions are supported on the Cisco series 7200 with ATM Deluxe port adapters and on the Cisco series 6400 platforms only, both with 128 MB of DRAM.
Related Documents
•
RFC 1483, Multiprotocol Encapsulation over ATM Adaptation Layer 5
•
RFC 2364, PPP over AAL5
•
RFC 2516, A Method for Transmitting PPP over Ethernet (PPPoE)
Supported Platforms
This feature is supported on the following platforms:
•
Cisco 3600 series
•
Cisco 4500 series
•
Cisco 4700 series
•
Cisco 6400 NRP
•
Cisco 7200 series
•
Cisco MC3810
Supported Standards, MIBs, and RFCs
Standards
None
MIBs
No new MIBs are supported by this feature.
For descriptions of supported MIBs and how to use MIBs, see the Cisco MIB web site on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.
RFCs
•
RFC 1483, Multiprotocol Encapsulation over ATM Adaptation Layer 5
•
RFC 2364, PPP over AAL5
•
RFC 2516, A Method for Transmitting PPP over Ethernet (PPPoE)
Prerequisites
Before you can configure PPPoE on ATM, you need to configure a virtual private dial-up network (VPDN) group using the accept dialin command, enable PPPoE, and specify a virtual template for PPPoE sessions.
Configuration Tasks
See the following sections for configuration tasks for the PPPoE on ATM feature. Each task in the list indicates if the task is optional or required.
•
Enabling PPP over ATM in a VPDN Group (Required)
•
Creating and Configuring a Virtual Template (Optional)
•
Specifying an ATM Subinterface (Optional)
•
Creating an ATM PVC (Required)
•
Enabling PPPoE on an ATM PVC (Required)
Enabling PPP over ATM in a VPDN Group
After you configure the Cisco router or access server for Ethernet encapsulation, you must configure the physical interface with the PVC and apply a virtual template with PPP encapsulation to the PVC that it applies to. To configure the physical interface that will carry the PPPoE session and link it to the appropriate virtual template interface, use the following commands beginning in global configuration mode:
Creating and Configuring a Virtual Template
Prior to configuring the ATM PVC for PPPoE on ATM, you typically create and configure a virtual template. To create and configure a virtual template, use the following commands beginning in global configuration mode:
Other optional configuration commands can be added to the virtual template configuration. For example, you can enable the PPP authentication on the virtual template using the ppp authentication chap command. Refer to the "Virtual Interface Template Service" chapter in the Cisco IOS Dial Solutions Configuration Guide for additional information about configuring the virtual template.
All PPP parameters are managed within the virtual template configuration. Configuration changes made to the virtual template are automatically propagated to the individual virtual access interfaces. Multiple virtual access interfaces can spawn from a single virtual template; hence, multiple PVCs can use a single virtual template.
Cisco IOS software supports up to 25 virtual template configurations. If greater numbers of tailored configurations are required, an authentication, authorization, and accounting (AAA) server may be employed. Refer to the "Per-User Configuration" chapter in the Cisco IOS Dial Solutions Configuration Guide for further information on configuring an AAA server.
If the parameters of the virtual template are not explicitly defined before the ATM PVC is configured, the PPP interface is brought up using default values from the virtual template identified. Some parameters (such as an IP address) take effect only if specified before the PPP interface comes up. Therefore, we recommend that you explicitly create and configure the virtual template before configuring the ATM PVC to ensure such parameters take effect. Alternatively, if parameters are specified after the ATM PVC has already been configured, you should issue a shutdown command followed by a no shutdown command on the ATM subinterface to restart the interface; this restart will cause the newly configured parameters (such as an IP address) to take effect.
Network addresses for the PPP-over-ATM connections are not configured on the main ATM interface or subinterface. Instead, these connections are configured on the appropriate virtual template or obtained via AAA.
The virtual templates support all standard PPP configuration commands; however, not all configurations are supported by the PPP-over-ATM virtual access interfaces. These restrictions are enforced at the time the virtual template configuration is applied (cloned) to the virtual access interface. These restrictions are described in the following paragraphs.
Only standard first-in, first-out (FIFO) queueing is supported when applied to PPP-over-ATM virtual access interfaces. Other types of queueing that are typically configured on the main interface are not (for example, fair queueing). If configured, these configuration lines are ignored when applied to a PPP-over-ATM interface.
Although Cisco Express Forwarding (CEF) switching is supported, fast switching, flow, and optimum switching are not; these configurations are ignored on the PPP-over-ATM virtual access interface. CEF is enabled by default for IP. All other protocol traffic will be processed switched.
Note
The PPP reliable link that uses Link Access Procedure, Balanced (LAPB) is not supported.
Because an ATM PVC is configured for this feature, the following standard PPP features are not applicable and should not be configured:
•
Asynchronous interfaces
•
Dialup connections
•
Callback on PPP
Specifying an ATM Subinterface
After you create a virtual template for PPPoE on ATM, specify a multipoint or point-to-point subinterface per PVC connection. To specify an ATM multipoint subinterface, use one of the following commands in global configuration mode:
Command Purpose Router# interface atm slot/0.subinterface-number multipoint | point-to-pointorRouter# interface atm number.subinterface-number multipoint | point-to-point
Specifies the ATM subinterface using the appropriate format of the interface atm command.1
A multipoint subinterface is recommended for interface conservation. A point-to-point subinterface will greatly restrict the total number of PPPoE sessions you can have up.
1 Use the interface atm slot/0 command with the ATM port adapter on the Cisco 7200 series router and the 1-port ATM-25 network module on the Cisco 2600 and 3600 series routers. Use the interface atm number command with the NPM on the Cisco 4500 and 4700 routers. Use interface atm 0 on the Cisco MC3810.
Creating an ATM PVC
After you create a virtual template and specify an ATM subinterface, you must create an ATM PVC. To create an ATM PVC, use the following commands beginning in interface configuration mode:
Command PurposeStep 1
Router(config)# pvc [name] vpi/vciCreates an ATM PVC.
Step 2
Router(config-if)# encapsulation aal5snapSpecifies AAL5 SNAP for ATM encapsulation.
The peak rate value is typically identical to the average rate or some suitable multiple thereof.
The average rate value should be set to the line rate available at the remote site, because the remote line rate will typically have the lowest speed of the connection.
For example, if the remote site has a T1 link, set the line rate to 1.536 Mbps. Because the average rate calculation on the ATM PVC includes the cell headers, a line rate value plus 10 or 15 percent may result in better remote line utilization.
The burst size depends on the number of cells that can be buffered by receiving ATM switches and is coordinated with the ATM network connection provider. If this value is not specified, the default, which is the equivalent to one maximum length frame on the interface, is used.
Operations, Administration and Maintenance (OAM) F5 cell loopback is provided by the remote AXIS shelf so OAM may be enabled. However, PPPoE on ATM is not typically an end-to-end ATM connection, and therefore enabling OAM is not recommended.
Once you configure the router for PPPoE on ATM, the PPP subsystem starts and the router attempts to send a PPP configure request to the remote peer. If the peer does not respond, the router periodically goes into a "listen" state and waits for a configuration request from the peer. After a timeout (typically 45 seconds), the router again attempts to reach the remote router by sending configuration requests.
Enabling PPPoE on an ATM PVC
To enable PPPoE on an ATM PVC, use the following command in interface configuration mode:
Command PurposeRouter(config-if)# protocol pppoeSpecifies the VPDN group to be used for establishing PPPoE sessions.
Configuration Example
This section provides the following configuration example:
PPPoE on ATM
The following example configures PPPoE on ATM to accept dial-in PPPoE sessions. The virtual access interface for the PPP session is cloned form virtual template interface 1. On subinterface ATM 2/0.1, ATM PVC with VPI 0 and VCI 60 is configured with Logical Link Control (LLC)/Subnetwork Access Protocol (SNAP) encapsulation and is configured to run PPPoE. Bridged Ethernet protocol data units (PDUs) with destination MAC address set to the ATM interface MAC address and Ethernet type set to 0x8863 for that PVC are enqueued to the PPPoE discovery process. All bridged Ethernet PDUs with destination MAC address set to the ATM interface MAC address and Ethernet type set to 0x8864 coming in from that PVC are forwarded to the virtual access interface associated with the PPP session.
vpdn enablevpdn-group 1accept dialinprotocol pppoevirtual-template 1interface atm 2/0.1 multipointpvc 0/60encapsulation aal5snapprotocol pppoeinterface virtual-template 1ip addr 10.0.1.2 255.255.255.0mtu 1492For PPPoE virtual template interfaces, "mtu 1492" must be configured because Ethernet has a maximum payload size of 1500 bytes, the PPPoE header is 6 bytes, and PPP Protocol ID is 2 bytes.
Note
Dial-out mode will not be supported.
Command Reference
This section documents new or modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.1 command reference publications.
List of new Cisco IOS Commands are as follows:
•
pppoe session-limit per-mac
•
pppoe session-limit per-vc
List of modified Cisco IOS Commands are as follows:
•
accept dialin
•
protocol (VPDN)
•
show atm pvc
•
show vpdn
•
virtual-template
•
vpdn group
accept dialin
To configure an LNS to accept tunneled PPP connections from a LAC and create an accept dialin VPDN subgroup, use the accept dialin VPDN group configuration command. To remove the accept dialin subgroup from a VPDN group, use the no form of this command.
accept dialin
no accept dialin
Syntax Description
This command has no keywords or arguments.
Defaults
Disabled
Command Modes
VPDN group
Command History
Usage Guidelines
For a VPDN group to accept dialin calls, you must also configure the following commands:
•
terminate-from VPDN group command
•
protocol VPDN subgroup command
•
virtual-template accept dialin command
Once an L2F or L2TP tunnel is established, both dial-in and dial-out calls can use the same tunnel.
This command replies to a dial in L2F or L2TP tunnel open request from the specified peer. Once the LNS accepts the request from a LAC, it uses the specified virtual template to clone new virtual access interfaces. This command replaces the vpdn incoming command used in Cisco IOS Release 11.3. The user interface will automatically be upgraded when you reload the router with a Cisco IOS Release 12.0 T or 11.3 AA image.
Typically, you need one VPDN group for each LAC. For an LNS that services many LACs, the configuration can become cumbersome; however, you can use the default VPDN group configuration if all the LACs will share the same tunnel attributes. An example of this scenario would be an LNS that services a large department with many Windows NT L2TP clients that are co-located with the LAC. Each of the Windows NT devices is an L2TP client and a LAC. Each of these devices will demand a tunnel to the LNS. If all the tunnels will share the same tunnel attributes you can use a default VPDN group configuration, which accelerated and simplifies the configuration process.
Note
The vpdn group command must be configured with the accept dialin or request dialin command to be functional. The requester initiates a dial-in tunnel. The acceptor accepts a request for a dial-in tunnel.
Examples
The following example enables the LNS to accept an L2TP tunnel from a LAC named mugsy. A virtual access interface will be cloned from virtual-template 1:
vpdn-group 1accept dialinprotocol l2tpvirtual-template 1terminate-from hostname mugsyIf you do not use the terminate-from command, you automatically enable a default VPDN group, which allows all tunnels to share the same tunnel attributes:
vpdn-group 1! Default L2TP VPDN groupaccept dialinprotocol l2tpvirtual-template 1Related Commands
pppoe session-limit per-mac
To set the limit of sessions to be sourced from a MAC address, use the pppoe session-limit per-mac command in VPDN configuration mode.
pppoe session-limit per-mac number
Syntax Description
Defaults
100 sessions
Command Modes
VPDN configuration
Command History
Examples
The following example sets a limit of 10 sessions to be sourced from a MAC address:
pppoe session-limit per-mac 10Related Commands
Command Descriptionpppoe session-limit per-vc
Sets the limit of sessions to be established over a VC.
pppoe session-limit per-vc
To set the limit of sessions to be established over a VC, use the pppoe session-limit per-vc command in VPDN configuration mode.
pppoe session-limit per-vc number
Syntax Description
Defaults
100 sessions
Command Modes
VPDN configuration
Command History
Examples
The following example sets a limit of 10 sessions to be established over a VC:
pppoe session-limit per-vc 10Related Commands
Command Descriptionpppoe session-limit per-mac
Sets the limit of sessions to be sourced from a MAC address.
protocol (VPDN)
To specify the Layer 2 tunneling protocol (L2TP) that the VPDN subgroup will use, use the protocol (VPDN) subgroup command. To remove the protocol-specific configurations from a VPDN subgroup, use the no form of this command.
protocol {l2f | l2tp | any | pppoe | tunnel}
no protocol
Syntax Description
Defaults
Disabled
Command Modes
VPDN subgroup
Command History
Release Modification12.0(5)T
This command was introduced.
12.1(1)T
This command was modified to support the pppoe keyword.
Usage Guidelines
This command is required for all four of the VPDN subgroups.
L2TP is the only protocol that can be used for dial-out.
Changing the protocol will remove all the commands from the VPDN subgroup and any protocol-specific commands from the VPDN group configuration.
Examples
The following example configures vpdn group 1 to accept dial-in calls using L2F and request dial-out calls using L2TP:
vpdn-group 1accept dialinprotocol l2fvirtual-template 1request dialoutprotocol l2tppool-member 1local name reubenterminate-from hostname ceriseinitiate-to ip 10.3.2.1l2f ignore-mid-sequencel2tp ip udp checksumIf you then use the no protocol (VPDN) command in request-dialout mode, the configuration will be changed to the following:
vpdn-group 1accept dialinprotocol l2fvirtual-template 1request dialoutlocal name reubenterminate-from hostname cerisel2f ignore-mid-sequenceThe following example configures vpdn group 1 to allow users to configure the router to accept dial-in PPPoE calls:
vpdn-group 1accept dialinprotocol pppoevirtual-template 1
Note
Users must first enter the vpdn enable command to set up the PPP over Ethernet discovery demon.
Related Commands
show atm pvc
To display all ATM permanent virtual connections (PVCs) and traffic information, use the show atm pvc privileged EXEC command.
show atm pvc [vpi/vci | name | interface atm interface-number][ppp]
Syntax Description
Defaults
No default behavior or values.
Command Modes
Privileged EXEC
Command History
Release Modification11.3T
This command was introduced.
12.1(1)T
This command was modified to display PPPoE status.
Usage Guidelines
If the vpi/vci or name argument is not specified, the output of this command is the same as that of the show atm vc command but only the configured PVCs are displayed. See the first sample output in the "Examples" section.
If the vpi/vci or name argument is specified, the output of this command is the same as the show atm vc vcd command, with extra information related to PVC management including connection name, detailed states, and operations administration maintenance (OAM) counters. See the second and third sample output in the "Examples" section.
If the interface atm interface-number option is included in the command, all PVCs under that interface or subinterface are displayed. See the third sample output in the "Examples" section.
Examples
The following is sample output from the show atm pvc command:
show atm pvcVCD/ Peak Avg/Min BurstInterface Name VPI VCI Type Encaps Kbps Kbps Cells Sts2/0 1 0 5 PVC SAAL 155000 155000 UP2/0 2 0 16 PVC ILMI 155000 155000 UP2/0.2 101 0 50 PVC SNAP 155000 155000 UP2/0.2 102 0 60 PVC SNAP 155000 155000 DOWN2/0.2 104 0 80 PVC SNAP 155000 155000 UP2/0 hello 0 99 PVC SNAP 1000 UPThe following is sample output from the show atm pvc command with the vpi/vci argument specified:
show atm pvc 0/41ATM2/0: VCD: 3, VPI: 0, VCI: 41UBR, PeakRate: 155000AAL5-LLC/SNAP, etype:0x0, Flags: 0xC20, VCmode: 0x0OAM frequency: 0 second(s), OAM retry frequency: 1 second(s), OAM retry frequency: 1 second(s)OAM up retry count: 3, OAM down retry count: 5OAM Loopback status: OAM DisabledOAM VC state: Not ManagedILMI VC state: Not ManagedInARP frequency: 15 minutes(s)InPkts: 31759, OutPkts: 26497, InBytes: 2356434, OutBytes: 1589743InPRoc: 15785, OutPRoc: 26472, Broadcasts: 0InFast: 20, OutFast: 20, InAS: 15954, OutAS: 6OAM cells received: 0F5 InEndloop: 0, F5 InSegloop: 0, F5 InAIS: 0, F5 InRDI: 0F4 InEndloop: 0, F4 InSegloop: 0, F4 InAIS: 0, F4 InRDI: 0OAM cells sent: 0F5 OutEndloop: 0, F5 OutSegloop: 0, F5 OutRDI: 0F4 OutEndloop: 0, F4 OutSegloop: 0, F4 OutRDI: 0OAM cell drops: 0Status: UPPPPOE enabled.The following is sample output from the show atm pvc command with the ATM subinterface specified:
show atm pvc interface atm 2/0.2VCD/ Peak Avg/Min BurstInterface Name VPI VCI Type Encaps Kbps Kbps Cells Sts2/0.2 101 0 50 PVC SNAP 155000 155000 UP2/0.2 102 0 60 PVC SNAP 155000 155000 DOWN2/0.2 104 0 80 PVC SNAP 155000 155000 UPTable 2 describes significant fields shown in the displays.
show vpdn
To display information about active Level 2 Forwarding (L2F) protocol tunnel and message identifiers in a virtual private dialup network (VPDN), use the show vpdn EXEC command.
show vpdn [session][packets][tunnel][all]
Syntax Description
Defaults
No default behavior or values.
Command Modes
EXEC
Command History
Usage Guidelines
If the session, packet, or all keywords are specified, the output of this command displays PPPoE session information.
PPPoE will be supported on ATM permanent virtual connections (PVCs) compliant with RFC 1483 only. Currently, PPPoE is not supported on frame relay, actual ethernet interfaces, and any other LAN interfaces such as FDDI and Token Ring.
Examples
The following is an example of output from the show vpdn command for L2F and L2TP sessions:
show vpdnActive L2F tunnelsNAS Name Gateway Name NAS CLID Gateway CLID Statenas gateway 4 2 openL2F MIDsName NAS Name Interface MID Statephil@cisco.com nas As7 1 opensam@cisco.com nas As8 2 openTable 3 describes the fields shown in the show vpdn command display.
The following is an example of output from the show vpdn command for a PPPoE session:
show vpdn%No active L2TP tunnels%No active L2F tunnelsPPPoE Tunnel and Session Information Total tunnels 1 sessions 1PPPoE Tunnel InformationSession count:1PPPoE Session InformationSID RemMAC LocMAC Intf VASt OIntf VC1 0010.7b01.2cd9 0090.ab13.bca8 Vi4 UP AT6/0 0/104The following is an example of output from the show vpdn session command for a PPPoE session:
show vpdn session%No active L2TP tunnels%No active L2F tunnelsPPPoE Session Information Total tunnels 1 sessions 1PPPoE Session InformationSID RemMAC LocMAC Intf VASt OIntf VC1 0010.7b01.2cd9 0090.ab13.bca8 Vi4 UP AT6/0 0/104Table 4 describes the fields shown in both the show vpdn and show vpdn session command displays.
The following is an example of output from the show vpdn session packets command for a PPPoE session:
show vpdn session packets%No active L2TP tunnels%No active L2F tunnelsPPPoE Session Information Total tunnels 1 sessions 1PPPoE Session InformationSID Pkts-In Pkts-Out Bytes-In Bytes-Out1 202333 202337 2832652 2832716Table 5 describes the fields in the show vpdn session packets command display.
The following is an example of output from the show vpdn tunnel command for L2F and L2TP sessions:
show vpdn tunnelL2TP Tunnel Information (Total tunnels=1 sessions=1)LocID RemID Remote Name State Remote Address Port Sessions2 10 wander est 172.21.9.13 1701 1L2F TunnelNAS CLID HGW CLID NAS Name HGW Name State9 1 stella acadia open172.21.9.4 172.21.9.232Table 6 describes the fields in the show vpdn tunnel command display.
The following is an example of output from the show vpdn session all command for a PPPoE session:
show vpdn session all%No active L2TP tunnels%No active L2F tunnelsPPPoE Session Information Total tunnels 1 sessions 1session id:1local MAC address:0090.ab13.bca8, remote MAC address:0010.7b01.2cd9virtual access interface:Vi4, outgoing interface:AT6/0, vc:0/104202343 packets sent, 202339 received, 2832800 bytes sent, 2832736 receivedThis example output displays all accessible information about a PPPoE session. Table 7 describes the fields in the show vpdn session all command display.
Related Commands
virtual-template
To specify which virtual template will be used to clone virtual-access interfaces, use the virtual-template accept-dialin command. To remove the virtual template from an accept-dialin VPDN subgroup, use the no form of this command.
virtual-template template-number
no virtual-template
Syntax Description
template-number
Number of the virtual template that will be used to clone virtual-access interfaces.
Defaults
Disabled
Command Modes
Accept-dialin mode
Command History
Release Modification12.0(5)T
This command was introduced.
12.1(1)T
An example of enabling PPPoE on ATM to accept dialin PPPoE sessions is added.
Usage Guidelines
Each accept-dialin group can only clone virtual-access interfaces using one virtual template. If you enter a second virtual-template command on an accept-dialin subgroup, it will replace the first virtual-template command.
You must first enable a tunneling protocol on the accept-dialin VPDN subgroup (using the protocol command) before you can enable the virtual-template command. Removing or modifying the protocol command will remove virtual-template command from the request-dialin subgroup.
Examples
The following example enables the LNS to accept an L2TP tunnel from a LAC named mugsy. A virtual-access interface will be cloned from virtual template 1:
vpdn-group 1accept dialinprotocol l2tpvirtual-template 1terminate-from hostname mugsyThe following example enables PPPoE on ATM to accept dialin PPPoE sessions. A virtual access interface for the PPP session is cloned from virtual template 1:
vpdn-group 1accept dialinprotocol pppoevirtual-template 1Related Commands
vpdn group
To associate a VPDN group to a customer or VPDN profile, use the vpdn group configuration command. Use the no form of this command to remove the VPDN group from a customer profile or VPDN profile.
vpdn group name
no vpdn group name
Syntax Description
Defaults
No default behavior or values.
Command Modes
Customer profile configuration/VPDN profile configuration
Command History
Usage Guidelines
Use the vpdn group configuration command to associate a VPDN group to a customer or VPDN profile. You can count the sessions for an entire VPDN group under a single VPDN profile.
To add a VPDN group to a customer profile or VPDN profile, use either the vpdn profile or the vpdn group command:
•
VPDN group under customer profile allows VPDN connections for this customer profile.
•
VPDN groups under VPDN profile allows combined session counting over these VPDN groups.
Examples
Example 1
resource profile vpdn lggatevpdn group ?WORD Enter name of VPDN groupExample 2
resource profile customer customer1vpdn group ?WORD Enter name of VPDN groupRelated Commands
Debug Commands
This section documents new or modified debug commands. All other commands used with this feature are documented in the Cisco IOS Release 12.1 command reference publications.
This section documents the new debug command related to the PPPoE on ATM feature.
List New IOS debug commands:
•
debug vpdn pppoe-data
•
debug vpdn pppoe-error
•
debug vpdn pppoe-events
•
debug vpdn pppoe-packet
debug vpdn pppoe-data
To display data packets of PPPoE sessions, use the debug vpdn pppoe-data command in EXEC mode. To disable the debugging output, use the no form of this command.
debug vpdn pppoe-data
no debug vpdn pppoe-data
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command History
Usage Guidelines
The debug vpdn pppoe-data command displays a large number of debug messages and should generally only be used on a debug chassis with a single active session.
Examples
The following is an example of output from the debug vpdn pppoe-data command:
6d20h:%LINK-3-UPDOWN:Interface Virtual-Access1, changed state to up6d20h:PPPoE:OUTcontiguous pak, size 19FF 03 C0 21 01 01 00 0F 03 05 C2 23 05 05 06 D3FF 2B DA6d20h:PPPoE:INparticle pak, size 1240C0 21 01 01 00 0A 05 06 39 53 A5 17 00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 006d20h:PPPoE:OUTcontiguous pak, size 14FF 03 C0 21 02 01 00 0A 05 06 39 53 A5 176d20h:PPPoE:OUTcontiguous pak, size 19FF 03 C0 21 01 02 00 0F 03 05 C2 23 05 05 06 D3FF 2B DA6d20h:PPPoE:INparticle pak, size 1740C0 21 02 02 00 0F 03 05 C2 23 05 05 06 D3 FF 2BDA 00 80 C2 00 07 00 00 00 10 7B 01 2C D9 00 B0C2 EB 10 38 88 64 11 006d20h:PPPoE:OUTcontiguous pak, size 30FF 03 C2 23 01 06 00 1A 10 99 1E 6E 8F 8C F2 C6EE 91 0A B0 01 CB 89 68 13 47 61 6E 67 616d20h:PPPoE:INparticle pak, size 3840C2 23 02 06 00 24 10 E6 84 FF 3A A4 49 19 CE D7AC D7 D5 96 CC 23 B3 41 6B 61 73 68 40 63 69 7363 6F 2E 63 6F 6D 00 006d20h:PPPoE:OUTcontiguous pak, size 8FF 03 C2 23 03 06 00 046d20h:PPPoE:OUTcontiguous pak, size 14FF 03 80 21 01 01 00 0A 03 06 65 65 00 666d20h:PPPoE:INparticle pak, size 124080 21 01 01 00 0A 03 06 00 00 00 00 49 19 CE D7AC D7 D5 96 CC 23 B3 41 6B 61 73 68 40 63 69 7363 6F 2E 63 6F 6D 00 006d20h:PPPoE:OUTcontiguous pak, size 14FF 03 80 21 03 01 00 0A 03 06 65 65 00 676d20h:PPPoE:INparticle pak, size 124080 21 02 01 00 0A 03 06 65 65 00 66 00 04 AA AA03 00 80 C2 00 07 00 00 00 10 7B 01 2C D9 00 B0C2 EB 10 38 88 64 11 006d20h:PPPoE:INparticle pak, size 124080 21 01 02 00 0A 03 06 65 65 00 67 49 19 CE D7AC D7 D5 96 CC 23 B3 41 6B 61 73 68 40 63 69 7363 6F 2E 63 6F 6D 00 006d20h:PPPoE:OUTcontiguous pak, size 14FF 03 80 21 02 02 00 0A 03 06 65 65 00 676d20h:%LINEPROTO-5-UPDOWN:Line protocol on Interface Virtual-Access1,changed state to up6d20h:PPPoE:OUTcontiguous pak, size 16FF 03 C0 21 09 01 00 0C D3 FF 2B DA 4C 4D 49 A46d20h:PPPoE:INparticle pak, size 1440C0 21 0A 01 00 0C 39 53 A5 17 4C 4D 49 A4 AA AA03 00 80 C2 00 07 00 00 00 10 7B 01 2C D9 00 B0C2 EB 10 38 88 64 11 006d20h:PPPoE:INparticle pak, size 1440C0 21 09 01 00 0C 39 53 A5 17 00 00 00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00Table 8 describes the fields in the displays.
Related Commands
debug vpdn pppoe-error
To display PPPoE protocol errors that prevent a session from being established or errors that cause an established sessions to be closed, use the debug vpdn pppoe-error command in EXEC mode. To disable the debugging output, use the no form of this command.
debug vpdn pppoe-error
no debug vpdn pppoe-error
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command History
Examples
The following is a full list of error messages displayed by the debug vpdn pppoe-error command:
PPPOE:pppoe_acsys_err cannot grow packetPPPoE:Cannot find PPPoE infoPPPoE:Bad MAC address:00b0c2eb1038PPPOE:PADI has no service name tagPPPoE:pppoe_handle_padi cannot add AC name/Cookie.PPPoE:pppoe_handle_padi cannot grow packetPPPoE:pppoe_handle_padi encap failedPPPoE cannot create virtual access.PPPoE cannot allocate session structure.PPPoE cannot store session element in tunnel.PPPoE cannot allocate tunnel structure.PPPoE cannot store tunnelPPPoE:VA221:No Session, Packet DiscardedPPPOE:Tried to shutdown a null sessionPPPoE:Session already open, closingPPPoE:Bad cookie:src_addr=00b0c2eb1038PPPoE:Max session count on mac elem exceeded:mac=00b0c2eb1038PPPoE:Max session count on vc exceeded:vc=3/77PPPoE:Bad MAC address - dropping packetPPPoE:Bad version or type - dropping packetTable 9 describes the fields in the displays.
Related Commands
debug vpdn pppoe-events
To display PPPoE protocol messages about events that are part of normal session establishment or shutdown, use the debug vpdn pppoe-events command in EXEC mode. To disable the debugging output, use the no form of this command.
debug vpdn pppoe-events
no debug vpdn pppoe-events
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command History
Examples
The following is an example of output from the debug vpdn pppoe-events command:
1w5d:IN PADI from PPPoE tunnel1w5d:OUT PADO from PPPoE tunnel1w5d:IN PADR from PPPoE tunnel1w5d:PPPoE:VPN session created.1w5d:%LINK-3-UPDOWN:Interface Virtual-Access2, changed state to up1w5d:%LINEPROTO-5-UPDOWN:Line protocol on Interface Virtual-Access2, changed state to upTable 10 describes the fields in the displays.
Related Commands
debug vpdn pppoe-packet
To display each PPPoE protocol packet exchanged, use the debug vpdn pppoe-packet command in EXEC mode.To disable the debugging output, use the no form of this command.
debug vpdn pppoe-packet
no debug vpdn pppoe-packet
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command History
Usage Guidelines
The debug vpdn pppoe-packet command displays a large number of debug messages and should generally only be used on a debug chassis with a single active session.
Examples
The following is an example of output from the debug vpdn pppoe-packet command:
PPPoE control packets debugging is on1w5d:PPPoE:discovery packetcontiguous pak, size 74FF FF FF FF FF FF 00 10 7B 01 2C D9 88 63 11 0900 00 00 04 01 01 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...1w5d:OUT PADO from PPPoE tunnelcontiguous pak, size 7400 01 09 00 AA AA 03 00 80 C2 00 07 00 00 00 107B 01 2C D9 00 90 AB 13 BC A8 88 63 11 07 00 0000 20 01 01 00 00 01 02 00 04 41 67 6E 69 01 ...1w5d:PPPoE:discovery packetcontiguous pak, size 7400 90 AB 13 BC A8 00 10 7B 01 2C D9 88 63 11 1900 00 00 20 01 01 00 00 01 02 00 04 41 67 6E 6901 04 00 10 B7 4B 86 5B 90 A5 EF 11 64 A9 BA ...Table 11 describes the fields in the displays.
Related Commands
List of Terms
AAL5 - ATM Adaptation Layer 5ADSL - Asymmetric Digital Subscriber LineATM - Asynchronous Transfer ModeCPCS - Common Part of Convergence SublayerCPI - Common Part IndicatorCRC - Cyclic Redundancy CheckDSLAM - Digital Subscriber Line Access MultiplexerFCS - Frame Check SequenceIETF - Internet Engineering Task ForceID - IdentifierIP - Internet ProtocolL2TP - Layer two Tunneling ProtocolLAN - Local Area NetworkLLC - Logical Link ControlMAC - Media Access ControlPDU - Protocol Data UnitPPP - Point to Point ProtocolPPPoE - Point to Point Protocol over EthernetPVC - Permanent Virtual ConnectionVPDN- Virtual Private Dialup Network


