<?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: Download Script via TFTP on Extreme Switches does not work in Network Architecture &amp; Design</title>
    <link>https://community.extremenetworks.com/t5/network-architecture-design/download-script-via-tftp-on-extreme-switches-does-not-work/m-p/12735#M139</link>
    <description>Hello,&lt;BR /&gt;
You will not be able to see this particular script, but you can create another one with the needed commands.  You will need to create a new file that will contain the script information (name should not matter) on the NetSight server in the following location:&lt;BR /&gt;
&lt;BR /&gt;
/NetSight_Install_Path/NetSight/appdata/InventoryMgr/properties/devicefiles&lt;BR /&gt;
&lt;BR /&gt;
Note that detailed information on creating these is located in the NetSight docs unde the section  "How to Set Up Third-Party Device Support".  Please note that the script below assumes a Windows server.  If you are on a Linux server then change the line:&lt;BR /&gt;
&lt;BR /&gt;
separator=WINDOWS_FILE_SEPARATOR&lt;BR /&gt;
to&lt;BR /&gt;
separator=UNIX_FILE_SEPARATOR&lt;BR /&gt;
&lt;BR /&gt;
There is no need to restart the server after you create the file.  Once complete just select the new script.&lt;BR /&gt;
&lt;BR /&gt;
Here is a sample script that you can modify the include the needed change:&lt;BR /&gt;
&lt;BR /&gt;
-- Sample Extreme script&lt;BR /&gt;
name="New Extreme - TFTP"&lt;BR /&gt;
desc="New Extreme SSH/TFTP Scripts"&lt;BR /&gt;
separator=WINDOWS_FILE_SEPARATOR&lt;BR /&gt;
-------BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
upload configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH%&lt;BR /&gt;
@receive 20&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Download"-----&lt;BR /&gt;
download configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH%&lt;BR /&gt;
@key n&lt;BR /&gt;
@receive 20&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Firmware Download"-----&lt;BR /&gt;
download image %TFTP_IP% %RELATIVE_TARGET_FILE_PATH% primary&lt;BR /&gt;
@key y&lt;BR /&gt;
@receive 60&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Reset"-----&lt;BR /&gt;
reboot&lt;BR /&gt;
y&lt;BR /&gt;
-----END SCRIPT-----</description>
    <pubDate>Thu, 19 Dec 2013 04:39:00 GMT</pubDate>
    <dc:creator>Bob_Maheu</dc:creator>
    <dc:date>2013-12-19T04:39:00Z</dc:date>
    <item>
      <title>Download Script via TFTP on Extreme Switches does not work</title>
      <link>https://community.extremenetworks.com/t5/network-architecture-design/download-script-via-tftp-on-extreme-switches-does-not-work/m-p/12734#M138</link>
      <description>When trying to download an image to an XOS Switch via the Inventory Manager, the script does not issue the VR VR-Default (in this special case) part of the command.&lt;BR /&gt;
Where is the script located to edit it ?</description>
      <pubDate>Thu, 19 Dec 2013 01:06:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/network-architecture-design/download-script-via-tftp-on-extreme-switches-does-not-work/m-p/12734#M138</guid>
      <dc:creator>André_Herkenrat</dc:creator>
      <dc:date>2013-12-19T01:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Download Script via TFTP on Extreme Switches does not work</title>
      <link>https://community.extremenetworks.com/t5/network-architecture-design/download-script-via-tftp-on-extreme-switches-does-not-work/m-p/12735#M139</link>
      <description>Hello,&lt;BR /&gt;
