Product specifications

Chapter 6: Connection Management Efficient Networks
®
Router family
Command Line Interface Guide
Page 6-58 Efficient Networks
®
Define the name of our tunnel for authentication purposes. This tunnel device sends
the name "tunnelb" when challenged to identify itself by the tunnel peer. Branch Office
asks "Who are you?" and Corporate says "I am tunnelb" and Branch Office
authenticates. This setting must match the name in the command "l2tp add <name>"
on the Branch Office router.
l2tp set ourtunnelname tunnelb tunnela
Define the sysname of this router, for authentication purposes. This tunnel device
sends the name "corp" when challenged to identify itself. This setting must match the
name in the command "remote add <name>" on the Branch Office router.
l2tp set oursysname corp tunnela
Define the password of this router for authentication purposes. This tunnel device
sends the password "corppass" when challenged to identify itself. This must match
the password in the command "rem setpasswd <password>" on the Branch Office
router.
l2tp set ourpassword corppass tunnela
Set the IP address of the other end of the tunnel, that is, the WAN IP address of the
Branch router.
l2tp set address 200.10.10.5 tunnela
Set LAC and/or LNS. In this case both, this will allow this router to establish and
receive a tunnel.
l2tp set type all tunnela
Add the remote profile for the IP network on the other end of the tunnel. This must
match the name in the command "l2tp set oursysname <name> tunnel name>" on the
Branch Office router.
remote add cust
Define the authentication password expected for this PPP link. This must match the
password used in the command "l2tp set our password <password> <tunnel name>"
on the Branch Office router.
remote setpasswd custpass cust
Define the other tunnel device as the LNS. This must match the tunnel name in the
command "l2tp add <tunnel name>" on the Corp router. This command ties the l2tp
settings to the remote settings for this tunnel profile.
remote setlns tunnela cust
Set authentication to CHAP for the PPP link.
remote setauthen chap cust