<?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: EXOS Authentication Script Error in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/exos-authentication-script-error/m-p/100084#M10161</link>
    <description>&lt;P&gt;I assume you are using the Authentication_EXOS script found on our public GitHub scripting repository&amp;nbsp;@&amp;nbsp;&lt;A href="https://github.com/extremenetworks/ExtremeScripting/blob/master/XMC_XIQ-SE/oneview_CLI_scripts/xml/Authentication_EXOS.xml" target="_blank"&gt;https://github.com/extremenetworks/ExtremeScripting/blob/master/XMC_XIQ-SE/oneview_CLI_scripts/xml/Authentication_EXOS.xml&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The $deviceVR variable is not defined as you noted.&lt;/P&gt;&lt;P&gt;# @VariableFieldLabel (description = "VR")&lt;BR /&gt;set var deviceVR "vr-default"&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;# @VariableFieldLabel (description = "VR", validValues = [vr-mgmt,vr-default])&lt;BR /&gt;set var deviceVR "vr-default"&lt;/P&gt;&lt;P&gt;So that when you execute the script you can populate / choose the VR you want and it'll default to whatever you prefer.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2024 18:02:22 GMT</pubDate>
    <dc:creator>Robert_Haynes</dc:creator>
    <dc:date>2024-04-22T18:02:22Z</dc:date>
    <item>
      <title>EXOS Authentication Script Error</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/exos-authentication-script-error/m-p/100071#M10158</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When I run the EXOS Authentication script against my EXOS switches I get an error when configuring the RADIUS server because it tries to use VR-Mgmt but the management IP is set for the default VLAN in virtual router VR-Default. It uses a variable for VR based on the $vendor returned so can only assume it is getting VR-Mgmt in response. I checked with another script to check the EMC_VARS and the value for vendor is "Extreme". The value for $deviceVR is nothing.&lt;/P&gt;&lt;P&gt;################################################################################&lt;BR /&gt;# Here starts the main procedure&lt;BR /&gt;################################################################################&lt;/P&gt;&lt;P&gt;IF ($vendor =="Extreme" ) THEN&lt;/P&gt;&lt;P&gt;set VR $deviceVR&lt;BR /&gt;IF ($VR == "") THEN&lt;BR /&gt;set VR "vr-mgmt"&lt;BR /&gt;ENDIF&lt;BR /&gt;IF ($Radius1 != "") THEN&lt;BR /&gt;puts "### Lets configure primary radius server. ###"&lt;BR /&gt;CLI configure radius netlogin 1 server $Radius1 1812 client-ip $deviceIP vr $VR shared-secret $SharedSecret&lt;BR /&gt;regexp {.*Invalid input detected at.*} ${CLI.OUT} foundWarning3&lt;BR /&gt;IF ([info exists foundWarning3]) THEN&lt;BR /&gt;puts "### Ok the old way. ###"&lt;BR /&gt;CLI configure radius netlogin primary server $Radius1 1812 client-ip $deviceIP vr $VR&lt;BR /&gt;CLI configure radius netlogin primary shared-secret $SharedSecret&lt;BR /&gt;ENDIF&lt;/P&gt;&lt;P&gt;If the script cannot work for this part we may have to apply the RADIUS commands separately as a workaround which is fine but would like the script to handle it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error message:&lt;/P&gt;&lt;P&gt;* EXOS-VM.1 # configure radius netlogin 1 server 11.11.11.250 1812 client-ip 10.10.10.10 vr vr-mgmt shared-secret secret&lt;BR /&gt;Note: Shared secrets created with this version of software are not compatible with version 21.x and earlier.&lt;BR /&gt;Error: IP address 10.10.10.10 is not configured in virtual router "VR-Mgmt" for server 1.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 13:53:18 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/exos-authentication-script-error/m-p/100071#M10158</guid>
      <dc:creator>RobertD1</dc:creator>
      <dc:date>2024-04-19T13:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: EXOS Authentication Script Error</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/exos-authentication-script-error/m-p/100072#M10159</link>
      <description>&lt;P&gt;I have altered the script because the value for $deviceVR is null so even though it is branching to use vr-mgmt I make sure it uses the right VR.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IF ($VR == "") THEN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#set VR "vr-mgmt"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set VR "vr-default"&lt;BR /&gt;&lt;SPAN&gt;ENDIF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 14:39:06 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/exos-authentication-script-error/m-p/100072#M10159</guid>
      <dc:creator>RobertD1</dc:creator>
      <dc:date>2024-04-19T14:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: EXOS Authentication Script Error</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/exos-authentication-script-error/m-p/100084#M10161</link>
      <description>&lt;P&gt;I assume you are using the Authentication_EXOS script found on our public GitHub scripting repository&amp;nbsp;@&amp;nbsp;&lt;A href="https://github.com/extremenetworks/ExtremeScripting/blob/master/XMC_XIQ-SE/oneview_CLI_scripts/xml/Authentication_EXOS.xml" target="_blank"&gt;https://github.com/extremenetworks/ExtremeScripting/blob/master/XMC_XIQ-SE/oneview_CLI_scripts/xml/Authentication_EXOS.xml&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The $deviceVR variable is not defined as you noted.&lt;/P&gt;&lt;P&gt;# @VariableFieldLabel (description = "VR")&lt;BR /&gt;set var deviceVR "vr-default"&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;# @VariableFieldLabel (description = "VR", validValues = [vr-mgmt,vr-default])&lt;BR /&gt;set var deviceVR "vr-default"&lt;/P&gt;&lt;P&gt;So that when you execute the script you can populate / choose the VR you want and it'll default to whatever you prefer.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 18:02:22 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/exos-authentication-script-error/m-p/100084#M10161</guid>
      <dc:creator>Robert_Haynes</dc:creator>
      <dc:date>2024-04-22T18:02:22Z</dc:date>
    </item>
  </channel>
</rss>

