# l2tp drain tunnel

#### Syntax

[ no ] l2tp drain tunnel { destinationName |
[ virtual-router vrName ] ip ipAddress tunnelName }

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Prevents the assignment of new sessions to a tunnel. This command works in conjunction with the l2tp shutdown tunnel command. Both commands affect the status of the administrative state of L2TP for the tunnel; the l2tp drain tunnel command sets the administrative state to drain. The no version allows the assignment of new sessions to a tunnel.

#### Options

- destinationName—Name the router assigns to the LNS
- vrName—Name of the virtual router on which the tunnel exists
- ipAddress—IP address of the LNS
- tunnelName—Name of the tunnel

#### Mode

Global Configuration