cisco IOS contextual config diffs via syslog

Posted on Mon 11 October 2010 in Hacks • Tagged with cisco, cli, syslogLeave a comment

Event amanager applet per salvare il diff tra stratup-config e running-config via syslog.

event manager applet wr-mem-match 
 event cli pattern "wr.* mem.*" sync yes
 action 1.0 cli command "enable"
 action 1.1 cli command "show archive config differences nvram:/startup-config system:/running-config"
 action 1.2 syslog msg "$_cli_result"
 set ...
Continue reading