Table Of Contents
Supported Standards, MIBs, and RFCs
Enabling PPPoE on an Ethernet 802.1Q Interface
Configuring PPPoE in a VPDN Group
Creating and Configuring a Virtual Template
Verifying PPPoE over an IEEE 802.1Q VLAN
PPPoE over an IEEE 802.1Q VLAN Configuration Example
PPPoE over IEEE 802.1Q VLANs
This feature module describes the PPPoE over IEEE 802.1Q VLANs feature and includes the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
The PPPoE over IEEE 802.1Q VLANs feature provides support for running PPP over Ethernet (PPPoE) over IEEE 802.1Q encapsulated VLANs using Fast Ethernet. This feature is also supported on 10 Mbps Ethernet on which IEEE 802.1Q VLANs are supported. IEEE 802.1Q encapsulation is used to interconnect a VLAN-capable router with another VLAN-capable networking device. The packets on the 802.1Q link contain a standard Ethernet frame and the VLAN information associated with that frame.
Benefits
PPPoE over ATM and PPPoE over Ethernet are currently supported by Cisco IOS software. This feature adds support for running PPPoE over IEEE 802.1Q VLANs, enabling you to connect a VLAN-capable router with other VLAN-capable networking devices.
Restrictions
•
The PPPoE over IEEE 802.1Q VLANs feature is supported on Fast Ethernet and 10 Mbps Ethernet when using the 4e/8e AMDP2 Ethernet adapter on the Cisco 7200 series routers.
•
Only PPP over Ethernet dial-in is supported. PPP over Ethernet dial-out (client) will not be supported.
•
PPP over Ethernet termination and bridging will not work together on the same VLAN.
•
PPP over Ethernet will be disabled by default on a VLAN.
•
The feature is supported on routers running Cisco IOS software. This feature will not be implemented on Route Switch Modules (RSMs) for Catalyst switches.
Related Documents
•
PPPoE on ATM, Cisco IOS Release 12.1(1)T
•
PPPoE on Ethernet, Cisco IOS Release 12.1(2)T
Supported Platforms
•
Cisco 7200 series
•
Cisco 7500 series
Supported Standards, MIBs, and RFCs
Standards
IEEE Standard 802.1Q, Virtual Bridged Local Area Networks, 1998
MIBs
No new or modified MIBs are supported by this feature.
To obtain lists of supported MIBs 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, PPP over Ethernet
Configuration Tasks
See the following sections for configuration tasks for the PPPoE over IEEE 802.1Q VLANs feature. Each task in the list is identified as required or optional:
•
Enabling PPPoE on an Ethernet 802.1Q Interface (Required)
•
Configuring PPPoE in a VPDN Group (Required)
•
Creating and Configuring a Virtual Template (Required)
•
Verifying PPPoE over an IEEE 802.1Q VLAN (Optional)
Enabling PPPoE on an Ethernet 802.1Q Interface
To enable PPPoE on an Ethernet 802.1Q encapsulated subinterface, use the following commands beginning in global configuration mode:
Configuring PPPoE in a VPDN Group
To configure a VPDN group for PPPoE and to link it to the appropriate virtual template interface, use the following commands beginning in global configuration mode:
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.
Verifying PPPoE over an IEEE 802.1Q VLAN
To verify the configuration of VPDN groups and PPPoE over IEEE 802.1Q VLAN, use either or both of the following EXEC commands:
Configuration Examples
This section provides the following configuration example for PPPoE over an IEEE 802.1Q VLAN:
•
PPPoE over an IEEE 802.1Q VLAN Configuration Example
PPPoE over an IEEE 802.1Q VLAN Configuration Example
The following example shows the configuration of PPPoE over an 802.1Q encapsulated VLAN:
interface FastEthernet0/0.10encapsulation dot1Q 10pppoe enable!vpdn enableno vpdn logging!vpdn-group 1accept dialinprotocol pppoevirtual-template 1pppoe limit per-vlan 200!interface virtual-template 1ip address 100.100.100.100 255.255.255.0mtu 1492Command 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.
pppoe enable
To enable PPP over Ethernet (PPPoE) sessions on an Ethernet interface, use the pppoe enable interface configuration command. To disable PPPoE, use the no form of this command.
pppoe enable
no pppoe enable
Syntax Description
This command has no arguments or keywords.
Defaults
PPPoE is disabled by default.
Command Modes
Interface configuration
Command History
Release Modification12.1(2)T
This command was introduced.
12.1(5)T
This command was modified to enable PPPoE on IEEE 802.1Q encapsulated virtual LAN (VLAN) interfaces.
Examples
PPPoE on an 802.1Q VLAN Subinterface Example
The following example shows how to enable PPPoE on an 802.1Q VLAN subinterface:
interface FastEthernet0/0.10encapsulation dot1Q 10pppoe enablePPPoE on an Ethernet Interface Example
The following example enables PPPoE sessions on Ethernet interface 1/0:
interface ethernet1/0pppoe enableRelated Commands
pppoe limit per-vlan
To specify the maximum number of PPP over Ethernet (PPPoE) sessions under each virtual LAN (VLAN), use the pppoe limit per-vlan VPDN configuration command. To remove this specification, use the no form of this command.
pppoe limit per-vlan number
no pppoe limit per-vlan
Syntax Description
Defaults
100 PPPoE sessions per VLAN
Command Modes
VPDN configuration
Command History
Usage Guidelines
If the pppoe max-session command is configured on a virtual circuit (VC), that command will take precedence over the pppoe limit per-vlan command. The pppoe limit per-vlan command applies to all VCs on which the pppoe max-session command has not been configured.
The pppoe limit per-vlan command must be configured after the accept dial-in VPDN group has been configured using the accept-dialin VPDN configuration command.
Examples
The following example shows a maximum of 200 PPPoE sessions configured for an 802.1Q VLAN subinterface:
interface FastEthernet0/0.10encapsulation dot1Q 10pppoe enable!vpdn enablevpdn-group 1accept dialinprotocol pppoevirtual-template 1pppoe limit per-vlan 200Related Commands
pppoe max-session
To specify the maximum number of PPP over Ethernet (PPPoE) sessions under a virtual LAN (VLAN), use the pppoe max-session Ethernet subinterface configuration command. To remove this specification, use the no form of this command.
pppoe max-session number
no pppoe max-session
Syntax Description
Defaults
No default behavior or values.
Command Modes
Ethernet subinterface configuration
Command History
Usage Guidelines
Use the pppoe max-session command to specify the maximum number of PPPoE session under a VLAN. The pppoe limit per-vlan global configuration command can also be used to specify the maximum number of PPPoE sessions. If the pppoe max-session command and the pppoe limit per-vlan command are both configured, the pppoe max-session command takes precedence on the virtual circuit (VC).
Examples
The following example shows a maximum of 200 PPPoE sessions configured for an 802.1Q VLAN subinterface:
interface FastEthernet0/0.10encapsulation dot1Q 10pppoe enablepppoe max-session 200Related Commands
