1.查看设备版本
fw_1030]dis version
该设备运行着h3c comware软件,版本为7.1.054,ess 9308p05
copyright (c) 2004-2015 hangzhou h3c tech. co., ltd. all rights reserved.
2.配置l2tp
l2tp enable //全局开启l2tp
l2tp-group 1 mode lns
allow l2tp virtual-template 1
undo tunnel authentication // 不启用隧道认证
ip pool l2tp 172.16.1.2 172.16.1.20 //配置地址
interface virtual-template1 创建并配置需接口
description l2tp_***
ppp authentication-mode chap
remote address pool l2tp 引用地址池l2tp
ip address 172.16.1.1 255.255.255.0
3.创建用户认证用户
local-user h4c class network
password cipher $c$3$jejrhtnmtdenpv93iyrc9zuslsxouq==
service-type ppp
authorization-attribute user-role network-operator
4.将需接口添加到域
security-zone name untrust
import interface gigabitethernet1/0/0
import interface virtual-template1
以上就是如何进行h3c_ comwarev7_l2tp配置的详细内容。