Guest

Cisco IOS Software Releases 12.3 T

PPPoE over VLAN Enhancements: Configuration Limit Removal and ATM Support

Table Of Contents

PPPoE over VLAN Enhancements: Configuration Limit Removal and ATM Support

Contents

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

Additional References

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Command Reference

clear pppoe

debug pppoe

pppoe enable

protocol pppovlan dot1q

vlan-id dot1q

vlan-range dot1q


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

Release
Modification

12.3(2)T

This feature was introduced.


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

Additional References

Command Reference

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

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface type number

Example:

Router(config)# interface fastethernet 0/2

Specifies the interface to be configured and enters interface configuration mode.

Step 4 

vlan-id dot1q vlan-id

or

vlan-range dot1q start-vlan-id end-vlan-id

Example:

Router(config-if)# vlan-id dot1q 0

or

Router(config-if)# vlan-range dot1q 0 60

Enables IEEE 802.1Q VLAN encapsulation for a specific VLAN on an Ethernet interface.

or

Enables IEEE 802.1Q VLAN encapsulation for a range of VLANs on an Ethernet interface.

Step 5 

pppoe enable [group group-name]

Example:

Router(config-if-vlan-range)# pppoe enable group pppoe1

Enables PPPoE sessions over a specific VLAN or a range of VLANs.

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

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

interface atm number.subinterface-number multipoint | point-to-point

Example:

Router(config)# interface atm 2/0.1 multipoint

Configures an ATM multipoint subinterface and enters subinterface configuration mode.

Step 4 

pvc [name] vpi/vci

Example:

Router(config-subif)# pvc 0/60

Configures a PVC and enters ATM VC configuration mode.

Step 5 

protocol pppovlan dot1q {vlan-id | start-vlan-id end-vlan-id} [group group-name]

Example:

Router(config-if-atm-vc)# protocol pppovlan dot1q 0 50 group pppoe1

Enables PPPoE for a specific IEEE 802.1Q VLAN or a range of VLANs on an ATM PVC.

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

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

vc-class atm name

Example:

Router(config)# vc-class atm class1

Configures an ATM VC class and enters VC-class configuration mode.

Step 4 

protocol pppovlan dot1q {vlan-id | start-vlan-id end-vlan-id} [group group-name]

Example:

Router(config-vc-class)# protocol pppovlan dot1q 0 50 group pppoe1

Enables support for PPPoE for a specific IEEE 802.1Q VLAN or a range of VLANs in a VC class.

Note A VC class can be applied to an ATM interface, subinterface, PVC, or range of PVCs.

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

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

clear pppoe {interface type number [vc {[vpi/]vci | vc-name}] [vlan vlan-id] | rmac mac-address [sid session-id] | all}

Example:

Router# clear pppoe interface fastethernet 0/2 vlan 1

Clears PPPoE sessions.

Step 3 

debug pppoe {data | errors | events | packets} [rmac remote-mac-address | interface type number [vc {[vpi/]vci | vc-name}] [vlan vlan-id]]

Example:

Router# debug pppoe events interface atm 0/0 vc 1/16 vlan 10

Displays debugging information for PPPoE sessions.

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 PPPOE 
 virtual-template 1 
 sessions per-mac limit 1 

interface virtual-template 1 
 ip address 10.10.10.10 255.255.255.0 
 mtu 1492 

interface fastethernet 0/0
 no ip address 
 no ip mroute-cache 
 duplex half 
 vlan-range dot1q 20 30 
  pppoe enable group PPPOE 
  exit-vlan-config 

PPPoE 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 PPPOEOA
 virtual-template 1 
 sessions per-mac limit 1 

interface virtual-template 1 
 ip address 10.10.10.10 255.255.255.0 
 mtu 1492 

interface atm 4/0.10 multipoint 
 pvc 10/100 
  protocol pppovlan dot1q range 10 30 group PPPOEOA 

Additional References

