cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
513
Views
0
Helpful
2
Replies

Managing device configs using an Unix box

m-maruf
Level 1
Level 1

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.

2 Replies 2

smitsialis
Level 1
Level 1

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)

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..