08-09-2010 11:44 AM
I posted on this topic some time ago and I can't find the topic. Our helpdesk personnel are tasked with port management (enable/disable ports). Apparently there is no way, even with CiscoView, to allow a user to save/sync the running config. I, as the admin, can run a "sync" job, but that is not good enough. I need to allow my port admins to save the config once they have enabled/disabled ports.
So what strategy do you use in your environments? The biggest issue we face is power. Obviously if we lose power for longer than the UPS can sustain, the config will revert back to the last saved startup-config (upon power being restored/cold boot).
I had thought about incorporating a switch "save" feature on my IP address management tool. Something that would use PHP/SNMP calls to save the config. I really wish CiscoWorks had something like this built into the CiscoView product...
Thanks for sharing your ideas.
Solved! Go to Solution.
08-09-2010 01:51 PM
2950 - nope
3550 - nope
3750 - E series only
6509 - I believe it depends on the Sup.
EEM won't be good fit. How about we look at a cron job on the switches? We'll have to check and see if it's supported on all these platforms.
08-09-2010 12:30 PM
Good question, have you looked into a cron job that runs hourly and saves the config? If you have devices that support EEM, you could script that function as well.
08-09-2010 01:30 PM
Collin,
Thank you for the prompt and detailed reply. How do TCL scripts work? It appears as though I would load this TCL script on a tftp/ftp server and exec it somehow at startup using the tclsh command.
I found this script on the EEM link you posted ( http://forums.cisco.com/eforum/servlet/EEM?page=eem&fn=script&scriptId=1103 ), but was wondering if you could give me a couple expert thoughts on how this could be implemented. It seems as though the applets are entered into the IOS events manager, but I'm not sure if my thoughts are accurate for TCL implementation. The best information I could find thus far is -> http://www.netcraftsmen.net/resources/archived-articles/374-tcling-your-cisco-router.html
Thanks again!
08-09-2010 01:37 PM
The script will live on flash. Most TCL scripts look for a log entry of some sort (interface going down, SNMP trap, etc) and EEM will take action on it. The script you have the link for is to backup the old configureation to flash when a change has been made. It will not save the config when the change has been made. Only a handful of switches support EEM. Can you post your hardware since EEM may not be a viable option? Meanwhile I'll try and find a script that will write the config on a change.
08-09-2010 01:46 PM
2950, 3550, 3750, 6509. I know the 2950 will not be supported and I'm not sure what option I have there (besides a CiscoWorks sync archive).
08-09-2010 01:51 PM
2950 - nope
3550 - nope
3750 - E series only
6509 - I believe it depends on the Sup.
EEM won't be good fit. How about we look at a cron job on the switches? We'll have to check and see if it's supported on all these platforms.
08-09-2010 01:54 PM
Collin,
I found an article here that might be what I am looking for... http://articles.techrepublic.com.com/5100-10878_11-5553313.html
08-09-2010 01:58 PM
That's what I meant by a cron job, I was just spelling it wrong .
08-09-2010 02:06 PM
Is there a way to use the recurring command to make kron execute the command every hour?
edit: It doesn't look like there is a recurring option for hours, only days/months. Does this imply that I'll need to create a kron occurance for each hour of the day and have each of those kron jobs run as a recurring event for each day?
08-09-2010 02:08 PM
I believe so. I'd have to dig through the configuration guide to verify.
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