114
timer hold
Syntax
timer hold
seconds
undo timer hold
View
Dialer interface view
Default level
2: System level
Parameters
seconds:
Interval for sending keepalive packets, in the range of 0 to 32767. A value of 0 disables
keepalive packet sending.
Description
Use
timer hold
to set the interval for sending keepalive packets.
Use
undo timer hold
to restore the default, or 10 seconds.
Because a slow link takes long to transmit large packets, the sending and receiving of keepalives may be
delayed so long that one end cannot receive keepalive packets from the peer for a specific number of
keepalive periods and shuts down the link. To prevent the situation, set the interval for sending keepalive
packets relatively longer.
Examples
# Set the interval for sending keepalive packets to 20 seconds on interface Dialer 1.
<Sysname> system-view
[Sysname] interface Dialer 1
[Sysname-Dialer1] timer hold 20