如题,MSR3610配置如下:
version 7.1.064, Release 0615P15
#
sysname H3C
#
telnet server enable
#
ip pool l2tp1 192.168.8.10 192.168.8.200
#
dns proxy enable
#
password-recovery enable
#
vlan 1
#
controller Cellular0/0
#
interface Virtual-Template1
ppp authentication-mode pap
remote address pool l2tp1
ip address 192.168.8.1 255.255.255.0
#
interface NULL0
#
interface GigabitEthernet0/0
port link-mode route
ip address *.*.*.* *.*.*.*
packet-filter 3000 inbound
ipsec apply policy 1
#
interface GigabitEthernet0/1
port link-mode route
ip address 10.18.1.29 255.255.255.0
#
interface GigabitEthernet0/2
port link-mode route
combo enable copper
#
interface GigabitEthernet0/3
port link-mode route
combo enable copper
#
interface GigabitEthernet0/4
port link-mode route
#
interface GigabitEthernet0/5
port link-mode route
#
security-zone name Local
#
security-zone name Trust
#
security-zone name DMZ
#
security-zone name Untrust
#
security-zone name Management
#
scheduler logfile size 16
#
line class console
user-role network-admin
#
line class tty
user-role network-operator
#
line class usb
user-role network-admin
#
line class vty
user-role network-operator
#
line con 0
user-role network-admin
#
line vty 0 63
authentication-mode scheme
user-role network-operator
#
ip route-static 0.0.0.0 0 *.*.*.*
#
info-center synchronous
#
acl advanced 3000
rule 0 deny tcp destination-port eq telnet
#
password-control enable
undo password-control aging enable
undo password-control history enable
password-control length 6
password-control login-attempt 3 exceed lock-time 10
password-control update-interval 0
password-control login idle-time 0
password-control complexity user-name check
#
domain system
#
domain default enable system
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
#
user-group system
#
local-user * class manage
service-type telnet http https
authorization-attribute user-role network-admin
#
local-user test1 class network
password cipher $c$3$MoK2H0ocGsBT274MvawrK20kiJyNyL78
service-type ppp
authorization-attribute user-role network-operator
#
ipsec transform-set 1
encapsulation-mode transport
esp encryption-algorithm 3des-cbc
esp authentication-algorithm md5
#
ipsec transform-set 2
encapsulation-mode transport
esp encryption-algorithm aes-cbc-128
esp authentication-algorithm sha1
#
ipsec transform-set 3
encapsulation-mode transport
esp encryption-algorithm aes-cbc-256
esp authentication-algorithm sha1
#
ipsec transform-set 4
encapsulation-mode transport
esp encryption-algorithm des-cbc
esp authentication-algorithm sha1
#
ipsec transform-set 5
encapsulation-mode transport
esp encryption-algorithm 3des-cbc
esp authentication-algorithm sha1
#
ipsec transform-set 6
encapsulation-mode transport
esp encryption-algorithm aes-cbc-192
esp authentication-algorithm sha1
#
ipsec policy-template 1 1
transform-set 1 2 3 4 5 6
ike-profile 1
#
ipsec policy 1 1 isakmp template 1
#
l2tp-group 1 mode lns
allow l2tp virtual-template 1
undo tunnel authentication
#
l2tp enable
#
ike profile 1
keychain 1
exchange-mode aggressive
local-identity address *.*.*.*
match remote identity address 0.0.0.0 0.0.0.0
proposal 1 2 3 4 5 6
#
ike proposal 1
encryption-algorithm aes-cbc-128
dh group2
authentication-algorithm md5
#
ike proposal 2
encryption-algorithm 3des-cbc
dh group2
authentication-algorithm md5
#
ike proposal 3
encryption-algorithm 3des-cbc
dh group2
#
ike proposal 4
encryption-algorithm aes-cbc-256
dh group2
#
ike proposal 5
dh group2
#
ike proposal 6
encryption-algorithm aes-cbc-192
dh group2
#
ike keychain 1
pre-shared-key address 0.0.0.0 0.0.0.0 key cipher $c$3$HhtjQ8g7mRJ5ysO1YUJK7jzuv82+7RPlBPP9qP/f
#
ip http enable
#
wlan global-configuration
#
wlan ap-group default-group
#
cloud-management server domain oasis.h3c.com
#
return
debugging 信息:
*Jun 17 16:59:02:302 2019 H3C IPSEC/7/PACKET: Alloc IPsec cache: Global fs seq : 0, Private index : 0, Private seq : 0. *Jun 17 16:59:02:302 2019 H3C IPSEC/7/PACKET: Failed to find SA by SP, SP Index = 0, SP Convert-Seq = 65537.
手机无法连接。
dis version
H3C Comware Software, Version 7.1.064, Release 0615P15
Copyright (c) 2004-2018 New H3C Technologies Co., Ltd. All rights reserved.
H3C MSR3610 uptime is 0 weeks, 0 days, 6 hours, 10 minutes
Last reboot reason : User reboot
Boot image: flash:/msr36x1-cmw710-boot-r0615p15.bin
Boot image version: 7.1.064P71, Release 0615P15
Compiled Aug 14 2018 16:00:00
System image: flash:/msr36x1-cmw710-system-r0615p15.bin
System image version: 7.1.064, Release 0615P15
Compiled Aug 14 2018 16:00:00
Feature image(s) list:
flash:/msr36x1-cmw710-security-r0615p15.bin, version: 7.1.064
Compiled Aug 14 2018 16:00:00
flash:/msr36x1-cmw710-voice-r0615p15.bin, version: 7.1.064
Compiled Aug 14 2018 16:00:00
flash:/msr36x1-cmw710-data-r0615p15.bin, version: 7.1.064
Compiled Aug 14 2018 16:00:00
CPU ID: 0x11
2G bytes DDR3 SDRAM Memory
8M bytes Flash Memory
PCB Version: 2.0
CPLD Version: 1.0
Basic BootWare Version: 1.20
Extended BootWare Version: 1.20
[SLOT 0]CON (Hardware)2.0, (Driver)1.0, (CPLD)1.0
[SLOT 0]GE0/0 (Hardware)2.0, (Driver)1.0, (CPLD)1.0
[SLOT 0]GE0/1 (Hardware)2.0, (Driver)1.0, (CPLD)1.0
[SLOT 0]GE0/2 (Hardware)2.0, (Driver)1.0, (CPLD)1.0
[SLOT 0]GE0/3 (Hardware)2.0, (Driver)1.0, (CPLD)1.0
[SLOT 0]SFP0/4 (Hardware)2.0, (Driver)1.0, (CPLD)1.0
[SLOT 0]SFP0/5 (Hardware)2.0, (Driver)1.0, (CPLD)1.0
[SLOT 0]CELLULAR0/0 (Hardware)2.0, (Driver)1.0, (CPLD)1.0
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论