Huawei AR1200 series Configuration Manual page 285

Enterprise routers
Hide thumbs Also See for AR1200 series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
[RouterA] ip pool 1
[RouterA-ip-pool-1]network 192.168.0.0 mask 24
# Set the user name and password, which must be the same as those set on the user side.
[RouterA] aaa
[RouterA-aaa] local-user vpdnuser password Hello
[RouterA-aaa] local-user vpdnuser service-type ppp
[RouterA-aaa] quit
Step 4 Verify the configuration.
After VPN users log in to the LAC or LNS devices, run the display l2tp tunnel command and
you can find the tunnel is set up. Take the display on the LAC as an example:
<RouterA> display l2tp tunnel
Total tunnel = 1
LocalTID RemoteTID RemoteAddress
1
Running the display l2tp session command, you can check whether sessions are set up. Take
the display on the LNS as an example.
<RouterA> display l2tp session
Total session = 1
LocalSID
1469
In this manner, the VPN user can access the network of the headquarters.
----End
Configuration Files
#
sysname RouterA
#
l2tp enable
#
ip pool 1
network 192.168.0.0 mask 255.255.255.0
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
local-user vpdnuser password OUM!K%F<+$
[Q=^Q`MAF4<1!!
local-user vpdnuser service-type ppp
#
interface Virtual-Template1
ppp authentication-mode chap
remote address pool 1
ip address 192.168.0.1 255.255.255.0
#
interface Serial 1/0/0
link-protocol ppp
ip address 202.38.160.2 255.255.255.0
#
l2tp-group 1
allow l2tp virtual-template 1 remote A8010
tunnel password simple
tunnel name LNS
Issue 01 (2012-04-20)
1
202.38.160.3
RemoteSID
LocalTID
2036
NOTE
Only the configuration file of the LNS is listed.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Port
Sessions RemoteName
1701
1
1
huawei
4 L2TP Configuration
A8010
274

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents