Table Of Contents
PPPoE over VLAN Enhancements: Configuration Limit Removal and ATM Support
Restrictions for PPPoE over VLAN Configuration Limit Removal and ATM Support
Information About PPPoE over VLAN Configuration Limit Removal and ATM Support
PPPoE over VLAN Configuration Without Using Subinterfaces
PPPoE over VLAN Support on ATM PVCs
Benefits of PPPoE over VLAN Scaling and ATM Support for PPPoE over VLANs
How to Configure PPPoE over 802.1Q VLAN Support on Ethernet Interfaces and ATM PVCs
Configuring PPPoE over 802.1Q VLAN Support on an Ethernet Interface
Configuring an ATM PVC to Support PPPoE over 802.1Q VLAN Traffic
Configuring a VC Class for PPPoE over 802.1Q VLAN Support
Monitoring and Maintaining PPPoE over 802.1Q VLAN
Configuration Examples for PPPoE over 802.1Q VLAN Support on Ethernet Interfaces and ATM PVCs
PPPoE over 802.1Q VLAN Support on an Ethernet Interface: Example
PPPoE over 802.1Q VLAN Support on ATM PVCs: Example
PPPoE over VLAN Enhancements: Configuration Limit Removal and ATM Support
The PPPoE over VLAN Enhancements: Configuration Limit Removal and ATM Support feature provides two enhancements to PPP over Ethernet (PPPoE) over IEEE 802.1Q VLAN functionality:
•
It removes the requirement for each PPPoE VLAN to be created on a subinterface. Removal of this requirement increases the number of VLANs that can be configured on a router to 4000 VLANs per interface.
•
It adds ATM permanent virtual circuit (PVC) support for PPPoE over VLAN traffic that uses bridged RFC 1483 encapsulation.
Feature History for the PPPoE over VLAN Enhancements: Configuration Limit Removal and ATM Support
Feature
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Restrictions for PPPoE over VLAN Configuration Limit Removal and ATM Support
•
Information About PPPoE over VLAN Configuration Limit Removal and ATM Support
•
How to Configure PPPoE over 802.1Q VLAN Support on Ethernet Interfaces and ATM PVCs
•
Configuration Examples for PPPoE over 802.1Q VLAN Support on Ethernet Interfaces and ATM PVCs
Restrictions for PPPoE over VLAN Configuration Limit Removal and ATM Support
PPPoE over 802.1Q VLAN support can be configured without using subinterfaces on the PPPoE server only.
ATM PVC support for PPPoE over 802.1Q VLANs can be configured only on the PPPoE server.
It is not possible to shut down traffic for individual VLANs that are configured on the main interface. Individual VLANs that are configured on subinterfaces can be shut down.
A VLAN range can be configured on a main interface at the same time that VLANs outside the range are configured on subinterfaces of the same main interface. However, you cannot configure a specific VLAN on the main interface and on a subinterface at the same time.
Information About PPPoE over VLAN Configuration Limit Removal and ATM Support
To configure PPPoE over 802.1Q VLAN support on an interface rather than a subinterface, and to configure ATM support for PPPoE over 802.1Q VLANs, you should understand the following concepts:
•
PPPoE over VLAN Configuration Without Using Subinterfaces
•
PPPoE over VLAN Support on ATM PVCs
•
Benefits of PPPoE over VLAN Scaling and ATM Support for PPPoE over VLANs
PPPoE over VLAN Configuration Without Using Subinterfaces
The PPPoE over VLAN Enhancements: Configuration Limit Removal and ATM Support feature removes the requirement for each PPPoE VLAN to be created on a subinterface. Allowing more than one PPPoE VLAN to be configured on a main interface increases the number of VLANs that can be configured on a router to 4000 VLANs per interface.
Individual VLANs or a range of VLANs can be configured on an interface. You can configure a VLAN range on a main interface and at the same time configure VLANs outside the range on subinterfaces of the same interface.
PPPoE over VLAN Support on ATM PVCs
The PPPoE over VLAN Enhancements: Configuration Limit Removal and ATM Support feature enables ATM PVCs to process PPPoE over VLAN packets that use bridged RFC 1483 encapsulation. This capability allows PPPoE traffic from different 802.1Q VLANs to be multiplexed over the same ATM PVC.
Figure 1 shows a sample network topology that implements PPPoE over VLAN on ATM PVCs. In this topology, a service provider is using an Ethernet switch to provide Ethernet service to home users and a single PVC to provide the switch with WAN access. The home users use PPPoE to access services on the network access server (NAS). Each port on the switch is assigned a separate VLAN, and the VLANs are trunked over a Fast Ethernet or Gigabit Ethernet interface that is connected to a digital subscriber line (DSL) modem acting as a bridge.
The 802.1Q VLAN-encapsulated traffic coming in from the Ethernet switch trunk is encapsulated in RFC 1483 bridged encapsulation by the DSL modem and sent across the ATM WAN to the NAS. The NAS, which is configured to support PPPoE over VLANs over ATM PVCs, will extract the PPPoE packet from the PPPoE over 802.1Q VLAN over RFC 1483 bridged encapsulation and provide PPPoE services to the user.
In the downlink, the NAS sends packets in PPPoE over 802.1Q VLAN over RFC 1483 bridged encapsulation. The DSL modem strips off the RFC 1483 encapsulation and forwards the 802.1Q VLAN packets across the trunk to the switch. The switch then sends the Ethernet packets to the port associated with the 802.1 VLAN ID.
Figure 1 Sample Network Topology for PPPoE over 802.1Q VLANs over ATM
Benefits of PPPoE over VLAN Scaling and ATM Support for PPPoE over VLANs
The PPPoE over VLAN Enhancements: Configuration Limit Removal and ATM Support feature
•
Increases the number of VLANs that can be configured on a router to 4000 VLANs per interface by removing the requirement for each PPPoE VLAN to be configured on a subinterface.
•
Provides support for PPPoE over VLANs over ATM interfaces using RFC 1483 bridged encapsulation.
How to Configure PPPoE over 802.1Q VLAN Support on Ethernet Interfaces and ATM PVCs
Perform the following tasks to configure PPPoE over 802.1Q VLAN support on an Ethernet interface and PPPoE over 802.1Q VLAN support over ATM. One or more of the first three tasks are required. The last task is optional.
•
Configuring PPPoE over 802.1Q VLAN Support on an Ethernet Interface
•
Configuring an ATM PVC to Support PPPoE over 802.1Q VLAN Traffic
•
Configuring a VC Class for PPPoE over 802.1Q VLAN Support
•
Monitoring and Maintaining PPPoE over 802.1Q VLAN
Configuring PPPoE over 802.1Q VLAN Support on an Ethernet Interface
Perform the following task to enable PPPoE over IEEE 802.1Q VLAN support on a main Ethnernet interface.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
vlan-id dot1q vlan-id
or
vlan-range dot1q start-vlan-id end-vlan-id
5.
pppoe enable [group group-name]
DETAILED STEPS
Configuring an ATM PVC to Support PPPoE over 802.1Q VLAN Traffic
Perform the following task to enable an ATM PVC to support RFC 1483 bridge encapsulated PPPoE over IEEE 802.1Q VLAN traffic.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface atm number.subinterface-number multipoint | point-to-point
4.
pvc [name] vpi/vci
5.
protocol pppovlan dot1q {vlan-id | start-vlan-id end-vlan-id} [group group-name]
DETAILED STEPS
Configuring a VC Class for PPPoE over 802.1Q VLAN Support
Perform the following task to enable support for PPPoE over IEEE 802.1Q VLANs in a VC class.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
vc-class atm name
4.
protocol pppovlan dot1q {vlan-id | start-vlan-id end-vlan-id} [group group-name]
DETAILED STEPS
Monitoring and Maintaining PPPoE over 802.1Q VLAN
Perform the following task to monitor and maintain PPPoE over VLAN connections.
SUMMARY STEPS
1.
enable
2.
clear pppoe {interface type number [vc {[vpi/]vci | vc-name}] [vlan vlan-id] | rmac mac-address [sid session-id] | all}
3.
debug pppoe {data | errors | events | packets} [rmac remote-mac-address | interface type number [vc {[vpi/]vci | vc-name}] [vlan vlan-id]]
DETAILED STEPS
Configuration Examples for PPPoE over 802.1Q VLAN Support on Ethernet Interfaces and ATM PVCs
•
PPPoE over 802.1Q VLAN Support on an Ethernet Interface: Example
•
PPPoE over 802.1Q VLAN Support on ATM PVCs: Example
PPPoE over 802.1Q VLAN Support on an Ethernet Interface: Example
The following example shows how to configure PPPoE over a range of 802.1Q VLANs on Fast Ethernet interface 0/0. The VLAN range is configured on the main interface and therefore each VLAN will not use up a separate subinterface.
bba-group pppoe PPPOEvirtual-template 1sessions per-mac limit 1interface virtual-template 1ip address 10.10.10.10 255.255.255.0mtu 1492interface fastethernet 0/0no ip addressno ip mroute-cacheduplex halfvlan-range dot1q 20 30pppoe enable group PPPOEexit-vlan-configPPPoE over 802.1Q VLAN Support on ATM PVCs: Example
The following example shows how to configure an ATM PVC to support PPPoE over a range of 802.1Q VLANs:
bba-group pppoe PPPOEOAvirtual-template 1sessions per-mac limit 1interface virtual-template 1ip address 10.10.10.10 255.255.255.0mtu 1492interface atm 4/0.10 multipointpvc 10/100protocol pppovlan dot1q range 10 30 group PPPOEOAAdditional References
The following sections provide references related to PPPoE over VLAN scaling and ATM PVC support for PPPoE over VLANs.
Related Documents
Standards
MIBs
RFCs
Technical Assistance
Command Reference
This section documents new and modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.3 command reference publications.
clear pppoe
To clear PPP over Ethernet (PPPoE) sessions, use the clear pppoe command in privileged EXEC mode.
clear pppoe {interface type number [vc {[vpi/]vci | vc-name}] [vlan vlan-id] | rmac mac-address [sid session-id] | all}
Syntax Description
Command Modes
Privileged EXEC
Command History
Release Modification12.2(13)T
This command was introduced.
12.3(2)T
The vlan vlan-id keyword and argument were added.
Usage Guidelines
Use the clear pppoe all command to clear all PPPoE sessions.
Use the interface keyword and arguments and the vlan keyword and argument to clear PPPoE sessions on a specific Ethernet 802.1Q VLAN.
Use the interface, vc, and vlan keywords and arguments to clear PPPoE over 802.1Q VLAN sessions on an ATM PVC.
Examples
The following example clears all PPPoE sessions:
Router# clear pppoe alldebug pppoe
To display debugging information for PPP over Ethernet (PPPoE) sessions, use the debug pppoe command in privileged EXEC mode. To disable debugging output, use the no form of this command.
debug pppoe {data | errors | events | packets} [rmac remote-mac-address | interface type number [vc {[vpi/]vci | vc-name}] [vlan vlan-id]]
no debug pppoe {data | errors | events | packets} [rmac remote-mac-address | interface type number [vc {[vpi/]vci | vc-name}] [vlan vlan-id]]
Syntax Description
Command Modes
Privileged EXEC
Command History
Examples
The following examples show debugging output for the debug pppoe command:
Router# debug pppoe events interface atm1/0.10 vc 101PPPoE protocol events debugging is onRouter#00:41:55:PPPoE 0:I PADI R:00b0.c2e9.c470 L:ffff.ffff.ffff 0/101 ATM1/0.1000:41:55:PPPoE 0:O PADO, R:00b0.c2e9.c470 L:0001.c9f0.0c1c 0/101 ATM1/0.1000:41:55:PPPoE 0:I PADR R:00b0.c2e9.c470 L:0001.c9f0.0c1c 0/101 ATM1/0.1000:41:55:PPPoE :encap string prepared00:41:55:[3]PPPoE 3:Access IE handle allocated00:41:55:[3]PPPoE 3:pppoe SSS switch updated00:41:55:[3]PPPoE 3:AAA unique ID allocated00:41:55:[3]PPPoE 3:No AAA accounting method list00:41:55:[3]PPPoE 3:Service request sent to SSS00:41:55:[3]PPPoE 3:Created R:0001.c9f0.0c1c L:00b0.c2e9.c470 0/101 ATM1/0.1000:41:55:[3]PPPoE 3:State REQ_NASPORT Event MORE_KEYS00:41:55:[3]PPPoE 3:O PADS R:00b0.c2e9.c470 L:0001.c9f0.0c1c 0/101 ATM1/0.1000:41:55:[3]PPPoE 3:State START_PPP Event DYN_BIND00:41:55:[3]PPPoE 3:data path set to PPP00:41:57:[3]PPPoE 3:State LCP_NEGO Event PPP_LOCAL00:41:57:PPPoE 3/SB:Sent vtemplate request on base Vi200:41:57:[3]PPPoE 3:State CREATE_VA Event VA_RESP00:41:57:[3]PPPoE 3:Vi2.1 interface obtained00:41:57:[3]PPPoE 3:State PTA_BIND Event STAT_BIND00:41:57:[3]PPPoE 3:data path set to Virtual Acess00:41:57:[3]PPPoE 3:Connected PTARouter# debug pppoe errors interface atm1/0.10PPPoE protocol errors debugging is onRouter#00:44:30:PPPoE 0:Max session count(1) on mac(00b0.c2e9.c470) reached.00:44:30:PPPoE 0:Over limit or Resource low. R:00b0.c2e9.c470 L:ffff.ffff.ffff 0/101 ATM1/0.10Table 1 describes significant fields shown in the displays.
Related Commands
pppoe enable
To enable PPP over Ethernet (PPPoE) sessions on an Ethernet interface or subinterface, use the pppoe enable command in the appropriate configuration mode. To disable PPPoE, use the no form of this command.
pppoe enable [group group-name]
no pppoe enable
Syntax Description
group
(Optional) Specifies that a PPPoE profile will be used by PPPoE sessions on the interface.
group-name
(Optional) Name of the PPPoE profile to be used by PPPoE sessions on the interface.
Defaults
PPPoE is disabled by default.
Command Modes
Interface configuration
VLAN configuration
VLAN range configurationCommand History
Usage Guidelines
If a PPPoE profile is not specified by using the group option, PPPoE sessions will be established using values from the global PPPoE profile. PPPoE profiles must be configured using the bba-group pppoe command.
Examples
PPPoE on an Ethernet Interface: Example
The following example enables PPPoE sessions on Ethernet interface 1/0. PPPoE sessions will be established using the PPPoE parameters in the global PPPoE profile.
Router(config)# interface ethernet 1/0Router(config-if)# pppoe enable!Router(config)# bba-group pppoe globalRouter(config-bba-group)# virtual-template 1Router(config-bba-group)# sessions max limit 8000Router(config-bba-group)# sessions per-vc limit 8Router(config-bba-group)# sessions per-mac limit 2PPPoE on an 802.1Q VLAN Subinterface: Example
The following example shows how to enable PPPoE on an 802.1Q VLAN subinterface. PPPoE sessions will be established using the PPPoE parameters in PPPoE profile "vpn1".
Router(config)# interface ethernet 2/3.1Router(config-if)# encapsulation dot1Q 1Router(config-if)# pppoe enable group vpn1!Router(config)# bba-group pppoe vpn1Router(config-bba-group)# virtual-template 1Router(config-bba-group)# sessions per-vc limit 2Router(config-bba-group)# sessions per-mac limit 1PPPoE on an 802.1Q VLAN Main Interface: Example
The following example shows how to configure PPPoE over a range of 802.1Q VLANs on Fast Ethernet interface 0/0. The VLAN range is configured on the main interface and therefore each VLAN will not use up a separate subinterface.
Router(config)# interface fastethernet 0/0Router(config-if)# no ip addressRouter(config-if)# no ip mroute-cacheRouter(config-if)# duplex halfRouter(config-if)# vlan-range dot1q 20 30Router(config-if-vlan-range)# pppoe enable group PPPOERouter(config-if-vlan-range)# exit-vlan-configRelated Commands
protocol pppovlan dot1q
To configure an ATM PVC to support PPPoE over a specific IEEE 802.1Q VLAN or range of VLANs, use the protocol pppovlan dot1q command in ATM VC configuration or VC class configuration mode. To disable ATM PVC support for PPPoE for a specific IEEE 802.1Q VLAN or a range of VLANs, use the no form of this command.
protocol pppovlan dot1q {vlan-id | start-vlan-id end-vlan-id} [group group-name]
no protocol pppovlan dot1q {vlan-id | start-vlan-id end-vlan-id} [group group-name]
Syntax Description
Defaults
ATM PVC support for PPPoE over 802.1Q VLAN encapsulation is not enabled.
Command Modes
ATM VC configuration
VC class configurationCommand History
Usage Guidelines
The protocol pppovlan dot1q command enables an ATM PVC to support PPPoE over 802.1Q VLAN traffic that uses bridged RFC 1483 encapsulation.
802.1Q VLAN traffic that is received on an ATM PVC in RFC 1483 bridged encapsulation for VLANs that are not configured for PPPoE will be dropped.
PPPoE over 802.1Q VLANs over ATM is supported on the PPPoE server only.
Examples
The following example shows how to configure an ATM PVC to support PPPoE over a range of 802.1Q VLANs:
bba-group pppoe PPPOEOAvirtual-template 1sessions per-mac limit 1interface virtual-template 1ip address 10.10.10.10 255.255.255.0mtu 1492interface atm 4/0.10 multipointpvc 10/100protocol pppovlan dot1q range 10 30 group PPPOEOARelated Commands
vlan-id dot1q
To enable IEEE 802.1Q VLAN encapsulation for a specific VLAN on an Ethernet interface, use the vlan-id dot1q command in interface configuration mode. To disable 802.1Q encapsulation for a specific VLAN, use the no form of this command.
vlan-id dot1q vlan-id
no vlan-id dot1q vlan-id
Syntax Description
Defaults
IEEE 802.1Q VLAN encapsulation is not enabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
This command allows you to enable IEEE 802.1Q VLAN encapsulation for a specific VLAN on an Ethernet interface without associating the VLAN with a subinterface.
You can configure a VLAN on a main interface and at the same time configure VLANs on subinterfaces of the same interface. However, you cannot configure a specific VLAN on the main interface and on a subinterface at the same time. To configure PPPoE over 802.1Q VLAN support on a subinterface, use the encapsulation dot1q and pppoe enable commands in subinterface configuration mode.
It is not possible to shut down traffic for individual VLANs that are configured on the main interface.
Examples
The following example shows how to configure PPPoE over an 802.1Q VLAN on Fast Ethernet interface 0/0.
interface fastethernet 0/0no ip addressno ip mroute-cacheduplex halfvlan-id dot1q 20pppoe enable group PPPOEexit-vlan-configThe following example configures Ethernet interface 0 to bridge packets using VLAN ID 100, and assigns the interface to bridge group 1:
interface ethernet 0vlan-id dot1q 100description bridged vlan 100bridge-group 1bridge-group 1Related Commands
vlan-range dot1q
To enable IEEE 802.1Q VLAN encapsulation for a range of VLANs on an Ethernet interface, use the vlan-range dot1q command in interface configuration mode. To disable 802.1Q encapsulation for a range of VLANs, use the no form of this command.
vlan-range dot1q start-vlan-id end-vlan-id [native]
no vlan-range dot1q start-vlan-id end-vlan-id
Syntax Description
Defaults
IEEE 802.1Q VLAN encapsulation is not enabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
This command allows you to enable IEEE 802.1Q VLAN encapsulation for a range of VLANs on an Ethernet interface without associating each VLAN with a subinterface. Configuring an 802.1Q VLAN range on the main interface without using up subinterfaces increases the number of VLANs that can be configured on a router to 4000 VLANs per interface.
You can configure a VLAN range on a main interface and at the same time configure VLANs outside the range on subinterfaces of the same interface. However, you cannot configure a specific VLAN on the main interface and on a subinterface at the same time. To configure PPPoE over 802.1Q VLAN support on a subinterface, use the encapsulation dot1q and pppoe enable commands in subinterface configuration mode.
It is not possible to shut down traffic for individual VLANs that are configured on the main interface.
To bridge both tagged and untagged packets, regardless of their VLAN ID, you do not need to create a VLAN ID range.
Examples
The following example shows how to configure PPPoE over a range of 802.1Q VLANs on Fast Ethernet interface 0/0.
interface fastethernet 0/0no ip addressno ip mroute-cacheduplex halfvlan-range dot1q 20 30pppoe enable group PPPOEexit-vlan-configThe following example configures Ethernet interface 0 to bridge untagged (native) packets using the range of VLAN IDs from 1 to 500 and assigns the interface to bridge group 1:
interface ethernet 0vlan-range dot1q 1 500 nativedescription 1 to 500bridge-group 1bridge-group 1Related Commands
Copyright © 2003 Cisco Systems, Inc. All rights reserved.

