cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
759
Views
0
Helpful
1
Replies

Time-outs in sync-from

ken.mcnamara1
Level 1
Level 1

Given 16 routers, 8 that have large configurations.

First sync-from to a new CDB - went fine - no failures.

After that a 'request devices sync-from' failed consistently with 'time-outs'.

Running each device individually seemed to fix this issue.

Is there a 'time-out' setting somewhere in the Yang to fix this issue?

KenMc

1 Accepted Solution

Accepted Solutions

alam.bilal
Cisco Employee
Cisco Employee

Time-out settings can be changed at a per-device level or at the global level for all devices.

At the global level:

admin@ncs(config)# devices global-settings read-timeout <T>

admin@ncs(config)# devices global-settings write-timeout <T>

At the device level:

admin@ncs(config)# devices device <xr0> read-timeout <T>

admin@ncs(config)# devices device <xr0> write-timeout <T>

Before setting a big timeout, it might be worthwhile to take a closer look to see if it is a particular device that times out and any clues as to why it is taking so long. Sometimes a timeout increase (default 20s) may be required because of large configs on a CLI device or slow device in general.

View solution in original post

1 Reply 1

alam.bilal
Cisco Employee
Cisco Employee

Time-out settings can be changed at a per-device level or at the global level for all devices.

At the global level:

admin@ncs(config)# devices global-settings read-timeout <T>

admin@ncs(config)# devices global-settings write-timeout <T>

At the device level:

admin@ncs(config)# devices device <xr0> read-timeout <T>

admin@ncs(config)# devices device <xr0> write-timeout <T>

Before setting a big timeout, it might be worthwhile to take a closer look to see if it is a particular device that times out and any clues as to why it is taking so long. Sometimes a timeout increase (default 20s) may be required because of large configs on a CLI device or slow device in general.