Tunnel Clear and Show Commands
14-132 Configuring the VPN

Tunnel Clear and Show Commands

clear tunnel

ThiscommandterminatesanonGREtunnelassociatedwithauserortunnelID.Tunnelswillre
establishthemselvesifsettodosounlesstheuserisdisabledinitsdatabase.Forexample,a
clearedIPSectunnelwillreestablishiftrafficisinitiated.
L2TPandPPTPtunnelswillbedisconnectedontheserverside.Theclientsideofthetunnelwill
timeoutafteritsdesignatedtimeoutperiod.
Syntax
clear tunnel <user-ID | <tunnel-ID>
Mode
PrivilegedEXEC:XSR#
Example
Thefollowingexampleterminatestunnel40000001:
XSR#clear tunnel 40000001

show tunnels

ThiscommandlistsalltunnelscurrentlyconnectedtotheXSR.
Syntax
show tunnels <user-ID | tunnel-ID>
Mode
PrivilegedEXEC: XSR#
Sample Output
ThefollowingissampleoutputqueriedbythexsrclientUserID:
XSR#show tunnels xsrclient
Note: This command terminates all but GRE and GRE/IPSec tunnels with an error message
displayed if you attempt to do so. To bring down a GRE tunnel, remove its interface or use the no
set active command.
user-ID NameoftheVPNuser.
tunnel-ID Identificationnumberassociatedwiththistunnel.
user-ID NameoftheVPNuser.
tunnel-ID Identificationnumberassociatedwiththistunnel.