6-5
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 6 Configuring PPPoE over Ethernet and IEEE 802.1Q VLAN
Static MAC Address for PPPoE
Configuration Example for PPPoE over Ethernet
Example 6-1
shows a PPPoE over Ethernet configuration. In the example, the virtual template
virtual-template 1
is linked to the VPDN group. The configuration also specifies the number of sessions
allowed on the VPDN group.
Example 6-1
Using a VPDN Group to Configure PPPoE over Ethernet
!Creates a VPDN session group and links it to a virtual template.
vpdn-group 1
accept-dialin
protocol pppoe
virtual-template 1
pppoe limit per-mac 10
pppoe limit max-sessions 32000
interface Loopback0
ip address 172.16.0.1 255.255.255.255
!Enables PPPoE and allows PPPoE sessions to be created through this subinterface.
interface GigabitEthernet1/0/0
no ip address
negotiation auto
pppoe enable
!Configures the virtual template interface.
interface Virtual-Template1
ip unnumbered loop 0
mtu 1492
peer default ip address pool pool1
ppp authentication chap
!Specifies the IP local pool to use for address assignment.
ip local pool pool1 192.168.0.1 192.168.0.100
Example 6-2
creates a BBA group named
vpn-1
and links it to virtual-template 1. The vpn-1 BBA group
is associated with VLAN 20.
Example 6-2
Using a BBA Group to Configure PPPoE over Ethernet
bba-group pppoe vpn-1
virtual-template 1
sessions per-vc limit 5
sessions per-mac limit 10
!
!
interface GigabitEthernet1/0/0.1
encapsulation dot1q 20
protocol pppoe group vpn-1
Static MAC Address for PPPoE
The Static MAC Address for PPPoE feature allows you to choose the MAC address to be used as the
source MAC address for PPPoE over ATM sessions on ATM permanent virtual circuits (PVCs). You can
configure this feature for either a broadband aggregation (BBA) group or a virtual private dialup network
(VPDN) group. The feature is applied to all PPPoEoA sessions on ATM PVCs to which the BBA group
or the VPDN group is applied.