05-26-2008 07:02 AM
am using following cli
cwcli config reload -u $CWUser -p $CWPass -ipaddress $deviceIP
Though my router is properly reloaded but still m getting Job status as failed.. could NEbody let me know the possible reasons..
Solved! Go to Solution.
05-26-2008 09:56 PM
You need to use a much larger timeout. The default is 30, so you'll need to go at least as large as that. How long does it take for the router to completely reload, and become responsive again? Set the timeout to that plus 10 seconds.
05-26-2008 09:44 AM
This is typical. RME cannot verify the job actually completed because the device was reloaded. In order to get around this, specify a larger timeout on the command line using the -timeout option.
05-26-2008 09:52 PM
Hi Joe,
I tried with the timeout option but now am getting the following error.. looks like this error in not related to timeout this seems to be some other issue occurring, this time Router is not restarted
C:\Documents and Settings\cworks>cwcli config reload -u admin -p admin -ipaddres
s 10.10.10.102 -timeout 10
* Warning * The -p option is highly insecure and *not* recommended.
* Warning * See -u option for more details.
10.10.10.102
Waiting for the job results ...
..............!
Failed Devices:
10.10.10.102
on: Read timed out
SUMMARY
========
Failed: reload
05-26-2008 09:56 PM
You need to use a much larger timeout. The default is 30, so you'll need to go at least as large as that. How long does it take for the router to completely reload, and become responsive again? Set the timeout to that plus 10 seconds.
05-26-2008 10:10 PM
my router generally takes not more than 90 sec to completely reboot..
but looks like now with this java exception even reload event is not going to router.. earlier at least the router was restarting but but the error is return from Cisco works itself and not even rebooting the router
on: Read timed out
SUMMARY
========
Failed: reload
C:\Documents and Settings\cworks>cwcli config reload -u admin -p admin -ipaddres
s 10.10.10.102 -timeout 100
* Warning * The -p option is highly insecure and *not* recommended.
* Warning * See -u option for more details.
10.10.10.102
Waiting for the job results ...
..!
Failed Devices:
10.10.10.102
on: Read timed out
SUMMARY
========
Failed: reload
05-26-2008 10:21 PM
You will need to enable debugging, and post the log. Without it, I cannot say where the timeout is occurring.
05-26-2008 10:34 PM
05-26-2008 10:57 PM
Please post a binary sniffer trace of all traffic to this device while the reload job is running.
05-26-2008 11:35 PM
Hi joe,
wouldnt it be possible to debug the issue without binary sniffer trace, i would not be able to provide the same
05-26-2008 11:44 PM
If you cannot post it to the forum, please open a TAC services request with the trace and the previously posted log.
05-27-2008 02:46 AM
05-27-2008 08:25 AM
The config needs to be saved before this device can be reloaded. Push a write mem job to the device, then a reload.
05-27-2008 09:11 PM
Hi Joe,
tried saving the config first also.. but no success :-((
attached are the logs for cli sent by me on CW server also including Console logs of my router with "show clock" command executed before and after the reload which shows that it take no more than 3 mins to reload the router.. Please note that Router was reloaded by Ciscoworks job but still return Job status as FAILED
05-27-2008 10:05 PM
I looked into this, and it appears they broke config reload in RME 4.1 when using telnet or SSH as the transport. As a workaround, make TFTP your first config deployment protocol, and make sure "snmp-server system-shutdown" is configured on the device, and that DCR has a valid read-write SNMP credential, and the device will be reloaded via SNMP. The status for an SNMP reload job will be successful if the device was properly reloaded.
05-27-2008 10:57 PM
Thnx Joe,
Which mean we would not likely to see the same issue on some other version of RME :-)
I highly appreciate your time spent on this:-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide