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

I need TCL help

lchance
Level 1
Level 1

I need to automate a few commands, like SHOW CLOCK and then SHOW INTERFACE during specific hours for a few days.

Is there a TCL script in a repository out there somewhere which may do this? Or is there anything else within IOS or outside IOS which could do this?     

Thanks!

LCHANCE            

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

You don't need Tcl to do this for IOS.  You could use an EEM applet.  For example, to run those commands every day every five minutes of the 2 o'clock hour, you can use:

event manager applet automated-cli

event timer cron cron-entry "*/5 14 * * *"

action 1.0 cli command "enable"

action 2.0 cli command "show clock | redirect flash:debug.txt"

action 3.0 cli command "show interface | redirect flash:debug.txt"