cc/td/doc/product/atm/ls1010s/wa5/12/12_0_7
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

K Command

K Command


Note Commands that are identical to those documented in the Cisco IOS software documentation have been removed from this chapter. Refer to Appendix D, "Removed and Changed Commands," of this command reference for a list of removed commands.

keepalive

To set the keepalive timer for a specific interface, use the keepalive interface configuration command. To turn off keepalives entirely, use the no form of this command.

keepalive [seconds]
no keepalive [seconds]
Syntax Description

seconds

Unsigned integer value greater than 0 that defines the keepalive interval. The default is 10 seconds.

Default

10 seconds

Command Mode

Interface configuration

Usage Guidelines

This command does not apply to ATM interfaces. Refer to the atm ilmi-keepalive command for configuration of keepalives on ATM interfaces.

You can configure the keepalive interval, which is the frequency at which the switch sends messages to itself (Ethernet) or to the other end (auxiliary), to ensure a network interface is alive. The interval is adjustable in one-second increments down to one second. An interface is declared down after three update intervals pass without receiving a keepalive packet.

You must set the interval as a positive integer that is less than the interval set on the neighboring switch. Setting the keepalive timer to a low value is useful for detecting Ethernet interface failures (transceiver cable disconnecting, cable unterminated, and so on).

A typical serial line failure involves losing CD. Since this sort of failure is typically noticed within a few milliseconds, adjusting the keepalive timer for faster routing recovery is generally not useful.


Note When adjusting the keepalive timer for a low bandwidth auxiliary interface, datagrams can delay the smaller keepalive packets long enough to cause the line protocol to go down. You might need to experiment to determine the best value.
Example

The following example shows how to set the keepalive interval to 3 seconds.

Switch(config)# interface ethernet 0
Switch(config-if)# keepalive 3
Related Command

atm ilmi-keepalive

keepalive (frame-relay)

To enable the LMI for a logical serial port using Frame Relay encapsulation, use the keepalive interface configuration command. To disable this capability, use the no form of this command.

keepalive seconds
no keepalive seconds
Syntax Description

seconds

Number of seconds from 0 to 32767 that define the keepalive interval.

Default

10 seconds

Command Mode

Interface configuration

Usage Guidelines

The interval that you enter must be set as a positive integer that is less than the interval set on the ATM switch. Refer to the frame-relay lmi-t392dce interface configuration command description.

Example

The following example configures serial interface 11/0/0:1 to send a keep-alive packet every 30 seconds.

Switch(config)# interface serial 11/0/0:1 
Switch(config-if)# keepalive 30
Related Command

frame-relay lmi-t392dce


hometocprevnextglossaryfeedbacksearchhelp
Posted: Fri Apr 9 09:27:21 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.