<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XMC CLI Task - sleep X seconds in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69579#M8135</link>
    <description>&lt;P&gt;Hello Matthias,&lt;/P&gt;&lt;P&gt;TCL is the trick. You have to hide your “sleep X” command from the switch CLI.&lt;/P&gt;&lt;P&gt;Therefore select TCL (not CLI) and use (for a test):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;show time&lt;BR /&gt;sleep 15&lt;BR /&gt;show time&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Should work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 01:19:02 GMT</pubDate>
    <dc:creator>StephanH</dc:creator>
    <dc:date>2021-05-26T01:19:02Z</dc:date>
    <item>
      <title>XMC CLI Task - sleep X seconds</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69574#M8130</link>
      <description>&lt;P&gt;using XMC execute CLI commands …&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;searching for a command which makes a pause between 2 commands like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;show port X error no-refresh&lt;/P&gt;&lt;P&gt;pause 10&lt;/P&gt;&lt;P&gt;show port X error no-refresh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(sleep X or time.sleep X from XMC scripting does not work!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 18:54:50 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69574#M8130</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2021-05-25T18:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: XMC CLI Task - sleep X seconds</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69575#M8131</link>
      <description>&lt;P&gt;enable cli scripting&lt;/P&gt;&lt;P&gt;show port x error no-refresh&lt;/P&gt;&lt;P&gt;set var wait $TCL(after 10000)&lt;/P&gt;&lt;P&gt;show port x error no-refresh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did not test it with XMC but it is working on EXOS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 18:57:06 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69575#M8131</guid>
      <dc:creator>OscarK</dc:creator>
      <dc:date>2021-05-25T18:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: XMC CLI Task - sleep X seconds</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69576#M8132</link>
      <description>&lt;P&gt;Hi Oskar,&lt;/P&gt;&lt;P&gt;that’s a good idea but only works with EXOS.&lt;/P&gt;&lt;P&gt;I am looking for a pause command within XMC cli task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 18:59:50 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69576#M8132</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2021-05-25T18:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: XMC CLI Task - sleep X seconds</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69577#M8133</link>
      <description>&lt;P&gt;Hi Matthias, the set var wait command will just take 10 seconds (10000 msec) and then XMC sees the prompt and continues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it will work as long as the wait is not longer than XMC has defined its timeout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need more sophisticated tasks in XMC use a python script instead of the command CLI script.&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 19:02:54 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69577#M8133</guid>
      <dc:creator>OscarK</dc:creator>
      <dc:date>2021-05-25T19:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: XMC CLI Task - sleep X seconds</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69578#M8134</link>
      <description>&lt;P&gt;You are right but python scripts are too complicated for much customers/users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i am looking for a way with the easy “Executing CLI commmads”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround sometimes i use a “save config” but this is not very smart.&lt;/P&gt;&lt;P&gt;Your approach is much more smart, but works only on EXOS - no VSP, no EOS, …&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 19:35:08 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69578#M8134</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2021-05-25T19:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: XMC CLI Task - sleep X seconds</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69579#M8135</link>
      <description>&lt;P&gt;Hello Matthias,&lt;/P&gt;&lt;P&gt;TCL is the trick. You have to hide your “sleep X” command from the switch CLI.&lt;/P&gt;&lt;P&gt;Therefore select TCL (not CLI) and use (for a test):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;show time&lt;BR /&gt;sleep 15&lt;BR /&gt;show time&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Should work fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 01:19:02 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69579#M8135</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2021-05-26T01:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: XMC CLI Task - sleep X seconds</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69580#M8136</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hi Stephan,&lt;/P&gt;&lt;P&gt;i cannot select TCL in a CLI Command Task. If yes how ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Switch over to Tasks - add script … this enters the compexity of scripts … (if i do that i use python - time.sleep X)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems XMC cannot handle this at this point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;BR /&gt;Matthias&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 12:17:23 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69580#M8136</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2021-05-26T12:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: XMC CLI Task - sleep X seconds</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69581#M8137</link>
      <description>&lt;P&gt;Hello Matthias,&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can't switch to TCL in CLI Command, that's correct. As far as I know CLI Command is a plain command input option without an intepreter, therefore you have to switch to task an TCL.&lt;/P&gt;&lt;P&gt;But as I wrote in difference to python no further code is necessary (only three lines from your example) therefore the code part is not realy complexe only the menus to start a script and select an name and usergroup is more complexe.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 12:31:02 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/xmc-cli-task-sleep-x-seconds/m-p/69581#M8137</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2021-05-26T12:31:02Z</dc:date>
    </item>
  </channel>
</rss>

