Sunday, 10 November 2013

Adding Configuration After A Reload


EEM had been an unpleasant location pertaining to me- We believed which it has been simply an bad subject matter for the CCIE that your test inventors used inside in order to by choice produce my life tougher. We analyzed this, in addition to labbed this a little, but I just had a way to in fact apply it practical, therefore i believed I’d discuss.



I thought this was to have an sector foremost business that had a substantial circle in a very lab enviornment i always had setup. We all observed an undocumented/discovered pester for the 4900M system, which brought about the device to get rid of the actual “ip tacacs source-interface loopback0″ demand when reload. We wish I had created the actual IOS edition helpful, but We don’t. Still, Cisco is seldom been recently arrested to be quickly (I state that with adore! ), in addition to I had created to get a alternative NOW. And so, We designed an EEM applet which re-applied the actual construction on the system post-reload. We started out that without the need of earlier information for this job (not even a yahoo search), in addition to needed to work through this thoroughly. We enquired me personally “what messages usually are produced when reload that i could match through EEM? ” – We recognized the actual SNMP Frosty start meaning has been produced, but I needed to get additional particular. And so i rebooted one among my personal products to determine what I had created to work with. Here’s what I came across:

*May 24 01: thirty seven: forty six. 439: %SYS-5-RESTART: Process restarted --

And so, this builds that syslog, i always recognize we can easily match in. We used this applet together:

occasion director applet ADD_TACACS_CMD
occasion syslog takes place 1 structure "%SYS-5-RESTART: Process restarted"
activity 1. 0 cli demand "enable"
activity only two. 0 cli demand "configure terminal"
activity 3. 0 cli demand "ip tacacs source-interface loopback0"

From reload, the actual demand has been really utilized, in addition to AAA had not been broken (well, it turned out, but that software treatments this really fast). Sure, it’s a new band-aid. Sure, it’s short-term. Absolutely no, it’s not necessarily pretty, but it does work!

0 comments:

Post a Comment