Configuring An Lac To Establish An L2Tp Tunnel - HPE FlexNetwork MSR Series Comware 5 Layer 2 - Wan Access Configuration Manual

Table of Contents

Advertisement

For information about AAA configuration commands and remote AAA authentication method
configuration, see HPE FlexNetwork MSR Router Series Comware 5 Security Configuration Guide.

Configuring an LAC to establish an L2TP tunnel

To establish an L2TP tunnel in LAC-auto-initiated mode, you must create a virtual PPP user on the
LAC. LAC performs PPP authentication for the virtual PPP user, that is, LAC is both the side that
performs PPP authenticator and the side that is authenticated by PPP. An L2TP tunnel established in
LAC-auto-initiated mode exists until you remove the tunnel by using the undo l2tp-auto-client
enable command.
To configure an LAC to establish an L2TP tunnel, perform the following tasks:
Create a VT interface and configure an IP address for the interface.
In virtual template interface view, configure the side that performs PPP authentication: use the
ppp authentication-mode command to specify the authentication method the LAC uses to
authenticate the virtual PPP user.
In VT interface view, configure the side authenticated by PPP: use the ppp pap command or
the ppp chap command to specify the PPP authentication method supported by the virtual PPP
user, and the username and password of the virtual PPP user. The authentication method to be
used by the LAC and that supported by the virtual PPP user must be consistent.
Configure AAA authentication for VPN users on the LAC. The configured username and
password for AAA authentication must be the same as those of the virtual PPP user configured
on the VT interface.
Trigger the LAC to establish an L2TP tunnel.
To trigger an LAC to establish an L2TP tunnel:
Step
Enter system view.
1.
Create a VT interface and
2.
enter its view.
Assign an IP address to the VT
3.
interface or enable IP address
negotiation so that the VT
interface accepts the IP
address negotiated with the
peer.
Configure the authentication
4.
method for the LAC to use to
authenticate the virtual PPP
user.
Command
system-view
interface virtual-template
virtual-template-number
ip address address mask
ip address ppp-negotiate
ppp authentication-mode
{ chap | pap } * [ domain
isp-name ]
262
Remarks
N/A
By default, no VT interface exists.
Use either command.
By default, no IP address is
assigned by default.
By default, no authentication is
performed for PPP users.

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?

Table of Contents