Cisco Systems 10000 Network Router User Manual


 
11-10
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 11 Configuring Local AAA Server, User Database—Domain to VRF
aaa authorization network test2 local if-authenticated
aaa accounting delay-start all
aaa accounting network test1 start-stop group group_server_test1
aaa accounting network test2 start-stop group group_server_test2
!
aaa attribute list cisco1.com
attribute type addr-pool "dhcp-pool" protocol ip
attribute type ip-unnumbered "loopback1" service ppp protocol ip
attribute type vrf-id "vrf1" service ppp protocol ip
attribute type ppp-authen-list "test1"
attribute type ppp-author-list "test1"
attribute type ppp-acct-list "test1"
!
aaa attribute list cisco2.com
attribute type addr-pool "pppoe2" protocol ip
attribute type ip-unnumbered "loopback2" service ppp protocol ip
attribute type vrf-id "vrf2" service ppp protocol ip
attribute type ppp-authen-list "test2"
attribute type ppp-author-list "test2"
attribute type ppp-acct-list "test2"
!
ip dhcp pool dhcp-pool
vrf vrf1
network 101.1.0.0 255.255.0.0
default-router 100.1.1.1
lease 0 2 30
!
ip vrf vrf1
rd 1:1
route-target export 1:1
route-target import 1:1
!
ip vrf vrf2
rd 2:2
route-target export 2:2
route-target import 2:2
!
subscriber authorization enable
!
subscriber profile cisco1.com
service local
aaa attribute list cisco1.com
!
subscriber profile cisco2.com
aaa attribute list cisco2.com
!
vpdn enable
!
ppp hold-queue 80000
no virtual-template snmp
!
buffers small permanent 15000
buffers middle permanent 12000
buffers large permanent 1000
!
bba-group pppoe cisco1.com
virtual-template 1
!
bba-group pppoe cisco2.com
virtual-template 2
!
interface Loopback1
ip vrf forwarding vrf1
ip address 100.1.1.1 255.255.255.255