05-12-2008 09:55 PM
Hey,
I need to loadOs to my router and am right now using cwcli to interact with device.. as per my earlier query answered by Joi, I can not load OS using CwCli.. Just need to ask whether is there any possible way to do it..(I mean by crating a job or something like that)..
the idea comes in my mind is to send "All commands related to load OS in file" in batch mode through CWCLI and reload the router.. but dunno whether this would work , as copy command is interactive one and I may not be able to send interactive commands.. Please Help
05-12-2008 09:59 PM
You could emulate some of SWIM's functions using Netconfig and Netshow via cwcli. However, you would have to run multiple jobs, and write some code around each one to glue the results together. You would also need to stage the images manually to the tftpboot directory (or some other area for copying).
If you have RME 4.1 (i.e. LMS 3.0) you can export images from the SWIM repository with cwcli using the cwcli swim exportimages command. However, it will still be up to you to clue together the different pieces to actually deploy the image to a device.
05-12-2008 10:28 PM
Thnks joe,
This is fine with me to put image manually at some dir in Ciscoworks, But Still am not sure using netconfig and netshow i would be able to load the image.
cwcli netconfig createjob but only be able to send cmd like copy flash:c2600-i-mz.122-24a.bin tftp//172.16.100.242/c2600-i-mz.122-24a.bin
but after that there would not be any interaction to the device(as device verify the file and tftp address.and would expect atleast "CR" i.e. return to be entered.)
could you please give comments in more details How exactly we can send netconfig and netshow cmd to execute loadImage..
I tryed swim export also . but looks like it will only copy the image from device to repository(there too I could not see any provision to mention the IP address of the device) .. would SWIM be useful to load Image on devices
05-12-2008 10:32 PM
Consult the online help for Netconfig on how to execute interactive commands. Basically, you will need to use the
You will need to use Netshow, or otherwise check the device's inventory to confirm it has enough RAM/flash to support the desired image.
SWIM or Software Image Management is the tool with RME uses to load software on devices. It can also archive software running on devices in your network. The exportimages command only operates on images already in your local LMS repository. You will need to add images to the repo from the GUI first.
05-12-2008 10:43 PM
Hi Joe,
This would be great and very kind of you if you could provide me example for how
05-13-2008 05:05 AM
See http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Network%20Infrastructure&topic=Network%20Management&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.2cc01e7a/0#selected_message or search the forum for "
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