< Home

keepalive (SMI view)

Function

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.

Format

keepalive { interval interval | retry-interval retry-interval | retry-number retry-number } *

undo keepalive { interval | retry-interval | retry-number } *

Parameters

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.

Views

SMI view

Default Level

3: Management level

Usage Guidelines

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.

Example

# Set the interval at which the switch reconnects to CampusInsight to 10 minutes and the maximum number of reconnection attempts to 5.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server] keepalive retry-interval 10 retry-number 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >