Official Lammle User Forum

Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008

    Default service tcp-keepalives-in

    Hiii all,
    i've seen this recently:

    R1(config)#line vty 0 4
    R1(config-line)#exec-timeout 3
    R1(config)#serv ice tcp-keepalives-in

    I know that the exec-timeout command prevents an idle session from consuming the VTY indefinitely, but i couldn't understand what does the service tcp-keepalives-in mean?? could someone plz explain to me?
    much appreciated

  2. #2
    Join Date
    Jul 2008


    The "service tcp-keepalives-in|out" commands are to enable a Cisco device to send and receive TCP keepalive messages. These messages that are part of the TCP protocol are sent when a TCP connection has been completely idle for a pre-determined amount of time. When the idle timer for a connection hits zero, the TCP protocol sends an empty TCP segment with just the ACK flag turned on. If the remote connection is still active, it replies with an empty reply with just the ACK bit set as well. At this point, the initiator of the keepalive resets its idle timer for that connection to its original value and starts counting down again. If the initiator doesn't receive an ACK from the remote host, it assumes the connection has died and closes the connection.
    Last edited by gabrielshorn; 08-17-2010 at 07:28 PM. Reason: clarity

  3. #3
    Join Date
    Apr 2008


    thank u for the clarification

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. service password-encryption
    By dae26 in forum Chapter 6: Cisco IOS
    Replies: 12
    Last Post: 11-25-2012, 09:06 PM
  2. CCNA Service Provider
    By tradell in forum Announcements
    Replies: 1
    Last Post: 04-19-2012, 04:13 AM
  3. service password-encryption
    By mgerson in forum Cisco® IOS
    Replies: 2
    Last Post: 11-17-2009, 04:38 AM
  4. Service Access Points
    By mkler in forum Chapter 1: Internetworking
    Replies: 1
    Last Post: 10-25-2008, 08:18 AM
  5. Service Access Point
    By sukarabi in forum Internetworking
    Replies: 1
    Last Post: 01-10-2008, 11:48 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts