Add wait time to xsf file
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-18-2022 03:31 PM
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.
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎09-07-2022 07:15 AM
I have found a solution this using UPM commands.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎09-15-2022 05:37 AM
I know this is old but you can also use the "usleep" command:
https://extremeportal.force.com/ExtrArticleDetail?an=000089814
Thanks,
Chris Thompson
