Network Architecture & Design

  • 1.  Download Script via TFTP on Extreme Switches does not work

    Posted 12-18-2013 17:06
    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.
    Where is the script located to edit it ?


  • 2.  RE: Download Script via TFTP on Extreme Switches does not work

    Posted 12-18-2013 20:39
    Hello,
    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:

    /NetSight_Install_Path/NetSight/appdata/InventoryMgr/properties/devicefiles

    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:

    separator=WINDOWS_FILE_SEPARATOR
    to
    separator=UNIX_FILE_SEPARATOR

    There is no need to restart the server after you create the file. Once complete just select the new script.

    Here is a sample script that you can modify the include the needed change:

    -- Sample Extreme script
    name="New Extreme - TFTP"
    desc="New Extreme SSH/TFTP Scripts"
    separator=WINDOWS_FILE_SEPARATOR
    -------BEGIN SCRIPT "Configuration Upload"-----
    upload configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH%
    @receive 20
    exit
    -----END SCRIPT-----
    -----BEGIN SCRIPT "Configuration Download"-----
    download configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH%
    @key n
    @receive 20
    exit
    -----END SCRIPT-----
    -----BEGIN SCRIPT "Firmware Download"-----
    download image %TFTP_IP% %RELATIVE_TARGET_FILE_PATH% primary
    @key y
    @receive 60
    exit
    -----END SCRIPT-----
    -----BEGIN SCRIPT "Reset"-----
    reboot
    y
    -----END SCRIPT-----


  • 3.  RE: Download Script via TFTP on Extreme Switches does not work

    Posted 02-26-2014 16:41

    Just one addition to this script:

    I believe that the switch will use the Management interface and VR as its source for the TFTP push by default.

    If you do not have the management port connected, you can modify the script above to use the VR-Default interface (note change)

    You may also need to change the download scripts as well

    -- Sample Extreme script
    name="New Extreme - TFTP"
    desc="New Extreme SSH/TFTP Scripts"
    separator=WINDOWS_FILE_SEPARATOR
    -------BEGIN SCRIPT "Configuration Upload"-----
    upload configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH% vr "VR-Default"
    @receive 20
    exit
    -----END SCRIPT-----
    -----BEGIN SCRIPT "Configuration Download"-----
    download configuration %TFTP_IP% %RELATIVE_TARGET_FILE_PATH%
    @key n
    @receive 20
    exit
    -----END SCRIPT-----
    -----BEGIN SCRIPT "Firmware Download"-----
    download image %TFTP_IP% %RELATIVE_TARGET_FILE_PATH% primary
    @key y
    @receive 60
    exit
    -----END SCRIPT-----
    -----BEGIN SCRIPT "Reset"-----
    reboot
    y
    -----END SCRIPT-----