Specifications

328 Chapter 8. Command Reference
L2TP SET TYPE
DeÞnes the type of L2TP support for the tunnel. The routerÕs role is deÞned on a per-tunnel basis.
L2TP SET WANIF
Restricts the remote interface with which the L2TP tunnel can be established.
If this command is not used, no remote interface restriction is enforced. For example, no restriction would be
enforced when the Dial Backup feature is used (see page 103). Thus, the tunnel would be terminated and re-
established when switching back and forth between the primary interface and the backup interface. If the tunnel is
to established only with the primary interface or only with the backup interface, you must specify that restriction
with this command.
To clear the remote restriction for a tunnel, enter the l2tp set wanif command with a hyphen (-) as the remote
name.
remote Name of the remote router proÞle that must be used when establishing the L2TP tunnel. To list the
remote routers, use the command remote list.
For the dual-Ethernet router, specify the physical interface name, that is, either ETHERNET/0 or
ETHERNET/1.
To clear the remote restriction for a tunnel, enter a hyphen (-) as the remote name.
l2tp set remoteName <name> <TunnelName>
name Host name of the remote tunnel. This is the fully qualiÞed domain name of the remote host.
TunnelName Name of the tunnel (character string). The name is case-sensitive.
Example:
l2tp set remoteName isp PacingAtWork
l2tp set type all|lac|lns|l2tpclient|disabled <TunnelName>
all The router is conÞgured to act as both a LAC/L2TP client and an LNS server.
lac The router is conÞgured to act as a LAC for this tunnel.
lns The router is conÞgured to act as an LNS for this tunnel.
l2tpclient The router is conÞgured to act as an L2TP client for this tunnel.
disabled The tunnel entry is disabled.
TunnelName Name of the tunnel (character string). The name is case-sensitive.
Example:
l2tp set type l2tpclient PacingAtWork
l2tp set wanif <remote> <TunnelName>