OK, now that I have looked up the parallel::forkmanager I can see where it can help me :) once I get this working right...
Problem is I still don't know how to look for the EOF - in this case the word "End" before I run the disconnect module.
&connect();
crisco("terminal length 0")...
Actually I'm running this on Linux and any help you can provide with the coding or if you can point me in the direction of some examples would be greatly appreciated.
This script will often finish before the show run command finishs - the sho ver will complete but often times I will just get the
building configuration...
or a parital listing before the script moves on to the next router.
It is being fed by a wrapper executed by "./loop" so that might be...
I have the below script that will login to a Cisco router, then do a show ver and show run command outputing to a file.
My problem is often times the show run output can take a couple of minutes to complete, I could put in a sleep however there are over 1200 routers I run this against so I'd...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.