Tunnel clear and show commands, Tunnel clear and show commands -132, Tunnel clear and show commands clear tunnel – Enterasys Networks X-Pedition XSR CLI User Manual

Page 586: Show tunnels

Advertising
background image

Tunnel Clear and Show Commands

14-132 Configuring the VPN

Tunnel Clear and Show Commands

clear tunnel

This command terminates a non‐GRE tunnel associated with a user or tunnel ID.  Tunnels will re‐
establish themselves if set to do so unless the user is disabled in its database. For example, a 
cleared IPSec tunnel will re‐establish if traffic is initiated.

L2TP and PPTP tunnels will be disconnected on the server side.  The client side of the tunnel will 
time out after its designated timeout period.

Syntax

clear tunnel <user-ID | <tunnel-ID>

Mode

Privileged EXEC: 

XSR#

Example

The following example terminates tunnel 40000001:

XSR#clear tunnel 40000001

show tunnels

This command lists all tunnels currently connected to the XSR.

Syntax

show tunnels <user-ID | tunnel-ID>

Mode

Privileged EXEC:

XSR#

Sample Output

The following is sample output queried by the xsrclient User‐ID:

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

Name of the VPN user.

tunnel-ID

Identification number associated with this tunnel.

user-ID

Name of the VPN user.

tunnel-ID

Identification number associated with this tunnel.

Advertising