Efficient Networks
®
Router family
Command Line Interface Guide
Chapter 9: L2TP Commands
Efficient Networks
®
Page 9-15
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 “
Dial
Backup” on page 6-7.
) 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.
Mgmt Class
Security (R/W)
Input Format
l2tp set wanif <remote> <tunnelname>
Parameters
Examples
This command example restricts the tunnel named OfficeTunnel to the remote
interface named officertr.
This command example clears the remote interface restriction for the tunnel named
OfficeTunnel.
This command example restricts the tunnel named OfficeTunnel to the physical
interface ETHERNET/1.
<remote>
Name of the remote router profile that must be used when estab-
lishing the L2TP tunnel.
To list the remote routers, use the command remote list.
a,
b
a
For the dual-Ethernet router, specify the physical interface name, that is, either ETHERNET/0 or
ETHERNET/1.
b
To clear the remote restriction for a tunnel, enter a hyphen (-) as the remote name.
<tunnelname>
c,d
c
ASCII string
d
The name is case sensitive.
Host name of the remote tunnel. This is the fully qualified domain
name of the remote host.
-> l2tp set wanif officertr OfficeTunnel
-> l2tp set wanif - OfficeTunnel
-> l2tp set wanif ETHERNET/1 OfficeTunnel