The following sections provide references related to PPPoE over VLAN scaling and ATM PVC support for PPPoE over VLANs.

Related Documents

Related Topic
Document Title

ATM PVC configuration

"ATM" chapter of the Cisco IOS Wide-Area Networking Configuration Guide

PPPoE and PPPoE over 802.1Q VLAN configuration

"Broadband Access: PPP and Routed Bridge Encapsulation" chapter of the Cisco IOS Wide-Area Networking Configuration Guide

VLAN range configuration (using subinterfaces)

"VLAN Range" new-feature document for Cisco IOS Release 12.2(13)T

ATM PVC and PPPoE configuration commands

Cisco IOS Wide-Area Networking Command Reference


Standards

Standards
Title

IEEE Standard 802.1Q, 1998

Virtual Bridged Local Area Networks


MIBs

MIBs
MIBs Link

No new or modified MIBs are supported by this feature. Support for existing MIBs has not been modified by this feature.

To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs


RFCs

RFCs
Title

RFC 1483

Multiprotocol Encapsulation over ATM Adaptation Layer 5


Technical Assistance

Description
Link

Technical Assistance Center (TAC) home page, containing 30,000 pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.

http://www.cisco.com/public/support/tac/home.shtml


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

debug pppoe

pppoe enable

protocol pppovlan dot1q

vlan-id dot1q

vlan-range dot1q

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

interface type number

Interface keyword followed by the interface type and number.

vc [vpi/]vci vc-name

(Optional) Virtual circuit (VC) keyword followed by a virtual path identifier (VPI), virtual channel identifier (VCI), and VC name. A slash (/) follows the VPI.

vlan vlan-id

(Optional) VLAN identifier.

rmac mac-address

(Optional) Remote MAC address.

sid session-id

(Optional) Session identifier.

all

(Optional) Specifies that all PPPoE will be cleared.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.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 all

debug 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

data

Displays data packets of PPPoE sessions.

errors

Displays PPPoE protocol errors that prevent a session from being established, or displays errors that cause an established session to be closed.

events

Displays PPPoE protocol messages about events that are part of normal session establishment or shutdown.

packets

Displays each PPPoE protocol packet that is exchanged.

rmac remote-mac-address

(Optional) Remote MAC address. Debugging information for PPPoE sessions sourced from this address will be displayed.

interface type number

(Optional) Interface for which PPPoE session debugging information will be displayed.

vc

(Optional) Displays debugging information for PPPoE sessions for a specific permanent virtual circuit (PVC).

vpi/

(Optional) ATM network virtual path identifier (VPI) for the PVC. In the absence of the slash (/) and a vpi value, the vpi value defaults to 0.

vci

(Optional) ATM network virtual channel identifier (VCI) for the PVC.

vc-name

(Optional) Name of the PVC.

vlan vlan-id

(Optional) IEEE 802.1Q VLAN identifier.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.2(13)T

This command was introduced.

12.2(15)T

This command was modified to display debugging information on a per-MAC address, per-interface, and per-VC basis.

12.3(2)T

The vlan vlan-id keyword and argument were added.


Examples

The following examples show debugging output for the debug pppoe command:

Router# debug pppoe events interface atm1/0.10 vc 101 

