-202
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
keepalive
keepalive
To enable keepalive packets and to specify the number of times that the Cisco IOS software tries to send
keepalive packets without a response before bringing down the interface or before bringing the tunnel
protocol down for a specific interface, use the keepalive command in interface configuration mode.
When the keepalive function is enabled, a keepalive packet is sent at the specified time interval to keep
the interface active. To turn off keepalive packets entirely, use the no form of this command.
keepalive [period [retries]]
no keepalive [period [retries]]
Syntax Description
Defaults period: 10 seconds
retries: 5
If you enter the keepalive command with no arguments, the defaults for both arguments are used.
If you enter the keepalive command and the timeout (period) argument, the default number of retries (5)
is used.
If you enter the no keepalive command, keepalive packets are disabled on the interface.
Command Modes Interface configuration
Command History
period (Optional) Integer value in seconds, that represents the time interval
between messages sent by the Cisco IOS software to ensure that a network
interface is alive. The value must be greater than 0, and the default is 10.
retries (Optional) Number of times that the device will continue to send keepalive
packets without response before bringing the interface down. The integer
value is greater than 1 and less than 255. If omitted, the value that was
previously set is used; if no value was specified previously, the default value
of 5 is used.
If this command is used with a tunnel interface, then this variable specifies
the number of times that the device will continue to send keepalive packets
without response before bringing the tunnel interface protocol down.
Release Modification
10.0 This command was introduced.
12.2(8)T The retries argument was added and made available on tunnel interfaces.
12.2(13)T The default value for the retries argument was increased to 5.
12.2(14)S This command was integrated into Cisco IOS release 12.2(14)S.
12.2(28)SB This command was integrated into Cisco IOS Release 12.2(28)SB.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
Comments to this Manuals