You will not be able to see this particular script, but you can create another one with the needed commands.  You will need to create a new file that will contain the script information (name should not matter) on the NetSight server in the following location:&lt;BR /&gt;
&lt;BR /&gt;
/NetSight_Install_Path/NetSight/appdata/InventoryMgr/properties/devicefiles&lt;BR /&gt;
&lt;BR /&gt;
Note that detailed information on creating these is located in the NetSight docs unde the section  "How to Set Up Third-Party Device Support".  Please note that the script below assumes a Windows server.  If you are on a Linux server then change the line:&lt;BR /&gt;
&lt;BR /&gt;
separator=WINDOWS_FILE_SEPARATOR&lt;BR /&gt;
to&lt;BR /&gt;
separator=UNIX_FILE_SEPARATOR&lt;BR /&gt;
&lt;BR /&gt;
There is no need to restart the server after you create the file.  Once complete just select the new script.&lt;BR /&gt;
&lt;BR /&gt;
Here is a sample script that you can modify the include the needed change:&lt;BR /&gt;
&lt;BR /&gt;
-- Sample Extreme script&lt;BR /&gt;
name="New Extreme - TFTP"&lt;BR /&gt;
desc="New Extreme SSH/TFTP Scripts"&lt;BR /&gt;
separator=WINDOWS_FILE_SEPARATOR&lt;BR /&gt;
-------BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
upload configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH%&lt;BR /&gt;
@receive 20&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Download"-----&lt;BR /&gt;
download configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH%&lt;BR /&gt;
@key n&lt;BR /&gt;
@receive 20&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Firmware Download"-----&lt;BR /&gt;
download image %TFTP_IP% %RELATIVE_TARGET_FILE_PATH% primary&lt;BR /&gt;
@key y&lt;BR /&gt;
@receive 60&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Reset"-----&lt;BR /&gt;
reboot&lt;BR /&gt;
y&lt;BR /&gt;
-----END SCRIPT-----</description>
      <pubDate>Thu, 19 Dec 2013 04:39:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/network-architecture-design/download-script-via-tftp-on-extreme-switches-does-not-work/m-p/12735#M139</guid>
      <dc:creator>Bob_Maheu</dc:creator>
      <dc:date>2013-12-19T04:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Download Script via TFTP on Extreme Switches does not work</title>
      <link>https://community.extremenetworks.com/t5/network-architecture-design/download-script-via-tftp-on-extreme-switches-does-not-work/m-p/12736#M140</link>
      <description>&lt;BR /&gt;
Just one addition to this script:&lt;BR /&gt;
&lt;BR /&gt;
I believe that the switch will use the Management interface and VR as its source for the TFTP push by default.&lt;BR /&gt;
&lt;BR /&gt;
If you do not have the management port connected, you can modify the script above to use the VR-Default interface (note change)&lt;BR /&gt;
&lt;BR /&gt;
You may also need to change the download scripts as well&lt;BR /&gt;
&lt;BR /&gt;
-- Sample Extreme script&lt;BR /&gt;
name="New Extreme - TFTP"&lt;BR /&gt;
desc="New Extreme SSH/TFTP Scripts"&lt;BR /&gt;
separator=WINDOWS_FILE_SEPARATOR&lt;BR /&gt;
-------BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
upload configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH% &lt;B&gt;vr "VR-Default"&lt;/B&gt;&lt;BR /&gt;
@receive 20&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Download"-----&lt;BR /&gt;
download configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH%&lt;BR /&gt;
@key n&lt;BR /&gt;
@receive 20&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Firmware Download"-----&lt;BR /&gt;
download image %TFTP_IP% %RELATIVE_TARGET_FILE_PATH% primary&lt;BR /&gt;
@key y&lt;BR /&gt;
@receive 60&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Reset"-----&lt;BR /&gt;
reboot&lt;BR /&gt;
y&lt;BR /&gt;
-----END SCRIPT----- &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Feb 2014 00:41:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/network-architecture-design/download-script-via-tftp-on-extreme-switches-does-not-work/m-p/12736#M140</guid>
      <dc:creator>Schmotter__Ryan</dc:creator>
      <dc:date>2014-02-27T00:41:00Z</dc:date>
    </item>
  </channel>
</rss>

