<?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 Virtual Connect Command Line Scripting in BladeSystem - General</title>
    <link>https://community.hpe.com/t5/bladesystem-general/virtual-connect-command-line-scripting/m-p/5696253#M31461</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Reginald was looking for some VC scripting help:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*****************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Working with a customer in putting together some VC scripting to build out their enclosures unattended. I notice that the following command aborts even though it is set to expanded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - VC scripting command “set enet-vlan VlanCapacity=Expanded”&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even though we’re supplying a response to the variable, it still prompts for a response from the user. If I remove the command from the file it will execute all of the commands without an error. In doing so, I can set this value either through the GUI or CLI. Can someone explain as to why it is looking from a response from the user when I’m supplying a response?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*****************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reply from Dave:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I use VC scripting with a lot of site now. The key is to add ‘yes’ to the next line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VC scripting command “set enet-vlan VlanCapacity=Expanded”&lt;/P&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;### Next line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has worked for me.&lt;/P&gt;&lt;P&gt;If you do not add the yes, it will pick up the first command of the next line and then the next line and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And input from Steve:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Actually, use the –quiet switch…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set enet-vlan -quiet vlancapacity=expanded&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Page 25 of the FF CB - &lt;A target="_blank" href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02616817/c02616817.pdf"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02616817/c02616817.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Response from Reginald:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks to all that responded! Both suggestions worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*******************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any other comments?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jun 2012 19:59:04 GMT</pubDate>
    <dc:creator>chuckk281</dc:creator>
    <dc:date>2012-06-20T19:59:04Z</dc:date>
    <item>
      <title>Virtual Connect Command Line Scripting</title>
      <link>https://community.hpe.com/t5/bladesystem-general/virtual-connect-command-line-scripting/m-p/5696253#M31461</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Reginald was looking for some VC scripting help:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*****************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Working with a customer in putting together some VC scripting to build out their enclosures unattended. I notice that the following command aborts even though it is set to expanded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - VC scripting command “set enet-vlan VlanCapacity=Expanded”&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even though we’re supplying a response to the variable, it still prompts for a response from the user. If I remove the command from the file it will execute all of the commands without an error. In doing so, I can set this value either through the GUI or CLI. Can someone explain as to why it is looking from a response from the user when I’m supplying a response?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*****************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reply from Dave:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I use VC scripting with a lot of site now. The key is to add ‘yes’ to the next line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VC scripting command “set enet-vlan VlanCapacity=Expanded”&lt;/P&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;### Next line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has worked for me.&lt;/P&gt;&lt;P&gt;If you do not add the yes, it will pick up the first command of the next line and then the next line and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And input from Steve:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Actually, use the –quiet switch…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set enet-vlan -quiet vlancapacity=expanded&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Page 25 of the FF CB - &lt;A target="_blank" href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02616817/c02616817.pdf"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02616817/c02616817.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Response from Reginald:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks to all that responded! Both suggestions worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*******************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any other comments?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2012 19:59:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/virtual-connect-command-line-scripting/m-p/5696253#M31461</guid>
      <dc:creator>chuckk281</dc:creator>
      <dc:date>2012-06-20T19:59:04Z</dc:date>
    </item>
  </channel>
</rss>

