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

tcl cli run and wait

serge123
Level 1
Level 1

Hi,

Can I wait between cli_run cmd in tcl ? Let say I want to shut interface wait 120 then no shut.

 

I can do it in eem applet not sure how to do it in tcl?

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Use the after procedure:

 

after 120000

 

Note: if you're using EEM, you should consider a more asynchronous way of introducing such a large delay: How To Introduce Large Delays In EEM Policies .

Review Cisco Networking for a $25 gift card