318
Usage guidelines
On an interface encapsulated with PPP, the data link layer sends keepalive packets at keepalive
intervals to detect the availability of the remote end. The data link layer determines that the peer end
is down if it has not received any keepalive messages when the keepalive retry limit is reached. The
data link layer then reports the link down event to the upper-layer protocols.
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 l arge packet is being
transmitted on the link.
Examples
# Set the keepalive interval to 1000 seconds on Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] timer-hold 1000
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
Dialer interface view
Predefined user roles
network-admin
Parameters
retries
:
Specifies the maximum number of keepalive retransmission attempts, in the range of 1 to
255.
Usage guidelines
The interface determines that the remote end is down if it has not received a keepalive response
when the keepalive retry limit is reached.
On a slow link, increase the keepalive retry limit to prevent false shutdown of the interface. This
situation might occur when keepalive packets are delayed because a l arge packet is being
transmitted on the link.
Examples
# Set the keepalive retry limit to 10 on Dialer 1.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] timer-hold retry 10
Summary of Contents for MSR810
Page 148: ...136 Related commands timer hold...
Page 331: ...319 Related commands timer hold...