<?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: EMC 8.1  adding  vlan to EAPS domain script fails on  EXOS switch version 12.4 in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19445#M908</link>
    <description>Zdenek,&lt;BR /&gt;
&lt;BR /&gt;
I will update the script and provide feed back if this fixes my issue, thanks.</description>
    <pubDate>Sat, 27 Jan 2018 05:21:00 GMT</pubDate>
    <dc:creator>Tiburcio_Jr_Cor</dc:creator>
    <dc:date>2018-01-27T05:21:00Z</dc:date>
    <item>
      <title>EMC 8.1  adding  vlan to EAPS domain script fails on  EXOS switch version 12.4</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19442#M905</link>
      <description>Our company has in production Netsight 7.1.3.25 we have over 70 EAPS scripts in use and working as designed. Currently, I have recently  installed  EMC 8.1.0.52 on new VM, I have started mirroring the scripts that I have in Netsight 7 to EMC 8.1 and noticed when I tested the script my vlan does not get configured on older exos switches (12.4.) My questions is, is this a known issue or is there a workaround? Below is an example of the error and the Script I used. &lt;BR /&gt;
&lt;BR /&gt;
EMC User: tcoronado&lt;BR /&gt;
EMC User Domain: &lt;BR /&gt;
CLI Login: r00t&lt;BR /&gt;
X480-24x_COH_HEC_W    192.168.2.2    2018-01-25 at 09:40:38 CST&lt;BR /&gt;
create vman plw_vman_test_tibo_fannin_996&lt;BR /&gt;
* X480-24x_COH_HEC_W.2 # &lt;BR /&gt;
config vman plw_vman_test_tibo_fannin_996 tag 996&lt;BR /&gt;
* X480-24x_COH_HEC_W.3 # &lt;BR /&gt;
disable igmp snooping vlan plw_vman_test_tibo_fannin_996&lt;BR /&gt;
* X480-24x_COH_HEC_W.4 # &lt;BR /&gt;
config eaps ch46_coh_fan_hec_ring add protected plw_vman_test_tibo_fannin_996&lt;BR /&gt;
WARNING: Primary port [25] is not added to vlan "plw_vman_test_tibo_fannin_996", EAPS="ch46_coh_fan_hec_ring"&lt;BR /&gt;
WARNING: Secondary port [26] is not added to vlan "plw_vman_test_tibo_fannin_996", EAPS="ch46_coh_fan_hec_ring"&lt;BR /&gt;
&lt;BR /&gt;
* X480-24x_COH_HEC_W.5 # &lt;BR /&gt;
Error: timeout waiting for data&lt;BR /&gt;
&lt;BR /&gt;
-----------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
#@MetaDataStart&lt;BR /&gt;
#@DetailDescriptionStart&lt;BR /&gt;
##############################################################################&lt;BR /&gt;
# Purpose       : Example script to showcase how to declare a parameter and use it&lt;BR /&gt;
##############################################################################&lt;BR /&gt;
#@DetailDescriptionEnd&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; (description = "circuit Name",&lt;BR /&gt;
#      type        = String,&lt;BR /&gt;
#     scope       = global,&lt;BR /&gt;
#      required    = yes&lt;BR /&gt;
#    )&lt;BR /&gt;
set var vlanname ""&lt;BR /&gt;
#&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; (description   = "circuit Tag", type = String,&lt;BR /&gt;
#      scope         = global,&lt;BR /&gt;
#      required    = yes&lt;BR /&gt;
#    )&lt;BR /&gt;
set var vlannametag ""&lt;BR /&gt;
# Parameter that can take values only from the given list of valid values&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; (description = "Please choose correct service:", validValues = [vman, vlan])&lt;BR /&gt;
set var foo2 vman &lt;BR /&gt;
#@MetaDataEnd&lt;BR /&gt;
# Enter all CLI commands from here     &lt;BR /&gt;
&lt;BR /&gt;
if {[string equal $foo2 "vman"]} {&lt;BR /&gt;
&lt;BR /&gt;
create vman $vlanname&lt;BR /&gt;
config vman $vlanname tag $vlannametag&lt;BR /&gt;
disable igmp snooping vlan $vlanname&lt;BR /&gt;
config ch46_coh_fan_hec_ring add protected $vlanname      &lt;BR /&gt;
config $vlanname add port $port tagged    &lt;BR /&gt;
regexp {.*could cause a loop.*} ${CLI.OUT} foundit&lt;BR /&gt;
IF ([info exists foundit]) THEN&lt;BR /&gt;
    CLI y&lt;BR /&gt;
ENDIF &lt;BR /&gt;
&lt;BR /&gt;
else&lt;BR /&gt;
&lt;BR /&gt;
create vlan $vlanname&lt;BR /&gt;
config vlan $vlanname tag $vlannametag&lt;BR /&gt;
disable igmp snooping vlan $vlanname&lt;BR /&gt;
config ch46_coh_fan_hec_ring add protected $vlanname      &lt;BR /&gt;
config $vlanname add port $port tagged    &lt;BR /&gt;
regexp {.*Adding EAPS ring ports to a VLAN could cause a loop.*} ${CLI.OUT} foundit&lt;BR /&gt;
IF ([info exists foundit]) THEN&lt;BR /&gt;
   CLI y&lt;BR /&gt;
ENDIF &lt;BR /&gt;
&lt;BR /&gt;
}&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jan 2018 21:37:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19442#M905</guid>
      <dc:creator>Tiburcio_Jr_Cor</dc:creator>
      <dc:date>2018-01-26T21:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: EMC 8.1  adding  vlan to EAPS domain script fails on  EXOS switch version 12.4</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19443#M906</link>
      <description>Hi Tiburcio,&lt;BR /&gt;
