Table Of Contents
Supported Standards, MIBs, and RFCs
Enabling PPPoE on Ethernet in a VPDN Group
Limiting PPPoE Sessions from a MAC Address
Creating and Configuring a Virtual Template
Specifying an Ethernet Interface
Enabling PPPoE on an Ethernet Interface
Monitoring and Maintaining VPDN Groups
Enabling PPPoE on an Ethernet Interface Example
PPPoE on Ethernet
This feature module describes the PPP over Ethernet (PPPoE) on Ethernet feature and includes the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
The PPPoE on Ethernet feature adds support to PPPoE by adding direct connection to actual Ethernet interfaces. PPPoE provides service-provider digital subscriber line (DSL) support. This Ethernet specification can be used by multiple hosts on a shared Ethernet interface to open PPP sessions to multiple destination with one or more bridging modems.
Benefits
Broadband Remote Access
For a bridged-Ethernet topology, this feature allows access providers to maintain session abstraction associated with PPP networks.
PPPoE
PPPoE provides the ability to connect a network of hosts over a simple bridging access device to a remote access concentrator where each host utilizes its own PPP stack. And the user gets a familiar interface.
PPPoE provides service-provider DSL support. In service-provider DSL deployments, PPPoE facilitates consumer end adoption by leveraging Ethernet scale curves and by using an embedded base.
Restrictions
The following restrictions apply when the PPPoE on Ethernet feature is used:
•
PPPoE will not be supported on Frame Relay.
•
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.
Related Documents
The following are related feature modules on PPPoE:
•
PPPoE on ATM
•
PPPoE on Cable Interfaces
•
PPPoE on IEEE 802.1Q Encapsulation
Supported Platforms
This feature is supported on the following platforms:
•
Cisco 3600 series
•
Cisco 4500 series
•
Cisco 4700 series
•
Cisco 6400 series
•
Cisco 7500 series
•
Cisco MC3810 series
•
Cisco UBR 7200 series
Supported Standards, MIBs, and RFCs
Standards
None
MIBs
No new MIBs are supported by this feature.
To obtain lists of MIBs supported by platform and Cisco IOS release and to download MIB modules, go to the Cisco MIB web site on Cisco Connection Online (CCO) at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.
RFCs
•
RFC 2516, A Method for Transmitting PPPoE
Prerequisites
Before you can configure PPPoE on Ethernet, you need to configure a virtual private dialup 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 Ethernet feature. Each task in the list indicates if the task is optional or required.
•
Enabling PPPoE on Ethernet in a VPDN Group (Required)
•
Limiting PPPoE Sessions from a MAC Address (Optional)
•
Creating and Configuring a Virtual Template (Optional)
•
Specifying an Ethernet Interface (Optional)
•
Enabling PPPoE on an Ethernet Interface (Required)
Enabling PPPoE on Ethernet in a VPDN Group
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:
Limiting PPPoE Sessions from a MAC Address
To set the limit of sessions to be sourced from a MAC address, use the following command in VPDN configuration mode:
Command Purpose Router(config-if)# pppoe session-limit per-mac numberSets the limit of sessions to be sourced from a MAC address.
Creating and Configuring 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 Release 12.1 Cisco IOS Dial Solutions Configuration Guide for additional information about configuring the virtual template.
Although Cisco Express Forwarding (CEF) switching is supported, flow, and optimum switching are not; these configurations are ignored on the PPP-over-Ethernet 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.
Specifying an Ethernet Interface
After you create a virtual template for PPPoE on Ethernet, specify a multipoint or point-to-point interface. To specify an Ethernet multipoint interface, use one of the following commands in global configuration mode:
Command Purpose Router# interface ethernet interface-numberSpecifies the Ethernet interface using the appropriate format of the interface ethernet command.
Enabling PPPoE on an Ethernet Interface
To enable PPPoE on Ethernet interfaces, use the following command in global configuration mode:
Command PurposeRouter# pppoe enableSpecifies the VPDN group to be used for establishing PPPoE sessions.
Monitoring and Maintaining VPDN Groups
To monitor and maintain VPDN groups, use the following command in EXEC mode.
Configuration Examples
This section provides the following configuration examples:
•
Enabling PPPoE on an Ethernet Interface Example
PPPoE on Ethernet Example
The following example configures PPPoE on Ethernet to accept dial-in PPPoE sessions. The virtual access interface for the PPP session is cloned from virtual template interface 1. Bridged Ethernet protocol data units (PDUs) with destination MAC addresses set to the Ethernet interface MAC address and Ethernet type set to 0x8863 are enqueued to the PPPoE discovery process. All bridged Ethernet PDUs with destination MAC addresses set to the Ethernet interface MAC address and Ethernet type set to 0x8864 coming in are forwarded to the virtual access interface associated with the PPP session.
vpdn enablevpdn-group 1accept dialinprotocol pppoevirtual template 1pppoe limit per-mac <number>int virtual-template 1ip address 100.100.100.100 255.255.255.0mtu 1492For PPPoE virtual template interfaces, the mtu command 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.
Enabling PPPoE on an Ethernet Interface Example
The following example enables PPPoE on an Ethernet interface:
interface ethernet1/0pppoe enableCommand Reference
This section documents new and modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.1 command reference publications.
New Command
•
pppoe enable
Modified Command
•
show vpdn
pppoe enable
To enable PPP over Ethernet encapsulation (PPPoE) sessions on an Ethernet interface, use the pppoe enable global configuration command.
pppoe enable
Syntax Description
This command contains no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
Global configuration
Command History
Usage Guidelines
PPPoE by default is disabled on all Ethernet interfaces.
Examples
The following example enables PPPoE sessions on Ethernet interface 1/0:
interface ethernet1/0pppoe enableRelated Commands
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 keyword is 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 and any other LAN interfaces such as FDDI and Token Ring.
Examples
The following is example output from the show vpdn command for L2F and L2TP sessions:
Router# 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 1 describes the fields shown in the show vpdn command display.
The following is example output from the show vpdn command for a PPPoE session:
Router# 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 example output from the show vpdn command for a PPPoE session on an actual Ethernet interface:
Router# 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 OIntf1 0090.bf06.c870 00e0.1459.2521 Vi1 UP Eth1The following is example output from the show vpdn session command for a PPPoE session:
Router# 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 2 describes the fields shown in both the show vpdn and show vpdn session command displays.
The following is example output from the show vpdn session packets command for a PPPoE session:
Router# 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 3 describes the fields shown in the show vpdn session packets command display.
The following is example output from the show vpdn tunnel command for L2F and L2TP sessions:
Router# 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 4 describes the fields shown in the show vpdn tunnel command display.
The following is example output from the show vpdn session all command for a PPPoE session:
Router# 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 5 describes the fields shown in the show vpdn session all command display.
Related Commands
