Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

keepalives

Syntax

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

Hierarchy Level

[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]

Release Information

Statement introduced before Junos OS Release 7.4.

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.

Published: 2012-12-11