126
Examples
# Set the keepalive interval to 20 seconds for Virtual-PPP 10.
<Sysname> system-view
[Sysname] interface virtual-ppp 10
[Sysname-Virtual-PPP10] timer-hold 20
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
Virtual PPP interface view
Predefined user roles
network-admin
Parameters
retries
: Specifies the maximum number of keepalive attempts in the range of 1 to 255.
Usage guidelines
A virtual PPP 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 interval, use the
timer-hold
command.
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 for Virtual-PPP 10.
<Sysname> system-view
[Sysname] interface virtual-ppp 10
[Sysname-Virtual-PPP10] timer-hold retry 10
Related commands
timer-hold
tunnel authentication
Use
tunnel authentication
to enable L2TP tunnel authentication.
Use
undo tunnel authentication
to disable L2TP tunnel authentication.
Summary of Contents for MSR810
Page 148: ...136 Related commands timer hold...
Page 331: ...319 Related commands timer hold...