1747
Related command: interface tunnel on page 884.
Example # Set the DVPN keepalive interval to 20 seconds and the maximum number of
attempts for transmitting a keepalive packet to 5.
<Sysname> system-view
[Sysname] interface Tunnel 0
[Sysname-Tunnel0] keepalive 20 5
reset dvpn session
Syntax reset dvpn session { all | interface interface-type interface-number [ private-ip
ip-address ]}
View User view
Parameter all: Specifies all Spoke-Spoke and Spoke-Hub tunnels connected with the VAM
client.
interface interface-type interface-number: Specifies the DVPN tunnels on the
interface. The interface-type argument can only be tunnel.
private-ip ip-address: Specifies the private IP address of the peer client.
Description Use the reset dvpn session command to remove DVPN tunnels connected with
the current client.
Example # Remove the Spoke-Spoke tunnel on interface Tunnel0 whose peer private
address is 169.254.0.1.
<Sysname> reset dvpn session interface tunnel 0 private-ip 169.254.0.1
tunnel-protocol dvpn udp
Syntax tunnel-protocol dvpn udp
undo tunnel-protocol
View Tunnel interface view
Parameter None
Description Use the
tunnel-protocol dvpn udp command to configure the DVPN tunnel
mode.
Use the
undo tunnel-protocol command to restore the default.
The default mode is GRE.