Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


clear services l2tp destination lockout



Clear the lockout timer for all or only the specified Layer 2 Tunneling Protocol (L2TP) destinations and all tunnels and sessions that belong to the destinations. Clearing the lockout timer removes the destination from the lockout list. This command is available only for LAC on MX Series routers.


You cannot issue the clear services l2tp destination command in parallel with statistics-related show services l2tp commands from separate terminals. If this clear command is running, then you must press Ctrl+c to make the command run in the background before issuing any of the show commands listed in the following table:

show services l2tp destination extensive

show services l2tp summary statistics

show services l2tp destination statistics

show services l2tp tunnel extensive

show services l2tp session extensive

show services l2tp tunnel statistics

show services l2tp session statistics



(Optional) Unlock all L2TP destinations.

local-gateway gateway-address

(Optional) Unlock only the L2TP destination with the specified local gateway address.

peer-gateway gateway-address

(Optional) Unlock only the L2TP destination with the specified address.

Required Privilege Level


Output Fields

When you enter this command, you are provided no feedback on the status of your request.

Sample Output

clear services l2tp destination lockout all

Release Information

Command introduced in Junos OS Release 16.1.