cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1849
Views
0
Helpful
6
Replies

Script for autologin & autobackup

yathishbs
Level 1
Level 1

Hi,

Can anyone help me out for the belowproblem:

Is there any script available for auto login and auto backup.since we have around 200+ cisco switches(L2,L3), routers,pix.

since all devices are cofigured with ssh, i need a batch file kind of tool where i'll mention the device IP, username & pass, and the command to run.

So it will be usefull for our management purposes.Could anyone help us on this.

thanks in advance,

yathish

6 Replies 6

irisrios
Level 6
Level 6

I think Script for autologin & autobackup is not available to any of site. It will be better to contact with Cisco because you are using Cisco device. Any way remember following point, it will help you. If configured for autologin, do not also use an applet to prompt for login ID and password. In autologin mode, the applet window will not display correctly and you cannot select user ID or password. It will also lock autologin from working. Use the applet only when autologin is not enabled.

Hieu Cao
Level 4
Level 4

You might want to look into CiscoWorks. It's not cheap nor free, but for 200+ routers might be worth the price though.

Possible, but it will involve some time to setup.

search the web for TST10 utility for telnet scripting. it has a few examples. Wonderful utility

HTH pls rate if it helps

Hi

What anandramapathy is saying is totally workable and i have myself deployed the same..

Problem with Telnet is that unlike ftp you donnt have the command set to execute during the session so what TST10 does is run commands in the telent session

and they have given the example for backup only so your problem will be addressed but take care of few things :-

--> your credentials will be saved in clear text in the script file

--> this will create number of files in cache containing your switch configuration

so you need to delete the cache as all the information will be in clear text.

** one more option is there:-

use snmp based tools which will encrypt the snmp string in their repositry. Free tools are available but hard to find, u need to put some effort on internet if you want to save money.

i have used some free tools long time back but donnt remember the names, we are using ciscoworks for quite a long time.

if you want to do only backup and management is not needed you can save some money and buy Kiwi CAT tools (freeware is avaliable but number device that can be backed up are limited)

HTH

rgds

avmabe
Level 3
Level 3

I would recommend using rancid. It's a great tool for backup/config management.

http://www.shrubbery.net/rancid/

This is one is pretty good. YOu can do magic with this. Pretty cheap also.

IOS COnfig editor.

It can edit Running config on the Fly without manually logging into the Router.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card