<?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: Calling Variable in XOS 15.X in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/calling-variable-in-xos-15-x/m-p/18933#M4</link>
    <description>Create Date: Aug 23 2012  9:36AM&lt;BR /&gt;
&lt;BR /&gt;
&lt;UL&gt;    Make sure vlan200 is tagged     Put quotes around set var uplink "1:48"    Try referencing the variable with $(uplink) instead of $uplink. This helps when a variable has a special character in it. &lt;/UL&gt;
Hope this helps.  (from john_padilla)</description>
    <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
    <dc:creator>EtherNation_Use</dc:creator>
    <dc:date>2014-01-08T05:50:00Z</dc:date>
    <item>
      <title>Calling Variable in XOS 15.X</title>
      <link>https://community.extremenetworks.com/t5/scripting/calling-variable-in-xos-15-x/m-p/18932#M3</link>
      <description>Create Date: Aug 23 2012  9:24AM&lt;BR /&gt;
&lt;BR /&gt;
I am trying to set a variable to a port number (or range) and apply the variable when configuring a vlan:&lt;BR /&gt;
&lt;BR /&gt;
set var uplink 1:48&lt;BR /&gt;
config vlan vlan200 add port $uplink tag&lt;BR /&gt;
&lt;BR /&gt;
I can see that the variable gets created and is correctly '1:48', however the config vlan command fails with the ^ pointing at the 'u' in uplink.&lt;BR /&gt;
&lt;BR /&gt;
I am just using the scripting basics guide as my reference (they do this using $count to assign a vlan to a port), has the variable call changed in 15.X or am i simply doing something wrong / unsupported?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.&lt;BR /&gt;
  (from Nick_Lindhag)</description>
      <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/calling-variable-in-xos-15-x/m-p/18932#M3</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Calling Variable in XOS 15.X</title>
      <link>https://community.extremenetworks.com/t5/scripting/calling-variable-in-xos-15-x/m-p/18933#M4</link>
      <description>Create Date: Aug 23 2012  9:36AM&lt;BR /&gt;
&lt;BR /&gt;
&lt;UL&gt;    Make sure vlan200 is tagged     Put quotes around set var uplink "1:48"    Try referencing the variable with $(uplink) instead of $uplink. This helps when a variable has a special character in it. &lt;/UL&gt;
Hope this helps.  (from john_padilla)</description>
      <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/calling-variable-in-xos-15-x/m-p/18933#M4</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Calling Variable in XOS 15.X</title>
      <link>https://community.extremenetworks.com/t5/scripting/calling-variable-in-xos-15-x/m-p/18934#M5</link>
      <description>Create Date: Aug 23 2012  9:46AM&lt;BR /&gt;
&lt;BR /&gt;
Thank you for the response, i have this working now.  My issue was very noob . I wrote the script to be used after we have enabled stacking but was testing on a new switch (stacking was not yet enabled).  I found this out by removing my "1:" and the command worked.&lt;BR /&gt;
&lt;BR /&gt;
  (from Nick_Lindhag)</description>
      <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/calling-variable-in-xos-15-x/m-p/18934#M5</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:50:00Z</dc:date>
    </item>
  </channel>
</rss>

