Configures heartbeat parameters for Sx interface.
Mode
Exec > Global Configuration > Context Configuration > Sx Service
Configuration
configure > context context_name
> sx-service
service_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-sx-service)#
Syntax
[ default ] sx-protocol heartbeat { interval seconds | max-retransmissions mx_value | path-failure detection-policy { control-recovery-timestamp-change | heartbeat-retry-failure | heartbeat-recovery-timestamp-change } | retransmission-timeout seconds }
no sx-protocol heartbeat { interval | path-failure detection-policy { control-recovery-timestamp-change | heartbeat-retry-failure | heartbeat-recovery-timestamp-change }
default
Sets/restores default value assigned for specified parameter.
no
Disables the followed option.
heartbeat
Configures Sx heartbeat parameters.
interval seconds
Configures heartbeat interval (in seconds) for Sx Service.
seconds must be an integer in the range of 1 to
3600.
max-retransmissions
mx_value
Configures maximum retries for Sx heartbeat request. Must be followed by integer,
ranging from 0 to 15. Default is 4.
retransmission-timeout
seconds
Configures the heartbeat retransmission timeout for Sx Service, in seconds, ranging
from 1 to 20. Default is 5.
path-failure
Specifies policy to be used when path failure happens via heartbeat request
timeout.
detection-policy
Specifies the policy to be used. Default action is to do cleanup upon heartbeat
request timeout.
control-recovery-time-stamp-change
Path failure is detected when the recovery timestamp in control request/response
message changes.
heartbeat-retry-failure
Path failure is detected when the retries of heartbeat messages times out.
heartbeat-recovery-timestamp-change
Path failure is detected when the recovery timestamp in heartbeat request/response
message changes.
Usage Guidelines
Use this command to configure heartbeat parameters for Sx interface.
Example
The following command sets the heartbeat interval to 60
seconds:
sx-protocol heartbeat interval 60