Pppoe to mpls vpn configuration example – Cisco 10000 User Manual
Page 116
3-34
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 3 Configuring Remote Access to MPLS VPN
Configuration Examples for RA to MPLS VPN
PPPoE to MPLS VPN Configuration Example
shows how to configure the RA to MPLS VPN feature with one VRF for PPPoE sessions.
Example 3-13 Configuring PPPoE to MPLS VPN
!
!Enables the AAA access control model.
aaa new-model
!
!Configures AAA accounting.
aaa authentication login default none
aaa authentication enable default none
aaa authentication ppp default group radius
aaa authorization config-commands
aaa authorization network default local
aaa session-id common
enable password cisco
!
username pppoe password 0 pppoe
username pppoa password 0 pppoa
username common password 0 common
!
!Preprovisions slots in the Cisco 10000 series router for line cards.
card 1/0 1gigethernet-1
card 2/0 1gigethernet-1
card 3/0 1oc12pos-1
card 4/0 1oc12pos-1
card 5/0 1oc12atm-1
card 6/0 1oc12atm-1
card 7/0 4oc3atm-1
card 8/0 4oc3atm-1
!
!Creates the common VRF.
ip vrf common
rd 100:1000
route-target export 100:1000
route-target import 100:1000
!
!Specifies the VPDN group to be used to establish PPPoE sessions and specifies the maximum
!number of PPPoE sessions to be established over a virtual circuit.
vpdn-group pppoe
accept-dialin
protocol pppoe
virtual-template 1
pppoe limit per-mac 32000
pppoe limit per-vc 1
!
no virtual-template snmp
!
!Configures the small buffer.
buffers small permanent 15000
!
vc-class atm vpn
protocol pppoe
encapsulation aal5snap
!
!Defines the general loopback interface used for reachability to the router and as a
!source IP address for sessions (IBGP, TDP, and so on).
interface Loopback0
ip address 10.16.3.1 255.255.255.255
ip ospf network point-to-point