cancel
Showing results for 
Search instead for 
Did you mean: 

Add wait time to xsf file

Add wait time to xsf file

Not_Very_Good
New Contributor II
Hello Everyone,

I'm trying to automate a simple task of turning some port up/down with a script. Where I'm getting stuck is when I try add a pause. This is what I have:

show port 12 configuration no-refresh
disable port 12
#timer 1
enable port 12
show port 12 configuration no-refresh

When I load the script it errors out at line 3, my pause. The port will disable so I assume (yes, i know better, lol) that it will also enable once I figure out the pause. One other thing, for line 1 to show in the CLI do I need to add something special? 

Thanks in advance for helping this scripting noob.
2 REPLIES 2

Not_Very_Good
New Contributor II

I have found a solution this using UPM commands.

I know this is old but you can also use the "usleep" command:

 

https://extremeportal.force.com/ExtrArticleDetail?an=000089814

 

Thanks,

Chris Thompson

GTM-P2G8KFN