135
Examples
# Set the keepalive interval to 100 seconds on interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-serial2/1/0] timer-hold 100
Related commands
timer-hold retry
timer-hold retry
Use
timer-hold retry
to set the keepalive retry limit.
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.
Views
POS interface view
Serial interface view
Pre-defined user roles
network-admin
Parameters
retries
: Specifies the keepalive retry limit, in the range of 1 to 255.
Usage guidelines
An HDLC-enabled interface can regularly check link status by sending keepalives to the peer at the
keepalive interval at the link layer. A keepalive carries the local sender sequence number and the
last received sequence number of the peer.
After sending a keepalive, an interface increments the sender sequence number by 1 in the next
keepalive when the following conditions exist:
•
The interface receives a response within the keepalive interval.
•
The response carries the sender sequence number in the sent keepalive.
After sending a keepalive, if the interface does not receive a response within the keepalive interval, it
resends the keepalive with an un changed sequence number. When the keepalive retry limit is
reached, the interface considers the link faulty and reports a link layer down event.
If the network has a long delay or is experiencing congestion, you can increase the keepalive retry
limit to prevent the link from being closed.
Examples
# Set the keepalive retry limit to 10 on Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] timer-hold retry 10
Summary of Contents for MSR810
Page 148: ...136 Related commands timer hold...
Page 331: ...319 Related commands timer hold...