R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
447
Views
Tunnel interface view
Predefined user roles
network-admin
mdc-admin
Parameters
interval time-interval: Specifies the keepalive interval in the range of 1 to 32767 seconds.
retry retry-times: Specifies the maximum number of keepalive attempts, in the range of 1 to 255.
Usage guidelines
All tunnel interfaces in an ADVPN domain must have the same keepalive interval and maximum number
of keepalive attempts.
After this command is executed, the keepalive timer for an ADVPN tunnel does not start immediately. It
starts after the tunnel is established.
Examples
# Set the keepalive interval to 20 seconds and the maximum number of keepalive attempts to 5.
<Sysname> system-view
[Sysname] interface tunnel 1 mode advpn udp ipv4
[Sysname-Tunnel1] keepalive interval 20 retry 5
reset advpn ipv6 session
Use reset advpn ipv6 session to delete IPv6 ADVPN tunnels.
Syntax
reset advpn ipv6 session [ interface tunnel number [ private-address private-ipv6-address ] ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
interface tunnel number: Deletes IPv6 ADVPN tunnels on a tunnel interface specified by the interface
number. If you do not specify this option, the command deletes all IPv6 ADVPN tunnels.
private-address private-ipv6-address: Deletes the IPv6 ADVPN tunnel with the specified peer private IPv6
address.
Usage guidelines
If the remote tunnel end is a hub in the same group as the local end, the tunnel will be reestablished after
it is deleted.
Examples
# Delete all IPv6 ADVPN tunnels.
<Sysname> reset advpn ipv6 session