<?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: Answering prompts in command scripts in ExtremeSwitching (Other)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9513#M541</link>
    <description>Hi Jeff,  Maybe you can give us a little bit of commentary here.  What exactly is the problem you are trying to resolve?</description>
    <pubDate>Fri, 25 Oct 2013 20:06:00 GMT</pubDate>
    <dc:creator>Tamera_Rousseau</dc:creator>
    <dc:date>2013-10-25T20:06:00Z</dc:date>
    <item>
      <title>Answering prompts in command scripts</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9511#M539</link>
      <description>Attempting to cancel reset through a command script. Although this issue could potentially happen when answering any yes/no prompt.    Script:  set length 0  reset cancel &lt;B&gt;@receive&lt;/B&gt; 2 &lt;B&gt;@key&lt;/B&gt; y &lt;B&gt;@endofline&lt;/B&gt; crlf  show reset  exit    Result:  K6(su)-&amp;gt;set length 0  K6(su)-&amp;gt;reset cancel  This command will cancel 1 scheduled reset.  Do you want to continue (y/n) &lt;N&gt;?yshow    K6(su)-&amp;gt;  K6(su)-&amp;gt;&lt;/N&gt;</description>
      <pubDate>Fri, 25 Oct 2013 17:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9511#M539</guid>
      <dc:creator>Jeff_Creek</dc:creator>
      <dc:date>2013-10-25T17:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Answering prompts in command scripts</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9512#M540</link>
      <description>Update:  If I change the script to:    set length 0  reset cancel &lt;B&gt;@receive&lt;/B&gt; 2 &lt;B&gt;@key&lt;/B&gt; y &lt;B&gt;@endofline&lt;/B&gt; crlf  exit    Result:  K6(su)-&amp;gt;set length 0  K6(su)-&amp;gt;reset cancel  This command will cancel 1 scheduled reset.  Do you want to continue (y/n) &lt;N&gt;?yexit    K6(su)-&amp;gt;  K6(su)-&amp;gt;&lt;/N&gt;</description>
      <pubDate>Fri, 25 Oct 2013 17:51:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9512#M540</guid>
      <dc:creator>Jeff_Creek</dc:creator>
      <dc:date>2013-10-25T17:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Answering prompts in command scripts</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9513#M541</link>
      <description>Hi Jeff,  Maybe you can give us a little bit of commentary here.  What exactly is the problem you are trying to resolve?</description>
      <pubDate>Fri, 25 Oct 2013 20:06:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9513#M541</guid>
      <dc:creator>Tamera_Rousseau</dc:creator>
      <dc:date>2013-10-25T20:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Answering prompts in command scripts</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9514#M542</link>
      <description>I am attempting to cancel a scheduled reset on several switches.  I am assuming that in attempting to do anything else that asks for a y/n answer would have the same issue.</description>
      <pubDate>Fri, 25 Oct 2013 22:17:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9514#M542</guid>
      <dc:creator>Jeff_Creek</dc:creator>
      <dc:date>2013-10-25T22:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: Answering prompts in command scripts</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9515#M543</link>
      <description>Hi Jeff,    Try this:    set length 0   reset cancel   y  show reset   exit     Result:  SSA-&amp;gt;reset cancel   This command will cancel 1 scheduled reset.  Do you want to continue (y/n) &lt;N&gt;?y  Reset cancelled.    SSA(su)-&amp;gt;show reset   No Reset scheduled    SSA(su)-&amp;gt;exit         By putting the different commands on different lines I believe it implied a newline at the end.&lt;/N&gt;</description>
      <pubDate>Fri, 25 Oct 2013 23:44:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9515#M543</guid>
      <dc:creator>TylerMarcotte</dc:creator>
      <dc:date>2013-10-25T23:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: Answering prompts in command scripts</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9516#M544</link>
      <description>That works.  I don't know why I did not try that.    Thanks!</description>
      <pubDate>Fri, 25 Oct 2013 23:53:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/answering-prompts-in-command-scripts/m-p/9516#M544</guid>
      <dc:creator>Jeff_Creek</dc:creator>
      <dc:date>2013-10-25T23:53:00Z</dc:date>
    </item>
  </channel>
</rss>

