R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

379
Usage guidelines
This command enables the tunnel interface to send keepalive packets at the specified interval. If the
device receives no response from the peer within the timeout time, the device shuts down the local tunnel
interface until it receives a keepalive acknowledgement packet from the peer. The timeout time is the
result of multiplying the keepalive interval by the keepalive number.
Regardless of whether GRE keepalive is enabled, the device always acknowledges keepalive packets it
receives.
GRE over IPv6 tunnel interfaces do not support this command.
Examples
# Enable GRE keepalive, set the keepalive interval to 20 seconds, and set the keepalive number to 5.
<Sysname> system-view
[Sysname] interface tunnel 2 mode gre
[Sysname-Tunnel2] keepalive 20 5