Configuring Keepalives
By default, physical interfaces configured with Cisco HDLC or PPP encapsulation send keepalive packets at 10-second intervals. The Frame Relay term for keepalives is LMI packets; the JUNOS software supports both ANSI T1.617 Annex D LMIs and ITU Q933 Annex A LMIs. On ATM networks, OAM cells perform the same function. You configure OAM cells at the logical interface level; for more information, see Defining the ATM OAM F5 Loopback Cell Period.
To disable the sending of keepalives on a physical interface, include the
no-keepalivesstatement at the[edit interfacesinterface-name]hierarchy level:[edit interfacesinterface-name]no-keepalives;When you configure PPP over ATM or Multilink PPP over ATM encapsulation, you can enable or disable keepalives on the logical interface. For more information, see Configuring PPP over ATM2 Encapsulation.
To explicitly enable the sending of keepalives on a physical interface, include the
keepalivesstatement at the[edit interfacesinterface-name]hierarchy level:[edit interfacesinterface-name]keepalives;To change one or more of the default keepalive values, include the appropriate option at the
[edit interfacesinterface-name]hierarchy level:[edit interfacesinterface-name]keepalives <intervalseconds> <down-countnumber> <up-countnumber>;On interfaces configured with Cisco HDLC or PPP encapsulation, you can include the following three keepalive statements; note that Frame Relay encapsulation is not affected by these statements:
intervalseconds—The time in seconds between successive keepalive requests. The range is from1second through32767seconds, with a default of10seconds.down-countnumber—The number of keepalive packets a destination must fail to receive before the network takes a link down. The range is from1through255, with a default of3.up-countnumber—The number of keepalive packets a destination must receive to change a link's status from down to up. The range is from1through255, with a default of1.For information about Frame Relay keepalive settings, see Configuring Frame Relay Keepalives.