keepalive (ephone and ephone-template)
To set the length of the time interval between successive keepalive messages from the Cisco Unified CME router to a particular IP phone, use the keepalive command in ephone or ephone-template configuration mode. To reset this length to the default value, use the no form of this command.
keepalive seconds
no keepalive
Syntax Description
seconds |
Interval time, in seconds. Range is from 10 to 65535. Default is 30. |
Command Default
Default is 30 seconds
Command Modes
Ephone configuration (config-ephone)
Ephone-template configuration (config-ephone-template)
Command History
Cisco IOS Release |
Cisco Product |
Modification |
---|---|---|
12.2(15)T |
Cisco CME 2.1 |
This command was introduced. |
12.4(4)XC |
Cisco Unified CME 4.0 |
This command was made available in ephone-template configuration mode. |
12.4(9)T |
Cisco Unified CME 4.0 |
This command in ephone-template configuration mode was integrated into Cisco IOS Release 12.4(9)T. |
Usage Guidelines
This command allows the keepalive interval to be set for individual phones, typically so that wireless phone batteries are not run down too quickly by overly frequent keepalive signals.
If the router fails to receive three successive keepalive messages, it considers the phone to be out of service until the phone reregisters.
If the keepalive (telephony-service) command and this command are set to different time intervals, the value that you set in ephone configuration mode has priority for the particular phone only.
If you use an ephone template to apply a command to a phone and you also use the same command in ephone configuration mode for the same phone, the value that you set in ephone configuration mode has priority.
Examples
The following example sets the keepalive interval to 300 seconds:
Router(config)# ephone 1
Router(config-ephone)# keepalive 300