Specifications
126 Chapter 5. Configuring Software Options
l2tp set authen on | off <TunnelName>
Type of L2TP support for tunnel:
Configure the entry to act as a L2TP client,, an L2TP network server (LNS), or as both a LAC and an
LNS, or the entry can be 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.
You may also specify the source IP address for the tunnel as an address other than the WAN interface IP
address, such as the Ethernet IP address.
l2tp set ourAddress <ipaddr)> <TunnelName>
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.
l2tp set ourSysName <name> <TunnelName>
l2tp set ourPassword <password> <TunnelName>
Other commands:
Commands are also available to delete a tunnel, close a tunnel, or set up advanced L2TP configuration
features such as traffic performance fine-tuning (see L2TP Ñ Virtual Dial-Up Configuration
Commands, page 322).
¥ Commands for PPP Session Configuration
Two commands are used to extend a PPP link from a remote site to a corporate site across the Internet
and establish a tunnel. For more information, see L2TP Ñ Virtual Dial-Up Configuration Commands,
page 322.
remote setLNS <TunnelName> <remoteName>
remote setl2tpclient <TunnelName><remoteName>
Sample Configurations
Two sample configurations are described in this section:
¥ A simple configuration. This example describes the information needed to configure one side of the tunnel
(the client side).
¥ A complete configuration. This example describes the information needed to configure both sides of the
tunnel (client and server sides).