&lt;BR /&gt;
Please keep in mind that EXOS 12.4 and XMC aren't compatible. The current recommended version for the X480 is 16.2.4.5. Upgrading may resolve your issue.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Brad&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jan 2018 23:12:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19443#M906</guid>
      <dc:creator>BradP</dc:creator>
      <dc:date>2018-01-26T23:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: EMC 8.1  adding  vlan to EAPS domain script fails on  EXOS switch version 12.4</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19444#M907</link>
      <description>Hi Tiburcio,&lt;BR /&gt;
I guess the issue is that XOS is asking for some confirmation what the scripting engine is not aware of (as it is quite old firmware, the testing was not done), while the XMC is waiting for prompt.&lt;BR /&gt;
&lt;BR /&gt;
Can you please check the CLI output from the switch?&lt;BR /&gt;
the construct: &lt;BR /&gt;
&lt;BLOCKQUOTE&gt;regexp {.*could cause a loop.*} ${CLI.OUT} foundit&lt;BR /&gt;
IF ([info exists foundit]) THEN&lt;BR /&gt;
    CLI y&lt;BR /&gt;
ENDIF &lt;/BLOCKQUOTE&gt;does not work in version 8. You will need to tune CLIRules.xml or as you have XMC version 8.0.5+ you can use:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;CLI -nowait config $vlanname add port $port tagged&lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;Regards&lt;BR /&gt;
&lt;BR /&gt;
Z.</description>
      <pubDate>Sat, 27 Jan 2018 05:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19444#M907</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2018-01-27T05:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: EMC 8.1  adding  vlan to EAPS domain script fails on  EXOS switch version 12.4</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19445#M908</link>
      <description>Zdenek,&lt;BR /&gt;
&lt;BR /&gt;
I will update the script and provide feed back if this fixes my issue, thanks.</description>
      <pubDate>Sat, 27 Jan 2018 05:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19445#M908</guid>
      <dc:creator>Tiburcio_Jr_Cor</dc:creator>
      <dc:date>2018-01-27T05:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: EMC 8.1  adding  vlan to EAPS domain script fails on  EXOS switch version 12.4</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19446#M909</link>
      <description>Hi Tiburcio,&lt;BR /&gt;
not sure if that helps but the following command should remove warning messages when configuring EAPS [and the need to answer y/n] - which may solve your script issue all together?  &lt;BR /&gt;
&lt;BR /&gt;
configure eaps config-warnings off &lt;BR /&gt;
&lt;BR /&gt;
Thanks, JS&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Sat, 27 Jan 2018 05:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19446#M909</guid>
      <dc:creator>JS4</dc:creator>
      <dc:date>2018-01-27T05:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: EMC 8.1  adding  vlan to EAPS domain script fails on  EXOS switch version 12.4</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19447#M910</link>
      <description>Zdenek,&lt;BR /&gt;
&lt;BR /&gt;
I tried your suggestion and my vlan was not added to the ports in the eaps domain and JS your method had the same results as before.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Sat, 27 Jan 2018 05:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/emc-8-1-adding-vlan-to-eaps-domain-script-fails-on-exos-switch/m-p/19447#M910</guid>
      <dc:creator>Tiburcio_Jr_Cor</dc:creator>
      <dc:date>2018-01-27T05:21:00Z</dc:date>
    </item>
  </channel>
</rss>

