Virtual Private Networks (VPN)
L2TP
IX14 User Guide
649
Command line
1. Log into the IX14 command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
admin
to access the Admin CLI.
2. At the command line, type
config
to enter configuration mode:
> config
(config)>
3. Create a new PPP-over-L2TP access concatenator , or edit an existing one:
n
To create a new PPP-over-L2TP access concatenator , see
n
To edit an existing PPP-over-L2TP access concatenator , change to the PPP-over-L2TP
access concatenator node in the configuration schema. For example, for an PPP-over-
L2TP access concatenator named
lac_tunnel
, change to the
lac_tunnel
node in the
configuration schema:
(config)> vpn l2tp lac lac_tunnel
(config vpn l2tp lac lac_tunnel)>
4. Enable active recovery:
(config vpn l2tp lac lac_tunnel)> surelink enable true
(config vpn l2tp lac lac_tunnel)>
5. To configure the device to restart the interface when its connection is considered to have
failed:
(config vpn l2tp lac lac_tunnel)> surelink restart true
(config vpn l2tp lac lac_tunnel)>
This is useful for interfaces that may regain connectivity after restarting, such as a cellular
modem.
6. To configure the device to reboot when the interface is considered to have failed:
(config vpn l2tp lac lac_tunnel)> surelink reboot enable
(config vpn l2tp lac lac_tunnel)>
7. Set the
Interval
between connectivity tests:
(config vpn l2tp lac lac_tunnel)> surelink interval
value
(config vpn l2tp lac lac_tunnel)>
where
value
is any number of weeks, days, hours, minutes, or seconds, and takes the format
number
{
w|d|h|m|s
}.
For example, to set
interval
to ten minutes, enter either
10m
or
600s
:
(config vpn l2tp lac lac_tunnel)> surelink interval 600s
(config vpn l2tp lac lac_tunnel)>
The default is 15 minutes.