retry-interval

Use this command to specify the number of seconds to wait after a connect attempt to the call home server fails.

Use the no form of this command to reset the retry interval to its default (300 seconds).

Command Syntax

Copy
retry-interval <1-86400>
no retry-interval

Parameters

<1-86400>

Retry interval in seconds

Default

By default, when the reconnect feature is enabled, the default retry interval is 300 seconds.

Mode

NetConf call home mode

Applicability

This command was introduced in OcNOS version 6.0.0.

Example

  1. Enable the NetConf callhome feature and reconnect commands:

    Copy
    (netconf-callhome)#do show running-config netconf-callhome
    !
    netconf callhome
     feature netconf callhome enable
     reconnect enable
    !
  2. Configure retry interval:

    Copy
    (netconf-callhome)#retry-interval 100
    (netconf-callhome)#commit
    (netconf-callhome)#
  3. Check the NetConf callhome show output:

    Copy
    (netconf-callhome)#do show running-config netconf-callhome
    !
    netconf callhome
     feature netconf callhome enable
     reconnect enable
     retry-interval 100
    !
  4. Reset the interval:

    Copy
    (netconf-callhome)#no retry-interval
    (netconf-callhome)#commit
  5. Check the NetConf callhome show output:

    Copy
    (netconf-callhome)#do show running-config netconf-callhome
    !
    netconf callhome
     feature netconf callhome enable
     reconnect enable
    !
    (netconf-callhome)#exit