Configuration Example For Client-Initiated L2Tp Tunnel - HPE FlexNetwork MSR series Configuration Manual

Comware 7 layer 2 - wan access
Table of Contents

Advertisement

# Create L2TP group 1 in LNS mode.
[LNS] l2tp-group 1 mode lns
# Configure the local tunnel name as LNS.
[LNS-l2tp1] tunnel name LNS
# Specify Virtual-Template 1 for receiving calls from an LAC.
[LNS-l2tp1] allow l2tp virtual-template 1 remote LAC
# Enable tunnel authentication, and specify the tunnel authentication key as aabbcc.
[LNS-l2tp1] tunnel authentication
[LNS-l2tp1] tunnel password simple aabbcc
[LNS-l2tp1] quit
3.
On the remote system, enter vpdnuser as the username and Hello as the password in the
dial-up network window to dial a connection.
Verifying the configuration
After the dial-up connection is established, the remote system can obtain an IP address and can ping
the private IP address of the LNS.
# On the LNS, use the display l2tp tunnel command to check the established L2TP tunnels.
[LNS] display l2tp tunnel
LocalTID RemoteTID State
196
3542
# On the LNS, use the display l2tp session command to check the established L2TP sessions.
[LNS] display l2tp session
LocalSID
2041

Configuration example for client-initiated L2TP tunnel

Network requirements
As shown in
corporate network.
Figure 31 Network diagram
Remote host
2.1.1.1/24
Configuration procedure
1.
Configure the LNS:
# Configure IP addresses for the interfaces. (Details not shown.)
# Configure the route between the LNS and the remote host. (Details not shown.)
# Create a local user named vpdnuser, set the password, and enable the PPP service.
[LNS] local-user vpdnuser class network
[LNS-luser-network-vpdnuser] password simple Hello
[LNS-luser-network-vpdnuser] service-type ppp
[LNS-luser-network-vpdnuser] quit
Established
RemoteSID
LocalTID
64
196
Figure
31, a PPP user directly initiates a tunneling request to the LNS to access the
Internet
L2TP tunnel
Sessions RemoteAddress
1
1.1.2.1
State
Established
LNS
GE1/0/1
1.1.2.2/24
87
RemotePort RemoteName
1701
LAC
Corporate
network

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FlexNetwork MSR series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents