reset l2tp tunnel

Function

The reset l2tp tunnel command disconnects the L2TP tunnel and all sessions on this tunnel.

This command is supported only on the NetEngine 8000 F1A.

Format

reset l2tp tunnel lac { tunnel-name remote-name | tunnel-item tunnel-item } [ session session-id ]

reset l2tp tunnel lns slot slot-id { tunnel-name remote-name | tunnel-item tunnel-item }

Parameters

Parameter Description Value
tunnel-name remote-name

Resets L2TP connection of a specified remote name.

It is a string of 1 to 253 characters.

tunnel-item tunnel-item

Resets the L2TP tunnel connection with the specified tunnel ID.

The value of local ID for L2TP tunnel ranges from 1 to 65535.

session session-id

Specifies the ID of a session to be torn down.

The value is an integer ranging from 1 to 65535.

lns

Resets L2TP tunnel connection of LNS.

The value of local ID for L2TP tunnel ranges from 1 to 65535.

slot slot-id

Resets the L2TP tunnel on the specified tunnel board.

-

lac

Resets L2TP tunnel connection of LAC.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tp execute

Usage Guidelines

Usage Scenario

After the test l2tp-tunnel command is run to test tunnels and sessions, the reset l2tp tunnel command can be run to tear down the tunnels and sessions.

When the user on the peer end initiates a call again, the tunnel can be re-established. You can disconnect the tunnel by specifying name of the peer end of the tunnel. When a remote user calls in again, the tunnel can be reestablished.If no tunnel is matched, the command does not affect any tunnel. If multiple matching tunnels exist (with the same name but different IP addresses), all of them are disconnected.

The session <SESSION-ID> parameter specifies a session to be torn down.

NOTE:

You can delete the L2TP tunnel with a specified IP address, regardless of whether the IP address belongs to a public network or VPN.

Prerequisites

Only after the tunnel-name has been established, the reset l2tp tunnel command can be run to tear down it.

Example

# Disconnect the tunnel whose peer end named AS8010.
<HUAWEI> reset l2tp tunnel lac tunnel-name AS8010
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >