cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1406
Views
0
Helpful
1
Replies

TCL Script to send an email on cold-start

gaurav61186
Level 1
Level 1

Hi All,

I am looking for mechanism which can notifiy us once the router boots up after COLD START.

Actually I am intrested in getting the information that the router was unavailable because it was powered off or not.

Is it possible by TCL script? You can also suggest me any other workaround.

Regards,

Gaurav

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

You can use EEM for this.  Tcl would not be required:

event manager applet email-on-reload

event timer cron cron-entry @reboot

action 1.0 cli command "enable"

action 2.0 cli command "show ver"

action 3.0 mail from router@company.com to user@company.com server 10.1.1.1 subject "Router reloaded" body "Router reloaded : $_cli_result"

Review Cisco Networking for a $25 gift card