Cisco MWR 2941 Command Reference Manual page 217

Table of Contents

Advertisement

Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
Release
12.2SX
12.4(19)MR2
12.2(33)MRA
15.0(1)MR
Usage Guidelines
Keepalive Time Interval
You can configure the keepalive time interval, which is the frequency at which the Cisco IOS software
sends messages to itself (Ethernet and Token Ring) or to the other end (serial and tunnel), to ensure that
a network interface is alive. The interval is adjustable in 1-second increments, down to a minimum of
1 second. An interface is declared down after three update intervals have passed without receiving a
keepalive packet unless the retry value is set higher.
Setting the keepalive timer to a low value is useful for quickly detecting Ethernet interface failures (such
as a transceiver cable disconnecting, or cable that is not terminated).
Line Failure
A typical serial line failure involves losing the Carrier Detect (CD) signal. Because this sort of failure
is typically noticed within a few milliseconds, adjusting the keepalive timer for quicker routing recovery
is generally not useful.
Keepalive Packets with Tunnel Interfaces
GRE keepalive packets may be sent either from both sides of a tunnel or from just one side. If they are
sent from both sides, the period and retries arguments can be different at each side of the link. If you
configure keepalives on only one side of the tunnel, the tunnel interface on the sending side might
perceive the tunnel interface on the receiving side to be down because the sending interface is not
receiving keepalives. From the receiving side of the tunnel, the link appears normal because no
keepalives were enabled on the second side of the link.
Dropped Packets
Because keepalive packets are treated as ordinary packets, it is possible that they will be dropped. To
reduce the possibility that dropped keepalive packets will cause the tunnel interface to be taken down,
increase the number of retries.
Note
When adjusting the keepalive timer for a very-low-bandwidth serial interface, large datagrams can delay
the smaller keepalive packets long enough to cause the line protocol to go down. You may need to
experiment to determine the best values to use for the timeout and the number of retry attempts.
Examples
The following example shows how to set the keepalive interval to 3 seconds:
Router(config)# interface ethernet 0
Router(config-if)# keepalive 3
The following example shows how to set the keepalive interval to 3 seconds and the retry value to 7:
Router(config)# interface tunnel 1
Router(config-if)# keepalive 3 7
OL-23890-01
Modification
This command is supported in the Cisco IOS Release 12.2SX train. Support
in a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.
This command was integrated into Cisco IOS Release 12.4(19)MR2.
This command was integrated into Cisco IOS Release 12.2(33)MRA.
This command was integrated into Cisco IOS Release 15.0(1)MR.
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
keepalive
199

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mwr 2941-dcMwr 2941-dc-a

Table of Contents