Huawei AR1200 series Configuration Manual page 291

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
[RouterB-l2tp1] quit
# Set the user name and password, which must be the same as those on the LAC side.
[RouterB] aaa
[RouterB-aaa] local-user huawei password 123
[RouterB-aaa] quit
# Configure an IP address pool for assigning IP addresses to users.
[RouterB] ip pool 1
[RouterB-ip-pool-1] gateway-list 13.1.1.1
[RouterB-ip-pool-1] network 13.1.1.0 mask 255.255.255.0
[RouterB-ip-pool-1] quit
Step 3 Verify the configuration.
# Run the display l2tp tunnel command on the LAC and LNS to check the tunnel when a VPN
user gets online. The following shows the command output on the LNS:
[RouterB] display l2tp tunnel
Total tunnel = 1
LocalTID RemoteTID RemoteAddress
1
# Run the display l2tp session command to check the session status. The following shows the
command output on the LNS:
[RouterB] display l2tp session
Total session = 1
LocalSID
1
# The VPN user can access the resources in the enterprise headquarters.
----End
Configuration Files
l
#
sysname RouterA
#
l2tp enable
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
local-user huawei password OUM!K%F<+$
[Q=^Q`MAF4<1!!
local-user huawei service-type ppp
#
interface Virtual-Template1
ppp pap local-user huawei password simple 123
ip address 13.1.1.2 255.255.255.0
l2tp-auto-client enable
#
interface Serial1/0/0
link-protocol ppp
ip address 12.1.1.2 255.255.255.0
#
l2tp-group 1
tunnel password simple
tunnel name LAC
Issue 01 (2012-04-20)
1
12.1.1.1
RemoteSID
LocalTID
1
1
Configuration file of RouterA
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Port
Sessions RemoteName
1701
1
123
4 L2TP Configuration
LNS
280

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents