Reset Search
 

 

Article

Firmware Upgrade Fails for EXOS Switches Using TFTP or SCP via Extreme Management Center

« Go Back

Information

 
TitleFirmware Upgrade Fails for EXOS Switches Using TFTP or SCP via Extreme Management Center
Symptoms
  • TFTP scripts complete successfully, whereas SCP scripts do not.
  • TFTP scripts timeout during execution.
  • Error:  Error Downloading Firmware
Environment
  • Extreme Management Center (XMC, formerly NetSight)
  • Inventory Manager
  • Firmware
  • Scripts
Cause
A preset timeout value in the script is either not waiting long enough for the image transfer and validation to complete, OR the timeout directive is not handling the prompts returned during script execution to further script processing.
Resolution
The following workaround is available where timeouts or script modification may be required.

To create a new script use the following GTAC KB Inventory Manager unable to backup XOS switch as a reference.
  1. Obtain a copy of the appropriate script to modify.
  2. Using any editor, open and locate the header '-----BEGIN SCRIPT "Firmware Download"-----'.
  3. Change the following line
from     : @RECEIVEUNTIL 360 ".*#"
to         : @RECEIVEUNTIL 360 ".*#.*"
  1. Save the file.
  2. Upload the file to the modified device scripts directory (see below).
  3. Restart Extreme Management Center "service nsserver restart".
  4. Assign the new script to applicable devices.

NOTE: The timeout can be tuned lower or higher for any deployment.

NOTE: In software releases prior to 8.0.4.54, the TFTP and SCP scripts default timeout was too short. It is recommended to upgrade Extreme Management Center to avoid this legacy issue. To similarly work around this issue use the procedure above however:
  1. Change the following line
from     : @COMMANDDONE 40
to         : @RECEIVEUNTIL 360 ".*#.*"
Additional notes
The default install paths for XMC are:
Linux              /usr/local/Extreme_Networks/NetSight
Windows        C:\Program Files\Extreme Networks\NetSight

The location for default device scripts is:
<install_path>/wildfly/standalone/deployments/Monitor.war/WEB-INF/classes/com/ets/netsight/inv/server/Resources/devicefiles/

The location for modified device scripts is:
<install_path>/appdata/InventoryMgr/properties/devicefiles

The following are the default scripts for EXOS:
-rw-r--r-- 1 root root  6384 Jul 18 18:21 ExtremeTftp.txt
-rw-r--r-- 1 root root  7452 Jul 18 18:21 ExtremeVrDefaultScp.txt
-rw-r--r-- 1 root root    69 Jul 18 18:21 ExtremeVrDefaultTftp.txt
-rw-r--r-- 1 root root  7016 Jul 18 18:21 ExtremeVrMgmtScp.txt
-rw-r--r-- 1 root root  6387 Jul 18 18:21 ExtremeVrMgmtTftp.txt

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255