R3303-HP HSR6800 Routers Layer 2 - WAN Command Reference

100
Default command level
2: System level
Examples
# Replace the username with IMSI for authentication during negotiation.
<Sysname> system-view
[Sysname] interface virtual-template 1
[Sysname-Virtual-Template1] ppp user replace imsi
reset l2tp tunnel
Use reset l2tp tunnel to disconnect tunnels and all sessions of the tunnels.
Syntax
reset l2tp tunnel { id tunnel-id | name remote-name }
Views
User view
Default command level
2: System level
Parameters
id tunnel-id: Specifies a tunnel by its local ID in the range of 1 to 18000.
name remote-name: Specifies tunnels by the tunnel name at the remote end, a case-sensitive string of 1
to 30 characters.
Usage guidelines
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.
A tunnel disconnected by force can be re-established when a client makes a call.
Examples
# Disconnect all tunnels with the remote name of aaa.
<Sysname> reset l2tp tunnel name aaa
Related commands
display l2tp tunnel
start l2tp
Use start l2tp to enable the device (as an LAC) to initiate tunneling requests to the specified IP addresses
for the specified VPN users.
Use undo start to remove the configuration.
Syntax
start l2tp { ip ip-address }&<1-5> { domain domain-name | fullusername user-name }
undo start