# l2tp shutdown tunnel

#### Syntax

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

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Closes all sessions in a tunnel, and prevents the creation of new sessions in that tunnel. This command works in conjunction with the l2tp drain tunnel command. Both commands affect the status of the administrative state of L2TP on the tunnel; the l2tp shutdown tunnel command sets the administrative state to disabled. The no version enables the creation of new sessions in that 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