
C613-50186-01 Rev B
Command Reference for AR2050V
591
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
PPP C
OMMANDS
KEEPALIVE
(PPP)
keepalive (PPP)
Overview
Use this command to enable LCP (Link Control Protocol) Echo keepalive request
messages and change LCP echo parameters on a given PPP interface in Interface
Configuration mode.
Use the
no
variant of this command to disable LCP Echo keepalive request
messages on a given PPP interface in Interface Configuration mode. Note that
disabling the sending of LCP Echo keepalive request messages does not stop a
device responding to LCP Echo requests.
Syntax
keepalive [[interval <
interval
>] [attempts
<
attempt-limit
>]]no keepalive
Default
The sending of LCP Echo keepalive messages on a PPP interface is disabled by
default. If no optional
interval
is specified then the default interval duration is
configured to 10 seconds. If no optional
attempts
are specified then the default
attempt limit is configured to 3 attempts.
Mode
Interface Configuration for a PPP interface
Example
To enable the device to send LCP Echo keepalive messages on the PPP interface
ppp0
with the default 10 second interval when no interval is specified and the
default 3 attempts when no attempt is specified, enter the below commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
keepalive
To enable the device to send LCP Echo keepalive messages on the PPP interface
ppp0
with double the default values for a
20
second interval and
6
attempts, enter
the below commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
keepalive interval 20 attempts 6
Parameter
Description
<
interval
>
Specify the interval in seconds in the range <
1-600
> seconds
between LCP Echo keepalive request messages, for a PPP
interface.
Default: 10
<
attempt-limit
>
Specify the number of missing LCP Echo keepalive response
messages, in the range <
1-10
> for a PPP interface, before the
link is considered as being link down and link renegotiation
starts to reestablish the link.
Default: 3