Command Reference Guide
3Com Router 5000 Family and Router 6000 Family keepalive ● 47
Command Reference
keepalive
Purpose Use the keepalive command to enable the keepalive function of GRE and
configure the interval for sending keepalive messages and the maximum number of
sending attempts as well.
Use the undo keepalive command to disable the keepalive function.
Syntax keepalive [ seconds ] [ times ]
undo keepalive
Parameters seconds
Internal for sending keepalive messages in seconds.
Valid values are 1 to 32,767 seconds.
If no value is specified, the default is 10.
times
The maximum number of keepalive message-sending
attempts allowed. Valid values are 1 to 255.
If no value is specified, the default is 3.
Default By default, the keepalive function of GRE is disabled.
Example Configure the router to send GRE keepalive messages at intervals of 20 seconds and
for up to five times.
[3Com-Tunnel0/0/5] keepalive 20 5
View This command can be used in the following views:
■ Tunnel Interface view
Description After you configure the keepalive command, the router sends GRE keepalive
messages regularly. If no response is received for a keepalive message that it has sent
upon the expiration of a specified period, the router resends the keepalive message. If
no response is received yet after the number of resending attempts exceeds the
specified limit, the protocol of the local tunnel interface goes down.
Related Command: interface tunnel