H3C S6550X-HI Series Command Reference Manual page 2223

Table of Contents

Advertisement

GRE commands
keepalive
Use
keepalive
Use
undo keepalive
Syntax
keepalive [ interval [ times ] ]
undo keepalive
Default
GRE keepalive is disabled.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
interval
10.
: Specifies the keepalive number, in the range of 1 to 255. The default value is 3.
times
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, it shuts down the local tunnel
interface. The device brings the local tunnel interface up if it receives a keepalive acknowledgment
packet from the peer. The timeout time is the result of multiplying the keepalive interval by the
keepalive number.
The device always acknowledges the keepalive packets it receives whether or not GRE keepalive is
enabled.
GRE/IPv6 mode 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
to enable GRE keepalive and set the keepalive interval and the keepalive number.
to disable GRE keepalive.
: Specifies the keepalive interval, in the range of 1 to 32767 seconds. The default value is
1

Advertisement

Table of Contents
loading

Table of Contents