<?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 Is there a way to stack two commands in a single line via the CLI (like dis port then en port)? in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22983#M2114</link>
    <description>Wondering if there is a way to stack two commands in a single line of the EXOS CLI?  For example in windows you can issue a "ipconfig /release &amp;amp; ipconfig /renew" in one line and it will execute both commands back to back.  I need to cycle a port than I'm actually connected through so I'd like to do the same with a "disable port x | enable port x" type of command.  Is this possible?  Thanks in advance!</description>
    <pubDate>Tue, 17 Jan 2017 04:25:00 GMT</pubDate>
    <dc:creator>Eric_Burke</dc:creator>
    <dc:date>2017-01-17T04:25:00Z</dc:date>
    <item>
      <title>Is there a way to stack two commands in a single line via the CLI (like dis port then en port)?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22983#M2114</link>
      <description>Wondering if there is a way to stack two commands in a single line of the EXOS CLI?  For example in windows you can issue a "ipconfig /release &amp;amp; ipconfig /renew" in one line and it will execute both commands back to back.  I need to cycle a port than I'm actually connected through so I'd like to do the same with a "disable port x | enable port x" type of command.  Is this possible?  Thanks in advance!</description>
      <pubDate>Tue, 17 Jan 2017 04:25:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22983#M2114</guid>
      <dc:creator>Eric_Burke</dc:creator>
      <dc:date>2017-01-17T04:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a way to stack two commands in a single line via the CLI (like dis port then en port)?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22984#M2115</link>
      <description>Hello Eric,&lt;BR /&gt;
&lt;BR /&gt;
You can utilize the "restart port" command. That should get the job done.&lt;BR /&gt;
&lt;BR /&gt;
The other option would be to create a script and run it.</description>
      <pubDate>Tue, 17 Jan 2017 04:29:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22984#M2115</guid>
      <dc:creator>Patrick_Voss</dc:creator>
      <dc:date>2017-01-17T04:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a way to stack two commands in a single line via the CLI (like dis port then en port)?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22985#M2116</link>
      <description>Hello Patrick,&lt;BR /&gt;
&lt;BR /&gt;
is a script in the case of disable the connected port working? I think the script would stop after the disable command for the e.g. uplink port.&lt;BR /&gt;
&lt;BR /&gt;
regards Daniel.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2017 04:29:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22985#M2116</guid>
      <dc:creator>Daniel_B</dc:creator>
      <dc:date>2017-01-17T04:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a way to stack two commands in a single line via the CLI (like dis port then en port)?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22986#M2117</link>
      <description>The script is local to the switch. If running 21 or later, you could achieve the same remotely through jsonrpc.</description>
      <pubDate>Tue, 17 Jan 2017 04:29:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22986#M2117</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2017-01-17T04:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a way to stack two commands in a single line via the CLI (like dis port then en port)?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22987#M2118</link>
      <description>Thanks Patrick...  Just looking through CLI and found that command!&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2017 04:31:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22987#M2118</guid>
      <dc:creator>Eric_Burke</dc:creator>
      <dc:date>2017-01-17T04:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a way to stack two commands in a single line via the CLI (like dis port then en port)?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22988#M2119</link>
      <description>Eric,    You can also do this.    Create a file via CLI with the extension .xsf and you can run that as script.    vi test.xsf  disable port 1  enable port 1    "to exit press "ESC" and then type !wq "enter"     Once done you can run the script "run script test"     I hope this can also help!</description>
      <pubDate>Tue, 17 Jan 2017 12:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/is-there-a-way-to-stack-two-commands-in-a-single-line-via-the/m-p/22988#M2119</guid>
      <dc:creator>Karthik_Mohando</dc:creator>
      <dc:date>2017-01-17T12:21:00Z</dc:date>
    </item>
  </channel>
</rss>

