Table Of Contents
PPPoE over Ethernet and IEEE 802.1Q VLANs
Configuring a Virtual Template Interface
Creating an Ethernet Interface and Enabling PPPoE
Configuring PPPoE in a VPDN Group
PPPoE over IEEE 802.1Q VLANs Feature
Configuring a Virtual Template Interface
Creating an Ethernet 802.1Q Encapsulated Subinterface and Enabling PPPoE
Configuring PPPoE in a VPDN Group
Verifying PPPoE over Ethernet and IEEE 802.1Q VLAN
PPPoE over Ethernet and IEEE 802.1Q VLANs
The Cisco 10000 series ESR supports the PPPoE over Ethernet (PPPoEoE) and PPPoE over IEEE 802.1Q VLANs feature in Cisco IOS Release 12.2(4)BZ1 or a later release. IEEE 802.1Q encapsulation is used to connect a VLAN-capable router with another VLAN-capable networking device.
This chapter discusses the PPPoE over Ethernet and IEEE 802.1Q VLANs features for the Cisco 10000 ESR. For more information, refer to the "Configuring Broadband Access: PPP and Routed Bridge Encapsulation" chapter in the Cisco IOS Wide-Area Networking Configuration Guide.
PPPoE over Ethernet Feature
The Cisco 10000 ESR supports a PPPoE over Ethernet connection. PPPoE over Ethernet enables direct connection to an Ethernet interface. The Cisco 10000 ESR supports PPPoE over Ethernet sessions to enable multiple hosts on a shared Ethernet interface to open PPP sessions to the PPPoE server.
Restrictions
The PPPoE over Ethernet feature has the following restriction:
•The Cisco 10000 ESR currently supports the PPPoE over Ethernet feature only on a Gigabit Ethernet interface.
Note The Cisco 10000 ESR supports a Fast Ethernet interface for management traffic only.
Prerequisites
The Cisco 10000 ESR must be running Cisco IOS Release 12.2(4)BZ1 or a later release that includes the broadband aggregation features.
Configuration Tasks
To configure the PPPoE over Ethernet feature, perform the following configuration tasks:
•Configuring a Virtual Template Interface
•Creating an Ethernet Interface and Enabling PPPoE
•Configuring PPPoE in a VPDN Group
Configuring a Virtual Template Interface
We recommend that you configure a virtual template before you configure the PPPoE or PPPoE over Ethernet feature. The virtual template interface is a logical entity that is applied dynamically as needed to an incoming PPP session request. To configure a virtual template interface, see the "Configuring a Virtual Template Interface" section on page 3-11.
Creating an Ethernet Interface and Enabling PPPoE
To create an Ethernet interface and enable PPPoE on it, use the following commands beginning in global configuration mode:
Configuring PPPoE in a VPDN Group
To configure a virtual private dial network (VPDN) group for PPPoE and to link it to the appropriate virtual template interface, use the following commands beginning in global configuration mode:
Configuration Example
The following example shows a PPPoE over Ethernet configuration. In the example, the virtual-template 1 virtual template is linked to the VPDN group. The configuration also specifies the number of sessions allowed on the VPDN group.
!Creates a VPDN session group and links it to a virtual template.vpdn-group 1accept-dialinprotocol pppoevirtual-template 1pppoe limit per-mac 10pppoe limit max-sessions 32000interface Loopback0ip address 172.16.0.1 255.255.255.255!Enables PPPoE and allows PPPoE sessions to be created through this subinterface.interface GigabitEthernet1/0/0no ip addressnegotiation autopppoe enable!Configures the virtual template interface.interface Virtual-Template1ip unnumbered loop 0mtu 1492peer default ip address pool pool1ppp authentication chap!Specifies the IP local pool to use for address assignment.ip local pool pool1 192.168.0.1 192.168.0.100PPPoE over IEEE 802.1Q VLANs Feature
The PPPoE over IEEE 802.1Q VLANs feature, available in Cisco IOS Release 12.2(4)BZ1 or a later release, enables the Cisco 10000 ESR to support PPPoE over IEEE 802.1Q encapsulated VLANs using Gigabit Ethernet. 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.
Restrictions
The PPPoE over IEEE 802.1Q VLANs feature has the following restrictions:
•Supported on Gigabit Ethernet.
•Supported for PPPoE dial-in only. PPPoE dial-out (client) is not fully supported.
•PPPoE is disabled by default on a VLAN.
Prerequisites
The Cisco 10000 ESR must be running Cisco IOS Release 12.2(4)BZ1 or a later release that has the broadband aggregation features.
Configuration Tasks
To configure the PPPoE over IEEE 802.1Q VLANs feature, perform the following configuration tasks:
•Configuring a Virtual Template Interface
•Creating an Ethernet 802.1Q Encapsulated Subinterface and Enabling PPPoE
•Configuring PPPoE in a VPDN Group
The following sections describe how to perform these configuration tasks. For more information, refer to the "Configuring Broadband Access: PPP and Routed Bridge Encapsulation" chapter in the Cisco IOS Wide-Area Networking Configuration Guide.
Configuring a Virtual Template Interface
We recommend that you configure a virtual template interface before you configure the PPPoE over IEEE 802.1Q VLANs feature. The virtual template interface is a logical entity that is applied dynamically as needed to a serial interface. To configure a virtual template interface, see the "Configuring a Virtual Template Interface" section on page 3-11.
Creating an Ethernet 802.1Q Encapsulated Subinterface and Enabling PPPoE
To create an Ethernet 802.1Q encapsulated subinterface and enable PPPoE on it, use the following commands on the Cisco 10000 ESR beginning in global configuration mode:
Configuring PPPoE in a VPDN Group
To configure a VPDN group for PPPoE and link it to the appropriate virtual template interface, use the following commands on the Cisco 10000 ESR beginning in global configuration mode:
Configuration Example
The following example shows a PPPoE over IEEE 802.1Q encapsulated VLAN configuration. In the example, the virtual-template 1 virtual template is linked to the VPDN group. The configuration also specifies the maximum number of sessions allowed on the VPDN group and the number of sessions allowed for each VLAN.
!Enables a virtual private dial-up network configuration on the router.vpdn enable!!Creates a VPDN session group and links it to a virtual template.vpdn-group 1accept-dialinprotocol pppoevirtual-template 1pppoe limit per-mac 10pppoe limit per-vlan 100pppoe limit max-sessions 32000interface Loopback0ip address 172.16.0.1 255.255.255.255interface GigabitEthernet1/0/0no ip addressnegotiation auto!Enables PPPoE and allows PPPoE sessions to be created through this subinterface.interface GigabitEthernet1/0/0.10encapsulation dot1Q 20pppoe enablepppoe max-sessions 10!Configures the virtual template interface.interface Virtual-Template1ip unnumbered loop 0mtu 1492peer default ip address pool pool1ppp authentication chap!Specifies the IP local pool to use for address assignment.ip local pool pool1 192.168.0.1 192.168.0.100Verifying PPPoE over Ethernet and IEEE 802.1Q VLAN
To verify PPPoE over Ethernet and IEEE 802.1Q VLAN, use the following commands in privileged EXEC mode:
Clearing PPPoE Sessions
To clear PPPoE sessions, use the following commands in privileged EXEC mode:
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.
© 2007 Cisco Systems, Inc. All rights reserved.