32
undo timer-hold
Default
The keepalive interval is 10 seconds on an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
seconds
: Specifies the interval for sending keepalive packets, in the range of 0 to 32767 seconds.
The value 0 disables keepalive packet sending.
Usage guidelines
An interface sends keepalive packets at keepalive intervals to detect the availability of the peer. If the
interface fails to receive keepalive packets when the keepalive retry limit is reached, it considers the
link faulty and reports a link layer down event.
To set the keepalive retry limit, use the
timer-hold retry
command.
On a s low link, increase the keepalive interval to prevent false shutdown of the interface. This
situation might occur when keepalive packets are delayed because a large packet is being
transmitted on the link.
Examples
# Set the keepalive interval to 20 seconds on Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] timer-hold 20
Related commands
timer-hold retry
timer-hold retry
Use
timer-hold
retry
to set the keepalive retry limit on an interface.
Use
undo timer-hold retry
to restore the default.
Syntax
timer-hold
retry retries
undo timer-hold retry
Default
The keepalive retry limit is 5 on an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
retries
: Specifies the maximum number of keepalive attempts in the range of 1 to 255.
Summary of Contents for MSR810
Page 148: ...136 Related commands timer hold...
Page 331: ...319 Related commands timer hold...