R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101
78
<Sysname> system-view
[Sysname] l2tp-group 1
[Sysname-l2tp1] mandatory-lcp
reset l2tp tunnel
Syntax
reset l2tp tunnel { id tunnel-id | name remote-name }
View
User view
Default level
2: System level
Parameters
tunnel-id: Local ID of the tunnel, in the range of 1 to 8191.
remote-name: Name of the tunnel at the remote end, a case sensitive string of 1 to 30 characters.
Description
Use the reset l2tp tunnel command to disconnect one or more specified tunnels and all sessions of the
tunnels.
A tunnel disconnected by force can be re-established when a client makes a call.
If you specify a tunnel name, all tunnels with the name will be disconnected. If no tunnel with the name
exists, nothing happens.
If you specify a tunnel ID, only the tunnel with the ID is disconnected.
Related commands: display l2tp tunnel.
Examples
# Disconnect all tunnels with the remote name of aaa.
<Sysname> reset l2tp tunnel name aaa
start l2tp
Syntax
start l2tp { ip ip-address }&<1-5> { domain domain-name | fullusername user-name }
undo start
View
L2TP group view
Default level
2: System level
Parameters
{ ip ip-address }&<1-5>: IP addresses of the tunnel peers (LNSs). &<1-5> means that you can specify up
to five IP addresses.