Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

keepalives

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
keepalives <interval seconds> <down-count number> <up-count number>;

Hierarchy Level

content_copy zoom_out_map
[edit interfaces interface-name],
[edit interfaces interface-name unit logical-unit-number],
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]

Description

Enable the sending of keepalives on a physical interface configured with PPP, Frame Relay, or Cisco HDLC encapsulation.

For ATM2 IQ interfaces only, you can enable keepalives on a logical interface unit if the logical interface is configured with one of the following PPP over ATM encapsulation types:

  • atm-ppp-llc—PPP over AAL5 LLC encapsulation.

  • atm-ppp-vc-mux—PPP over AAL5 multiplex encapsulation.

Default

Sending of keepalives is enabled by default. The default keepalive interval is 10 seconds for PPP, Frame Relay, or Cisco HDLC. The default down-count is 3 and the default up-count is 1 for PPP or Cisco HDLC.

Options

down-count number—The number of keepalive packets a destination must fail to receive before the network takes down a link.

  • Range: 1 through 255

  • Default: 3

interval seconds—The time in seconds between successive keepalive requests.

  • Range: 1 through 32767 seconds

  • Default: 10 seconds

up-count number—The number of keepalive packets a destination must receive to change a link’s status from down to up.

  • Range: 1 through 255

  • Default: 1

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

footer-navigation