vpdn enable
vpdn multihop
vpdn ip udp ignore checksum
!
vpdn-group 1
! Default L2TP VPDN group
accept-dialin
protocol l2tp
virtual-template 1
local name czyc
lcp renegotiation always
l2tp tunnel password 7 082256570A
!
!
username yz@yc*** password 7 06575D72
!
interface Virtual-Template1
ip address 192.168.1.1 255.255.255.0
peer ip address forced
peer default ip address pool 1
ppp authentication chap
!
ip local pool 1 192.168.1.2 192.168.1.20
此只显示L2TP设置,路由部分省略,具体环境是与华为路由器作L2TP,华为路由器作LAC,华为路由器设置请参照本BLOG分类中的华为技术分类.
转载于:https://blog.51cto.com/1841cisco/1036444