The keepalive command configures connection parameters between the switch and CampusInsight.
The undo keepalive command restores the default settings of connection parameters between the switch and CampusInsight.
By default, the switch and CampusInsight send heartbeat packets to each other at an interval of 5 minutes, the switch reconnects to CampusInsight at an interval of 5 minutes, and the maximum number of reconnection attempts is 0.
keepalive { interval interval | retry-interval retry-interval | retry-number retry-number } *
undo keepalive { interval | retry-interval | retry-number } *
Parameter | Description | Value |
---|---|---|
interval interval | Sets the interval at which the switch and CampusInsight send heartbeat packets to each other. | The value is an integer in the range from 5 to 60, in minutes. |
retry-interval retry-interval | Sets the interval at which the switch reconnects to CampusInsight after port disconnection for the first time. | The value is an integer in the range from 5 to 60, in minutes. |
retry-number retry-number | Sets the maximum number of attempts the switch reconnects to CampusInsight after port disconnection for the first time. | The value is an integer in the range from 0 to 10. The default value is 0, which indicates that the switch attempts to reconnect to CampusInsight until the reconnection succeeds. |
According to the network stability, you can adjust connection parameters between the switch and CampusInsight as required, such as the interval at which the switch and CampusInsight send heartbeat packets to each other and the maximum number of reconnection attempts. If the network condition is poor, set the maximum number of reconnection attempts to a smaller value and the reconnection interval to a large value to consume less network resources.