clear l2tp tunnel
To clear L2TP tunnels, use the clear l2tp tunnel command in EXEC mode.
clear l2tp tunnel {all| id tunnel id| l2tp-class class name| local ipv4 ipv4 address| remote ipv4 ipv4 address}
Syntax Description
Clears all L2TP tunnels.all
Clears a specified tunnel.
id tunnel id
Clears all L2TP tunnels based on L2TP class name.
l2tp-class class name
Clears all local tunnels based on the specified local IPv4 address.
local ipv4 ipv4 address
Clears all remote tunnels based on the specified local IPv4 address.
remote ipv4 ipv4 address
Command Default
None
Command Modes
EXEC
Command History
ModificationRelease
This command was introduced.Release 3.7.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to clear all L2TP tunnels:
RP/0/0/CPU0:router# clear l2tp tunnel all
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
14 OL-28460-01
Virtual Private Network Commands
clear l2tp tunnel