PPPoE protocol events debugging is on 
Router# 
00:41:55:PPPoE 0:I PADI  R:00b0.c2e9.c470 L:ffff.ffff.ffff 0/101 ATM1/0.10 
00:41:55:PPPoE 0:O PADO, R:00b0.c2e9.c470 L:0001.c9f0.0c1c 0/101 ATM1/0.10 
00:41:55:PPPoE 0:I PADR  R:00b0.c2e9.c470 L:0001.c9f0.0c1c 0/101 ATM1/0.10 
00:41:55:PPPoE :encap string prepared 
00:41:55:[3]PPPoE 3:Access IE handle allocated 
00:41:55:[3]PPPoE 3:pppoe SSS switch updated 
00:41:55:[3]PPPoE 3:AAA unique ID allocated 
00:41:55:[3]PPPoE 3:No AAA accounting method list 
00:41:55:[3]PPPoE 3:Service request sent to SSS 
00:41:55:[3]PPPoE 3:Created  R:0001.c9f0.0c1c L:00b0.c2e9.c470 0/101 ATM1/0.10 
00:41:55:[3]PPPoE 3:State REQ_NASPORT    Event MORE_KEYS 
00:41:55:[3]PPPoE 3:O PADS  R:00b0.c2e9.c470 L:0001.c9f0.0c1c 0/101 ATM1/0.10 
00:41:55:[3]PPPoE 3:State START_PPP    Event DYN_BIND 
00:41:55:[3]PPPoE 3:data path set to PPP 
00:41:57:[3]PPPoE 3:State LCP_NEGO    Event PPP_LOCAL 
00:41:57:PPPoE 3/SB:Sent vtemplate request on base Vi2 
00:41:57:[3]PPPoE 3:State CREATE_VA    Event VA_RESP 
00:41:57:[3]PPPoE 3:Vi2.1 interface obtained 
00:41:57:[3]PPPoE 3:State PTA_BIND    Event STAT_BIND 
00:41:57:[3]PPPoE 3:data path set to Virtual Acess 
00:41:57:[3]PPPoE 3:Connected PTA 

Router# debug pppoe errors interface atm1/0.10

PPPoE protocol errors debugging is on 
Router# 
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.10 

Table 1 describes significant fields shown in the displays.

Table 1 debug pppoe Field Descriptions 

Field
Description

PPPoE

PPPoE debug message header.

0:

PPPoE session ID.

I PADI

Incoming PPPoE Active Discovery Initiation packet.

R:

Remote MAC address.

L:

Local MAC address.

0/101

Virtual path identifier (VPI)/virtual channel identifier (VCI) of the PVC.

ATM1/0.10

Interface type and number.

O PADO

Outgoing PPPoE Active Discovery Offer packet.

I PADR

Incoming PPPoE Active Discovery Request packet.

[3]

Unique user session ID. The same ID is used for identifying sessions across different applications such as PPPoE, PPP, Layer 2 Tunneling Protocol (L2TP), and Subscriber Service Switch (SSS). The same session ID appears in the output for the show pppoe session, show sss session, and show vpdn session commands.

PPPoE 3

PPPoE session ID.

Created

PPPoE session is created.

O PADS

Outgoing PPPoE Active Discovery Session-confirmation packet.

Connected PTA

PPPoE session is established.

Max session count(1) on mac(00b0.c2e9.c470) reached

PPPoE session is rejected because of per-MAC session limit.


Related Commands

Command
Description

encapsulation aal5autoppp virtual-template

Enables PPPoA/PPPoE autosense.

pppoe enable

Enables PPPoE sessions on an Ethernet interface or subinterface.

protocol pppoe (ATM VC)

Enables PPPoE sessions to be established on PVCs.

show pppoe session

Displays information about active PPPoE sessions.

show sss session

Displays Subscriber Service Switch session status.

show vpdn session

Displays session information about L2TP, L2F protocol, and PPPoE tunnels in a VPDN.


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 configuration

Command History

Release
Modification

12.1(2)T

This command was introduced.

12.1(5)T

This command was modified to enable PPPoE on IEEE 802.1Q encapsulated VLAN interfaces.

12.2(15)T

The group option was added.

12.3(2)T

This command was made available in VLAN configuration mode and VLAN range configuration mode.


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/0
Router(config-if)# pppoe enable 
!
Router(config)# bba-group pppoe global 
Router(config-bba-group)# virtual-template 1 
Router(config-bba-group)# sessions max limit 8000 
Router(config-bba-group)# sessions per-vc limit 8 
Router(config-bba-group)# sessions per-mac limit 2 

