11-05-2008 08:21 AM
Hi all
I want to know if there is a way with CSM Netconfig module, to modify the way that Netconfig will answer to the cli prompt that he will receive when applying a job.
I remember that in VSM, we can edit a file and tell the VMS's netconfig module to answer "no" when he encounter a [yes/no] prompt or answer "yes". That depend what you have written.
Does it still possible with CSM netconfig ?
Thank you very much
11-05-2008 10:16 AM
Yes. You need to use the
clear counters
Will send the command "clear counters" then answer "y" when prompted.
11-05-2008 10:37 AM
But if I want to scedule a reload on routers that have unsaved modifications and other that haven't.
The router that have unsaved modifications will prompt me this :
System configuration has been modified. Save? [yes/no]:
then
Proceed with reload? [confirm]
But routers that haven't unsaved modifications will only prompt me "Proceed with reload? [confirm]".
I can't use reload
Here's my concern
Any ideas ?
Thanks
11-05-2008 10:49 AM
If you want to save the config, the solution is easy. If not, then you could create two jobs. One that would do:
reload
This will fail on devices that have unsaved changes. Then, for all the devices that failed, run another job with:
reload
11-05-2008 10:57 AM
This is why I want to find a file (I remember that we have one with VMS) that have all the possible prompt that a device can print out, and a default answer associated to it.
I'll probably run 2 diff job like you said.
Thanks for your help
11-05-2008 11:01 AM
There is no prompts file like there was with RME 3.5. This information is now hard-coded in the RME device packages.
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