Mar 9, 2010 at 11:45pm UTC
Hello!
I need to automatize Cisco router backup - so the program will run on linux server and will login to router when scheduled and grab a config file,
sound as a simple script, but i have no idea where to start
any help would be appreciated!
Regards,
Eric
Last edited on Mar 10, 2010 at 2:43am UTC
Mar 10, 2010 at 8:35am UTC
Uhhh... what do need help with, specifically?
Mar 10, 2010 at 6:35pm UTC
I guess first i need to know how do i telnet or ssh to router, i mean what methods i used for that?
i work in Eclipse.
thats how far i got
#include <iostream>
#include <?> // network?
using namespace std;
using namespace ?; // telnet?
int main()
{
cout << "cisco backup utility";
return 0;
}
regards,
Eric
Mar 11, 2010 at 8:17am UTC
It won't work like that.
You can learn network programming with Beej's Guide to Network Programming:
http://beej.us/guide/bgnet/
It's not easy, but it isn't
that hard. I don't know what level you're at in terms of programming; but I guess you can learn from his tutorial.
Last edited on Mar 11, 2010 at 5:47pm UTC
Mar 13, 2010 at 4:45am UTC
its not a solution, but it's a light at the end of the tunnel =)
Ill be sure to read that guide,
Thank you,
regards,
Eric