Fix router configuration after a reload

Sometimes, parts of router configuration get lost during the reload process: although the configuration commands are saved in NVRAM, they are not processed after the reload and thus do not appear in the running configuration. Re-entering these commands manually solves the problem ... but it's obviously not a reliable solution.

Embedded Event Manager (EEM) solves this issue as well. You just configure an applet that triggers on syslog message SYS-5-RESTART and reapplies the necessary configuration commands. For example, to fix the bug CSCsf32390, Cisco recomments the following applet:
event manager applet add-buffer
event syslog occurs 1 pattern "%SYS-5-RESTART: System restarted"
action 1.0 cli command "enable"
action 2.0 cli command "configure terminal"
action 3.0 cli command "buffers particle-clone 16384"
action 4.0 cli command "buffers header 4096"
action 5.0 cli command "buffers fastswitching 8192"
action 6.0 syslog msg "Reinstated buffers command"


  1. Great tip Ivan.. Thanks..
  2. Very nice tip Ivan. My blog also tackles cisco, networking and router configuration, can i copy this post of yours?
  3. Yes, you can, just quote the source and insert a link back to my blog.
  4. Nice tip
    ut how if you have an user for enable / conf t?, does it work without entering the password?
  5. Hi
    discoverd simmilar with 12.4.15T3 and the DHCP Server.
    Nice Hint. Many Thanks.
Add comment