Technical data

Table Of Contents
105
2. Trying to establish IP connectivity (using the
ping
or
tracert
commands).
a. “Pinging” from the L2TP client or LNS to the opposite tunnel endpoint will succeed (this tests the
tunnel path).
b. “Pinging” from a tunnel endpoint IP address to an IP address within the tunnel will probably fail due
to the existence of the IP firewall..
Configuration Commands
There are two categories of L2TP commands and they are respectively associated with:
Tunnels and the L2TP protocol
The PPP session
Commands associated with tunnels and the L2TP Protocol
These commands are used to configure L2TP tunnels. For additional information on the syntax of the
commands listed below, please refer to the L2TP commands section in the Command Line Interface
Reference chapter.
L2TP tunnel entry
l2tp add
<
TunnelName
>
The remote tunnel host name
l2tp set remoteName
<name> <TunnelName>
The local tunnel host name
l2tp set ourTunnelName
<name> <TunnelName>
CHAP Secret
l2tp set CHAPSecret
<secret> <TunnelName>
Tunnel Authentication
l2tp set authen on|off
<TunnelName>
Type of L2TP support for tunnel
A tunnel entry can be configured to act as a LAC, an LNS, both a LAC and LNS, or disabled.
l2tp set type all|lns|l2tpclient|disabled
<TunnelName>
Remote tunnel IP address
l2tp set address
<ipaddr> <TunnelName>
Note:
Verify that the IP address of the other end of the tunnel is correctly routed. It should not be routed
through the tunnel itself, but over a physical link.
Our PPP system name and secret/password
The following commands specify the router’s name and password/secret for authentication purposes on a
per-tunnel basis.