
260
Step Command
Remarks
2.
Enter L2TP group view in
LAC mode.
l2tp-group
group-number
[
mode
lac
]
N/A
3.
Configure each L2TP user to
use an L2TP tunnel
exclusively.
tunnel-per-user
By default, an L2TP tunnel can be
used by multiple L2TP users.
Enabling transferring AVP data in hidden mode
L2TP uses Attribute Value Pairs (AVPs) to transmit tunnel negotiation parameters, session
negotiation parameters, and user authentication information. Transferring AVP data in hidden mode
can hide sensitive AVP data such as user passwords. This feature encrypts AVP data with the key
configured by using the
tunnel password
command before transmission.
This configuration takes effect only when the tunnel authentication feature is enabled. For more
information about configuring tunnel authentication, see "
Configuring L2TP tunnel authentication
."
To enable transferring AVP data in hidden mode:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter L2TP group view in
LAC mode.
l2tp-group
group-number
[
mode
lac
]
N/A
3.
Enable transferring AVP data
in hidden mode.
tunnel avp-hidden
By default, AVP data is
transferred in plain text.
Configuring AAA authentication on an LAC
You can configure AAA authentication an LAC to authenticate the remote dialup users and initiate a
tunneling request only for qualified users. A tunnel will not be established for unqualified users.
The device supports both local AAA authentication and remote AAA authentication.
•
For local AAA authentication, create a local user and configure a password for each remote
user on the LAC. The LAC then authenticates a remote user by matching the provided
username and password with those configured locally.
•
For remote AAA authentication, configure the username and password of each user on the
RADIUS/HWTACACS server. The LAC then sends the remote user's username and password
to the server for authentication.
For more information, see "
."
To enable AAA authentication on an LAC, you also need to configure PAP or CHAP authentication for
PPP users on the user access interfaces. For information about configuring PAP or CHAP, see
"
Configuring an LAC to automatically establish an L2TP
tunnel
To configure an LAC to automatically establish an L2TP tunnel, perform the following tasks:
•
Create a virtual PPP interface and configure an IP address for the interface.
•
In virtual PPP interface view, use the
ppp
pap
or
ppp
chap
command to configure the side to
be authenticated by PPP as follows: