Preventing Creation Of New Tunnels And Sessions At A Destination; Preventing Creation Of New Sessions For A Tunnel; Specifying A Drain Timeout For A Disconnected Tunnel; Chapter 12 Configuring An L2Tp Lac - Juniper JUNOSE 11.1.X - BROADBAND ACCESS CONFIGURATION GUIDE 6-4-2010 Configuration Manual

For e series broadband services routers - broadband access
Table of Contents

Advertisement

Preventing Creation of New Tunnels and Sessions at a Destination

You use the l2tp drain destination command to prevent the creation of new tunnels
and sessions at a specific destination.
The l2tp drain destination command and the l2tp shutdown destination command
both affect the administrative state of L2TP for the destination. Although each
command has a different effect, the no version of each command is equivalent. Each
command's no version leaves L2TP in the enabled state.

Preventing Creation of New Sessions for a Tunnel

Use the l2tp drain tunnel command to prevent the creation of new sessions for a
tunnel.
The l2tp drain tunnel command and the l2tp shutdown tunnel command both
affect the administrative state of L2TP for the tunnel. Although each command has
a different effect, the no version of each command is equivalent. Each command's
no version leaves L2TP in the enabled state.

Specifying a Drain Timeout for a Disconnected Tunnel

Use the l2tp tunnel short-drain-timeout command to specify the amount of time
a disconnected LAC L2TP tunnel waits before restarting after it receives a restart
request.
You can specify a drain timeout in the range 0–31 seconds. This feature enables the
router to restart tunnels more quickly than the standard 31-second drain time specified
by RFC-2661. By default, the router uses a short-drain timeout of 2 seconds.
host1(config)#l2tp drain
To prevent the creation of new tunnels and sessions at the specified destination:
host1(config)#l2tp drain destination ip 172.31.1.98
To prevent the creation of new sessions for a specific tunnel:
host1(config)#l2tp drain tunnel virtual-router default ip 172.31.1.98 isp.com
To specify the short-drain timeout:
host1(config)#l2tp tunnel short-drain-timeout 12
Preventing Creation of New Tunnels and Sessions at a Destination
Chapter 12: Configuring an L2TP LAC
347

Advertisement

Table of Contents
loading

Table of Contents