[liuxugang] local-user h3c
[liuxugang-luser-h3c] password simple h3c
[liuxugang-luser-h3c] service-type ppp
[liuxugang-luser-h3c] quit
[liuxugang-isp-system] ip pool 1 192.168.1.2 192.168.1.255 给×××用户设置地址池
[liuxugang] quit
[liuxugang] l2tp enable 使能l2tp功能
[liuxugang] interface Virtual-Template 0 创建虚模版0
[liuxugang-Virtual-Template0] ip address 192.168.5.1 255.255.255.0 设定IP地址
[liuxugang-Virtual-Template0] ppp authentication-mode pap 使用pap验证方式
[liuxugang-Virtual-Template0] remote address pool 1 引用地址池
[liuxugang-Virtual-Template0] quit
[liuxugang] l2tp-group 1 创建l2tp组
[liuxugang-l2tp1] mandatory-lcp 强制LCP自协商
[liuxugang-l2tp1] allow l2tp virtual-template 0 在虚接口商启用l2tp
[liuxugang-l2tp1] undo tunnel authentication 取消隧道验证。默认启用
[liuxugang-l2tp1] quit
<liuxugang> save