Configure 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 Local Management Interface (LMI) packets; the JUNOS software supports both ANSI T1.617 Annex D LMIs and ITU Q933 Annex A LMIs. On ATM networks, Operation, Administration, and Maintenance (OAM) cells perform the same function. You configure OAM cells at the logical interface level; for more information, see Define 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 Configure PPP over ATM 2 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 configure 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 is1second 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 is1through255, 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 is1through255, with a default of1.For information about Frame Relay keepalive settings, see Configure Frame Relay Keepalives.