Efficient Networks® Router family

Chapter 9: L2TP Commands

Command Line Interface Guide

 

 

 

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

<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

<tunnelname>c,d Host name of the remote tunnel. This is the fully qualified domain name of the remote host.

aFor the dual-Ethernet router, specify the physical interface name, that is, either ETHERNET/0 or ETHERNET/1.

bTo clear the remote restriction for a tunnel, enter a hyphen (-) as the remote name.

cASCII string

dThe name is case sensitive.

Examples

This command example restricts the tunnel named OfficeTunnel to the remote interface named officertr.

-> l2tp set wanif officertr OfficeTunnel

This command example clears the remote interface restriction for the tunnel named OfficeTunnel.

-> l2tp set wanif - OfficeTunnel

This command example restricts the tunnel named OfficeTunnel to the physical interface ETHERNET/1.

-> l2tp set wanif ETHERNET/1 OfficeTunnel

Efficient Networks®

Page 9-15

Page 345
Image 345
Efficient Networks 107-0001-000 manual L2tp set wanif remote tunnelname, Lishing the L2TP tunnel