R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)
67
To enable AAA authentication on an LAC, you also need to configure the authentication type of PPP users
as PAP or CHAP on the user access interfaces. For information about configuring PAP or CHAP, see
"Configuring PPP and MP."
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, 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 PPP user and the
username and password of the PPP user. The LNS authenticates the PPP user. For more information,
see "Configuring PPP and MP."
• Trigger the LAC to automatically establish an L2TP tunnel.
To configure an LAC to automatically establish an L2TP tunnel:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Create a virtual PPP interface
and enter its view.
interface virtual-ppp
interface-number
By default, no virtual PPP interface
exists.
3. Assign an IP address to the
virtual PPP interface, or enable IP
address negotiation so that the
virtual PPP interface accepts the
IP address negotiated with the
peer.
• ip address address mask
• ip address ppp-negotiate
Use either command.
By default, no IP address is
assigned.
4. Configure the peer to be
authenticated.
See "Configuring PPP and MP." N/A
5. Configure the LAC to
automatically establish an L2TP
tunnel with the LNS.
l2tp-auto-client l2tp-group
group-number
By default, an LAC does not
establish an L2TP tunnel.
An L2TP tunnel automatically
established in LAC-auto-initiated
mode exists until you remove the
tunnel by using the undo
l2tp-auto-client or undo
l2tp-group group-number
command.
6. (Optional.) Configure the
description for the interface.
description text
By default, the description of an
interface is in the format of
interface-name Interface, for
example, Virtual-PPP254
Interface.
7. (Optional.) Configure the polling
interval for the interface.
timer-hold seconds The default setting is 10 seconds.
8. (Optional.) Specify a card to
process traffic for the interface
(MSR4000).
service slot slot-number By default, no card is specified.
9. (Optional.) Configure the
expected bandwidth of the
interface.
bandwidth bandwidth-value
By default, the expected
bandwidth (in kbps) is 0.