User Guide

202 Chapter 5. Command Line Interface Reference
L2TP SET TYPE
Defines the type of L2TP support for the tunnel. The router’s role is defined on a per-tunnel basis.
L2TP SET WINDOW
Enhances traffic performance in a tunneling environment. The command’s options affect the way incoming
payload packets are processed. The router is configured with the following default options: sequencing, required,
and size 10.
l2tp set type all|lac|lns|l2tpclient|disabled
<
TunnelName
>
all
The router is configured to act as both a LAC/L2TP client and an LNS server.
lac
The
router is configured to act as a LAC for this tunnel.
lns
The router is configured to act as an LNS for this tunnel.
l2tpclient
The router is configured 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 window sequencing|pacing|nosequencing|optional|required|size
<TunnelName>
sequencing
Sequence numbers are placed in the L2TP payload packets. With this option, one end instructs
the other end to send sequence packets. No acknowlegments are issued for received packets.
pacing
Sequence numbers are placed in the L2TP payload packets. When a session is created, the
router specifies a window size. Acknowledgments for received packets are issued.
nosequencing
No sequence numbers are placed in the L2TP payload packets carrying the PPP packets. If the
remote end carries out sequencing or pacing, the router can still send and receive sequenced
packets.
optional
Allows dynamic switching of a session from pacing or sequencing to nosequencing.
required
Disables dynamic switching from pacing or sequencing to nosequencing.
size
Controls the size of the receive window for receiving packets for sequencing or pacing, when a
session is created. Size can be 0 for packet sequencing. Must be a non-zero value for window
pacing. Size must be less than or equal to 30.
TunnelName
Name of the tunnel (character string). This name is case-sensitive.
Example:
l2tp set window sequencing PacingAtWork