clear services l2tp destination
Command introduced in Junos OS Release 10.4.
Clear all Layer 2 Tunneling Protocol (L2TP) destinations and all tunnels and sessions that belong to the destinations. 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 summary statistics
show services l2tp tunnel extensive
show services l2tp tunnel statistics
The all option is not intended to be used as a means to perform a bulk logout of L2TP subscribers. We recommend that you do not use the all option in a production environment. Instead of clearing all subscribers at once, consider clearing subscribers in smaller group, based on interface, tunnel, or destination end point.
Required Privilege Level
List of Sample Outputclear services l2tp destination all
When you enter this command, you are provided feedback on the status of your request.
clear services l2tp destination all
user@host> clear services l2tp destination all
Destination 2 closed