<?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: EXOS: execute command several times and prompt output to CLI in ExtremeSwitching (EOS)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59762#M1712</link>
    <description>Hi Drew,&lt;BR /&gt;
&lt;BR /&gt;
thanks for your advice with download url and *.lst file! It works fine and i am able to distribute very fast useful python scripts to my switches.&lt;BR /&gt;
&lt;BR /&gt;
I use XMC for providing this couple of files:&lt;BR /&gt;
&lt;BR /&gt;
SW-TEST.28 # download url &lt;A href="http://netsight/Clients/scripts.lst" target="_blank" rel="nofollow noreferrer noopener"&gt;http://netsight/Clients/scripts.lst&lt;/A&gt; vr VR-Default&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/scripts.lst" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/scripts.lst&lt;/A&gt;&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/flowtrack.py" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/flowtrack.py&lt;/A&gt;&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/mlag_config_check.py" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/mlag_config_check.py&lt;/A&gt;&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/conf_diff.py" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/conf_diff.py&lt;/A&gt;&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/watch.py" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/watch.py&lt;/A&gt;&lt;BR /&gt;
SW-TEST.28 # Thanks&lt;BR /&gt;</description>
    <pubDate>Thu, 08 Feb 2018 21:08:00 GMT</pubDate>
    <dc:creator>M_Nees</dc:creator>
    <dc:date>2018-02-08T21:08:00Z</dc:date>
    <item>
      <title>EXOS: execute command several times and prompt output to CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59756#M1706</link>
      <description>In EOS (S-Series) i use sometimes these to execute a custom command several times and look at the output:&lt;BR /&gt;
&lt;BR /&gt;
loop 10 1 -r&lt;BR /&gt;
sh flowlimit stats tg.4.4;tg.1.4;tg.5.4(loop the following command for 10 times with a delay of 1 sec and refresh cursor at home position)&lt;BR /&gt;
&lt;BR /&gt;
I am looking for a similar command or mechanism in current EXOS.&lt;BR /&gt;
(I know for counters this is build in output mechanism in EXOS. I need it for custom commands beyond counters ...)&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Matthias&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:54:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59756#M1706</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2018-02-08T20:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: EXOS: execute command several times and prompt output to CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59757#M1707</link>
      <description>Maybe this python script can help ?&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/watch" target="_blank" rel="nofollow noreferrer noopener"&gt;https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/watch&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59757#M1707</guid>
      <dc:creator>OscarK</dc:creator>
      <dc:date>2018-02-08T21:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: EXOS: execute command several times and prompt output to CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59758#M1708</link>
      <description>Hi Oscar,&lt;BR /&gt;
&lt;BR /&gt;
that is what i am looking for!&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;run script watch.py -i 5 "show ospf neighbor"&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
Because i have several changing customers / environments - working with python scripts is not optimal because i have to copy them on the switch before i can use it. If this will be a build in command like in EOS i will be much more useful in my case.&lt;BR /&gt;
&lt;BR /&gt;
In last time a lot of useful commands build as a python script and provide via guthub. That is good for a fast help but the the best or final solution. I wish that some of them will be included in firmware image sometimes.&lt;BR /&gt;
&lt;BR /&gt;
But many thanks for that useful reply.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Matthias&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59758#M1708</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2018-02-08T21:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: EXOS: execute command several times and prompt output to CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59759#M1709</link>
      <description>There's also the GitHub downloader, which has to be installed just the same. Once it's on the switch, it will make it easier to get other scripts.&lt;BR /&gt;
&lt;A href="https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/git_download" target="_blank" rel="nofollow noreferrer noopener"&gt;https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/git_download&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
You can also use the download list function to add a few scripts next time you upgrade.&lt;BR /&gt;
&lt;A href="https://documentation.extremenetworks.com/exos_22.4/exos_21_1/software_upgrade_and_boot_options/c_download-url.shtml" target="_blank" rel="nofollow noreferrer noopener"&gt;https://documentation.extremenetworks.com/exos_22.4/exos_21_1/software_upgrade_and_boot_options/c_do...&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The functionality of watch.py is one that we'd like to get added as a permanent command in EXOS, so your feedback is helpful.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59759#M1709</guid>
      <dc:creator>Drew_C</dc:creator>
      <dc:date>2018-02-08T21:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: EXOS: execute command several times and prompt output to CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59760#M1710</link>
      <description>If deployment of the Python script to all the switches is an obstacle, then you could consider using JSON-RPC from some management station; this would allow you to push the script to any switch, which then gets executed on the switch and you then harvest the result in JSON format. You can even do this from XMC.&lt;BR /&gt;
See &lt;A href="https://github.com/extremenetworks/EXOS_Apps/tree/master/JSONRPC" target="_blank" rel="nofollow noreferrer noopener"&gt;https://github.com/extremenetworks/EXOS_Apps/tree/master/JSONRPC&lt;/A&gt; &lt;BR /&gt;
﻿</description>
      <pubDate>Thu, 08 Feb 2018 21:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59760#M1710</guid>
      <dc:creator>Ludovico_Steven</dc:creator>
      <dc:date>2018-02-08T21:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: EXOS: execute command several times and prompt output to CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59761#M1711</link>
      <description>Following Ludo comment (which requires EXOS 21.1+), you could also consider Extreme Management Center (XMC) to do the job, if you have it. Since 8.0.4 it supports Python scripting, so you could have your script on XMC and run it from there.&lt;BR /&gt;
&lt;BR /&gt;
I see a potential to automate all of that with coming XMC 8.1.&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59761#M1711</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2018-02-08T21:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: EXOS: execute command several times and prompt output to CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59762#M1712</link>
      <description>Hi Drew,&lt;BR /&gt;
&lt;BR /&gt;
thanks for your advice with download url and *.lst file! It works fine and i am able to distribute very fast useful python scripts to my switches.&lt;BR /&gt;
&lt;BR /&gt;
I use XMC for providing this couple of files:&lt;BR /&gt;
&lt;BR /&gt;
SW-TEST.28 # download url &lt;A href="http://netsight/Clients/scripts.lst" target="_blank" rel="nofollow noreferrer noopener"&gt;http://netsight/Clients/scripts.lst&lt;/A&gt; vr VR-Default&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/scripts.lst" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/scripts.lst&lt;/A&gt;&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/flowtrack.py" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/flowtrack.py&lt;/A&gt;&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/mlag_config_check.py" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/mlag_config_check.py&lt;/A&gt;&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/conf_diff.py" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/conf_diff.py&lt;/A&gt;&lt;BR /&gt;
Downloading &lt;A href="http://10.1.1.200/Clients/watch.py" target="_blank" rel="nofollow noreferrer noopener"&gt;http://10.1.1.200/Clients/watch.py&lt;/A&gt;&lt;BR /&gt;
SW-TEST.28 # Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59762#M1712</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2018-02-08T21:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: EXOS: execute command several times and prompt output to CLI</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59763#M1713</link>
      <description>Glad that worked for you, Matthias!&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/exos-execute-command-several-times-and-prompt-output-to-cli/m-p/59763#M1713</guid>
      <dc:creator>Drew_C</dc:creator>
      <dc:date>2018-02-08T21:08:00Z</dc:date>
    </item>
  </channel>
</rss>

