XXX_2811#sh run Building configuration...
Current configuration : 9725 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname XXX_2811
! aaa new-model启动3A认证 ! ! aaa authentication login default local 本地认证(帐号信息在本地路由器上作认证) aaa authentication ppp default local 认证方式ppp可以不选 ! aaa session-id common ! resource policy ! ip subnet-zero ! ! ip cef no ip dhcp use vrf connected
!
vpdn enable 启动VPDN ! vpdn-group XXX.gx 建立一个vpdn组 ! Default L2TP VPDN group 默认是l2tp服务 accept-dialin 接受拨号 protocol l2tP 协议是l2tp virtual-template 1 虚模板 local name XXX 隧道名 为XXX lcp renegotiation always lcp打开 l2tp tunnel password 7 01140A12521B隧道密码 ! !
username test1@XXX.gx password 7 0312521B1C17 拨号时用户名及密码 !
! !
! ! ! interface Loopback0 ip address 172.16.10.2 255.255.255.255 ! interface FastEthernet0/0 ip address X.X.x.X 255.255.255.240 ! i ! interface FastEthernet0/1 duplex full speed 100 ip address 10.10.10.1 255.255.255.0
! interface Virtual-Template1 虚模板 mtu 1460 拨号时协商对端PPPOE 的mtu值 ip unnumbered FastEthernet0/1 peer default ip address pool 1 分配给拨号用户ip ppp authentication pap认证方式为pap ppp ipcp dns 202.103.224.68 分配给拨号用户dns !
! ip local pool 1 10.10.11.2 10.10.11.130 地址池
ip route 0.0.0.0 0.0.0.0 X.X.X.X
no ip http server
tftp-server server ! control-plane ! ! line con 0 line aux 0 line vty 0 4 password 7 061006315656 ! scheduler allocate 20000 1000 ! end
|