The reset l2tp tunnel command disconnects the specified tunnel and all sessions in the tunnel.
reset l2tp tunnel { peer-name remote-name | local-id tunnel-id } [ all-systems | vpn-instance vpn-instance ]
| Parameter | Description | Value |
|---|---|---|
peer-name remote-name |
Specifies the name of the peer end of a tunnel. |
The value is a string of 1 to 30 characters. |
local-id tunnel-id |
Specifies the local ID of a tunnel. |
The value is an integer ranging from 1 to 15000. |
all-systems |
Including all systems, including the root system and virtual system. |
- |
vpn-instance vpn-instance |
Specifies a VPN instance. |
The value must be the name of an existing VPN instance. |
If no user exists, a network fault occurs, or a tunnel needs to be torn down, run the reset l2tp tunnel command to disconnect a tunnel and all sessions in the tunnel.
In the reset l2tp tunnel command:
If the specified remote tunnel name is not matched, the command has no impact on tunnels.
If the specified remote tunnel name is matched by multiple tunnels (they have different IP addresses), all these tunnels and sessions are disconnected.
If tunnel-id is specified, only the specified tunnel is disconnected.
A tunnel can be established after a remote user calls in again.