Table Of Contents
PPPoE Session Limiting on Inner QinQ VLAN
Prerequisites for PPPoE Session Limiting on Inner QinQ VLAN
Restrictions for PPPoE Session Limiting on Inner QinQ VLAN
Information About PPPoE Session Limiting on Inner QinQ VLAN
Benefits of PPPoE Session Limiting on Inner QinQ VLAN
Feature Design of PPPoE Session Limiting on Inner QinQ VLAN
How to Configure PPPoE Session Limiting on Inner QinQ VLAN
Configuring PPPoE Session Limiting on Inner QinQ VLAN
Configuration Examples for PPPoE Session Limiting on Inner QinQ VLAN
PPPoE Session Limiting on Inner QinQ VLAN: Example
Feature Information for PPPoE Session Limiting on Inner QinQ VLAN
PPPoE Session Limiting on Inner QinQ VLAN
First Published: December 4, 2006Last Updated: December 4, 2006The PPPoE Session Limiting on Inner QinQ VLAN feature allows a service provider to limit each customer to one PPPoE client in use by providing the ability to limit the number of PPPoE over QinQ (IEEE 802.1Q VLAN tunnel) sessions based on the inner VLAN ID configured under a subinterface. This capability eliminates the need to configure large numbers of subinterfaces.
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the "Feature Information for PPPoE Session Limiting on Inner QinQ VLAN" section.
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
•Prerequisites for PPPoE Session Limiting on Inner QinQ VLAN
•Restrictions for PPPoE Session Limiting on Inner QinQ VLAN
•Information About PPPoE Session Limiting on Inner QinQ VLAN
•How to Configure PPPoE Session Limiting on Inner QinQ VLAN
•Configuration Examples for PPPoE Session Limiting on Inner QinQ VLAN
•Feature Information for PPPoE Session Limiting on Inner QinQ VLAN
Prerequisites for PPPoE Session Limiting on Inner QinQ VLAN
•PPPoE server functionality must be configured.
•The PPPoE over IEEE 802.1Q VLANs feature must be configured.
Restrictions for PPPoE Session Limiting on Inner QinQ VLAN
•Do not configure the inner VLAN session limit to be greater than the outer session limit.
Information About PPPoE Session Limiting on Inner QinQ VLAN
To configure the PPPoE Session Limiting on Inner QinQ VLAN feature, you should understand the following concepts:
•Benefits of PPPoE Session Limiting on Inner QinQ VLAN
•Feature Design of PPPoE Session Limiting on Inner QinQ VLAN
Benefits of PPPoE Session Limiting on Inner QinQ VLAN
•Facilitates the ability to provision thousands of PPPoE over QinQ sessions having unique inner VLANs using simpler and easier to manage configurations.
•Allows service providers to limit PPPoE sessions based on the QinQ inner VLAN ID.
Feature Design of PPPoE Session Limiting on Inner QinQ VLAN
Prior to the PPPoE Session Limiting on Inner QinQ VLAN feature, PPPoE session limiting required a QinQ subinterface to be configured for each QinQ inner VLAN to be session limited, resulting in configuration requirements that did not scale to large numbers of QinQ VLAN ID pairs. The PPPoE Session Limiting on Inner QinQ VLAN feature adds broadband remote access server (BRAS) capability for configuring a single subinterface for all the unique inner VLAN IDs per outer VLAN while limiting one session per inner VLAN.
Figure 1 shows a typical implementation of the PPPoE Session Limiting on Inner QinQ VLAN feature.
Figure 1
PPPoE over QinQ Session Limiting
How to Configure PPPoE Session Limiting on Inner QinQ VLAN
This section contains the following procedures:
•Configuring PPPoE Session Limiting on Inner QinQ VLAN
Configuring PPPoE Session Limiting on Inner QinQ VLAN
The following task configures PPPoE over QinQ session limiting and allows you to limit the number of QinQ inner VLAN connections for each customer.
SUMMARY STEPS
1. enable
2. configure terminal
3. bba-group pppoe group-name
4. sessions per-vlan limit outer-per-vlan-limit inner inner-per-vlan-limit
5. end
DETAILED STEPS
Examples
The following example enables PPPoE over QinQ session limiting on Ethernet interface 1/0/0.1 with outer VLAN ID 10 and a unique inner VLAN ID for each session.
bba-group pppoe group1virtual-template 1sessions per-vlan limit 1000 inner 1interface eth1/0/0.1encapsulation dot1q 10 second-dot1q anypppoe enable group group1Troubleshooting Tips
The following commands can help troubleshoot PPPoE session limiting:
•show pppoe session
•show pppoe summary
•debug pppoe error
Configuration Examples for PPPoE Session Limiting on Inner QinQ VLAN
This section provides the following configuration example:
•PPPoE Session Limiting on Inner QinQ VLAN: Example
PPPoE Session Limiting on Inner QinQ VLAN: Example
The following example shows the commands used to configure the PPPoE Session Limiting on Inner QinQ VLAN feature on the Cisco 10000:
Router# show running-config
!!bba-group pppoe PPPOE-LIMITvirtual-template 1sessions per-mac limit 1000sessions per-vlan limit 1000 inner 1!interface FastEthernet1/1.201description connected to Cat Switchencapsulation dot1Q 201pppoe enable group PPPOE-LIMIT!interface FastEthernet1/1.202description connected to Cat Switchencapsulation dot1Q 202pppoe enable group PPPOE-LIMIT!interface Virtual-Template1ip address negotiatedno logging event link-statusppp chap hostname pppoeuserppp chap password 0 cisco!endThe following example shows the commands used to configure a Catalyst switch (see Figure 1) to transport PPPoE over inner QinQ:
Router# show running-config
!!interface FastEthernet0/1description connected to UUTswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 301switchport mode trunk!interface FastEthernet0/2description connected to Clientswitchport access vlan 301switchport mode dot1q-tunnelAdditional References
The following sections provide references related to the PPPoE Session Limiting on Inner QinQ VLAN feature.
Related Documents
Related Topic Document TitleBroadband access aggregation concepts
Cisco IOS Broadband and DSL Configuration Guide, Release 12.4
Broadband access commands
Cisco IOS Broadband Access Aggregation and DSL Command Reference, Release 12.4T
Standards
MIBs
RFCs
Technical Assistance
Command Reference
This section documents the following modified commands.
sessions per-vlan limit
To specify the maximum number of PPP over Ethernet (PPPoE) sessions permitted per VLAN ID pair in a PPPoE profile, use the sessions per-vlan limit command in BBA group configuration mode. To remove this specification, use the no form of this command.
sessions per-vlan limit outer-per-vlan-limit inner inner-per-vlan-limit
no sessions per-vlan limit outer-per-vlan-limit inner inner-per-vlan-limit
Syntax Description
Defaults
Sessions: 100
Command Modes
BBA group configuration
Command History
Usage Guidelines
Use the sessions per-vlan limit command to configure a PPPoE profile with the maximum number of PPPoE sessions that will be allowed per VLAN ID pair. By limiting the number of inner VLAN sessions you can reduce the number of subinterfaces required to support QinQ sessions per unique outer and inner VLAN IDs.
You cannot configure session limits in PPPoE profiles and directly on VLANs simultaneously.
You cannot configure the inner VLAN limit to be greater than the outer VLAN limit.
Examples
The following example shows a limit of 1000 PPPoE sessions per inner VLAN ID configured in the PPPoE profile named group 1:
bba-group pppoe group1
virtual-template 1
sessions per-vlan limit 1000 inner 1Related Commands
Feature Information for PPPoE Session Limiting on Inner QinQ VLAN
Table 1 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Cisco IOS software images are specific to a Cisco IOS software release, a feature set, and a platform. 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.
Note Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2006 Cisco Systems, Inc. All rights reserved.