11-08-2001 01:39 PM - edited 03-01-2019 07:18 PM
Hi,
I am not sure if it is possible to do but certainly worth a try. I want to write an unix script that will go at specified time and grab the config from the cisco device and save it back to the unix box. Now couple of other issues that needs to addressed with this problem, that is security. If I turn on TFTP in the cisco device it will leave a big hole, so I would prefer using something more secure like FTP.
If any one can tell me the procedure of how to go ahead and accomplish this task will be very helpfull. Thank you in advance for any suggestions.
11-09-2001 02:16 PM
Don't use tftp! You can use rcp (remote copy) from your unix box. For security, you can specify, on your devices the host and user that is allowed to do remote commands. Then setup a script and run it at specified times using cron.
ex: ip rcmd rcp-enable (remote copy)
ip rcmd rsh-enable (remote shell access)
ip rcmd remote-host username Ipaddress username enable (or something like this)
11-15-2001 11:41 AM
Is this possible with IOS 12.0.3? I don't seem to be able to enable rcp in it. I'm trying to do the same thing the original poster is trying to do without much success..
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