EEM: Backup your router configuration periodically

Supposed you need to back up your router configuration at a specific time everyday, you can do this automatically using EEM. Define EEM variables Define the EEM variables and store the values into them. 2651-1#sh run | s event manager environment event manager environment filename 2651-1-confg event manager environment tftploc tftp://192.168.1.102/ Note1: Cisco has a … Continue reading EEM: Backup your router configuration periodically

Advertisement

EEM: Time based static default route

Supposed you want to let user use lower bandwidth after office hours which is 1800hrs, from monday to friday. EEM configuration 2651-1#sh run | s event manager applet test event manager applet test event timer cron name cronjob1 cron-entry "0 18 * * 0-6" action 1.0 cli command "enable" action 2.0 cli command "conf t" … Continue reading EEM: Time based static default route

EEM: Configuring static default route failover

Supposed you have a router that connects to two location or routers or ISPs. The primary link is se0/1, the secondary link is se0/2, the secondary link will not be used unless primary link has failed. There are many ways to accomplish link failover task, you can choose to use PBR, BGP or EEM, in … Continue reading EEM: Configuring static default route failover