The service-keep-alive detect command sets the retransmission times and interval of HSB packets.
The undo service-keep-alive command restores the default retransmission times and interval of HSB packets.
The default retransmission times is 5, and the default retransmission interval is 3 seconds.
service-keep-alive detect retransmit retransmit-times interval interval-value
undo service-keep-alive [ detect retransmit retransmit-times interval interval-value ]
Parameter |
Description |
Value |
---|---|---|
retransmit retransmit-times |
Specifies the retransmission times of HSB packets. |
The value is an integer that ranges from 1 to 20. |
interval interval-value |
Specifies the retransmission interval of HSB packets. |
The value is an integer that ranges from 1 to 10, in seconds. |
Usage Scenario
An HSB service sends and retransmits HSB packets to prevent long TCP interruption that is not detected by the protocol stack. If a device does not receive an HSB packet from the peer device within the period (value of retransmit-times x value of interval-value), the local device receives a message indicating the exception and then re-establishes a channel to the peer.
Prerequisites
An HSB service has been configured.