LNS
ip pool 地址池名
network 1.1.1.0 mask 24
gateway-list 1.1.1.1
aaa
service-scheme 服务类型名
ip-pool 地址池名inter virtual-template 10
ip address 1.1.1.1 24
ppp authen chap
remote address service-scheme 服务类型名l2tp enable
l2tp-group 1
allow l2tp virtual-template 10 remote 远端隧道标识
tunnel authen
tunnel password cipher xxxuser-manager user l2tp拨号用户名
password huawei@123
LAC
inter virtual-template xxx
ip address ppp-negotiate
ppp chap user 拨号用户名
ppp chap password xxx
call-lns local-user 拨号用户 binding l2tp-group xx //将l2tp与VT接口进行绑定l2tp enable
l2tp-group 1
start l2tp ip 10.0.0.2 fullusername 拨号用户
tunnel name 本端隧道标识
tunnel password cipher xxxip route-static 192.168.1.0 24 virtual-template xx //创建静态路由进行引流