PPPoE 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.1 
Router(config-if)# encapsulation dot1Q 1 
Router(config-if)# pppoe enable group vpn1 
!
Router(config)# bba-group pppoe vpn1 
Router(config-bba-group)# virtual-template 1 
Router(config-bba-group)# sessions per-vc limit 2 
Router(config-bba-group)# sessions per-mac limit 1 

PPPoE 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/0
Router(config-if)# no ip address 
Router(config-if)# no ip mroute-cache 
Router(config-if)# duplex half 
Router(config-if)# vlan-range dot1q 20 30 
Router(config-if-vlan-range)# pppoe enable group PPPOE 
Router(config-if-vlan-range)# exit-vlan-config 

Related Commands

Command
Description

bba-group pppoe

Creates a PPPoE profile.

debug pppoe

Displays debugging information for PPPoE sessions.

sessions max limit

Configures a PPPoE global profile with the maximum number of PPPoE sessions permitted on a router and sets the PPPoE session-count threshold.

sessions per-vlan limit

Specifies the maximum number of PPPoE sessions under each VLAN.


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

vlan-id

VLAN identifier. Valid values in the range from 1 to 4095.

start-vlan-id

VLAN identifier of the first VLAN in the range. Valid values range from 1 to 4095.

end-vlan-id

VLAN identifier of the last VLAN in the range. Valid values range from 1 to 4095.

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

ATM PVC support for PPPoE over 802.1Q VLAN encapsulation is not enabled.

Command Modes

ATM VC configuration
VC class configuration

Command History

Release
Modification

12.3(2)T

This command was introduced.


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 PPPOEOA
 virtual-template 1 
 sessions per-mac limit 1 

interface virtual-template 1 
 ip address 10.10.10.10 255.255.255.0 
 mtu 1492 

interface atm 4/0.10 multipoint 
 pvc 10/100 
  protocol pppovlan dot1q range 10 30 group PPPOEOA 

Related Commands

Command
Description

debug pppoe

Displays debugging information for PPPoE sessions.


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

vlan-id

VLAN identifier. Valid values range from 1 to 4095.


Defaults

IEEE 802.1Q VLAN encapsulation is not enabled.

Command Modes

Interface configuration

Command History

Release
Modification

12.3(2)T

This command was introduced.


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/0
 no ip address 
 no ip mroute-cache 
 duplex half 
 vlan-id dot1q 20
  pppoe enable group PPPOE 
  exit-vlan-config 

The following example configures Ethernet interface 0 to bridge packets using VLAN ID 100, and assigns the interface to bridge group 1:

interface ethernet 0
 vlan-id dot1q 100
  description bridged vlan 100
  bridge-group 1
 bridge-group 1

Related Commands

Command
Description

debug pppoe

Displays debugging information for PPPoE sessions.

pppoe enable

Enables PPPoE sessions on an Ethernet interface or subinterface.

vlan-range dot1q

Enables IEEE 802.1Q VLAN encapsulation for a range of VLANs on an Ethernet interface.


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

start-vlan-id

VLAN identifier of the first VLAN in the range. Valid values range from 1 to 4095.

end-vlan-id

VLAN identifier of the last VLAN in the range. Valid values in the range from 1 to 4095.

native

(Optional) Instructs the interface to bridge untagged (native) packets.


Defaults

IEEE 802.1Q VLAN encapsulation is not enabled.

Command Modes

Interface configuration

Command History

Release
Modification

12.3(2)T

This command was introduced.


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/0
 no ip address 
 no ip mroute-cache 
 duplex half 
 vlan-range dot1q 20 30 
  pppoe enable group PPPOE 
  exit-vlan-config 

The 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 0
 vlan-range dot1q 1 500 native
  description 1 to 500
  bridge-group 1
 bridge-group 1

Related Commands

Command
Description

debug pppoe

Displays debugging information for PPPoE sessions.

pppoe enable

Enables PPPoE sessions on an Ethernet interface or subinterface.

vlan-id dot1q

Enables IEEE 802.1Q VLAN encapsulation for a specific VLAN on an Ethernet interface.