Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Managing device configs using an Unix box

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
New Member

Re: Managing device configs using an Unix box

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)

New Member

Re: Managing device configs using an Unix box

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

193
Views
0
Helpful
2
Replies