Download URL Method

ExtremeXOS 21.1 provides an enhancement to the download CLI command so that it now accepts a URL as the name of the file to download.
Note

Note

This feature is not available unless you are currently running ExtremeXOS 21.1 or later.

URL protocols can be TFTP, HTTP, or anonymous FTP. The format of a URL is:

In addition to accepting a URL that ends in .xos or .xmod, the URL filename can now end in .lst.

A .lst file contains filenames at the same location as the .lst file URL and will be downloaded, and then installed one after the other. The .lst file method can define bundles of downloads for:

The .lst file allows you to download .xos, .xmods, and other files at the same time. Once downloaded as a list, simply reboot and the files become active. This feature allows for better organization of downloads across switches.

Click to expand in new window

All of the filenames in any .lst must be available at the same URL path provided in the download command.

Any .xos and .xmod files are installed to the inactive partition.

For any other file types, the /usr/local/cfg directory is used.

See the following for an example of .lst files

Example

An HTTP server on 10.68.9.7 for directory 16.1/xxxx/xxxx/release:

This example shows how the .lst file can contain filenames ending in .lst to get a list of lists (of lists etc…)

cat big.lst – big.lst contains other list file names

xos.lst

xmod.lst

script.lst

cat xos.lst – xos.lst contains an ExtremeXOS image

summitX-16.1.0.18.xos

cat xmod.lst – xmod.lst contains a number of .xmod filenames

summitX-16.1.0.18-debug.xmod

summitX-16.1.0.18-LegacyCLI.xmod

summitX-16.1.0.18-reachnxt-1.8.1.8.xmod

summitX-16.1.0.18-techSupport.xmod

cat script.lst – script.lst contains a number of python scripts the user wants to download to a switch

jsonrpc.py

jsontest.py

otst.py

ping.py

readvr.py

A single download command downloads all of the above files. Example uses big.lst:

X460G2-24t-10G4.1 # download url http://10.68.9.7/big.lst
http://10.68.9.7/xos.lst 
Downloading http://10.68.9.7/summitX-16.1.0.18.xos

Downloading to Switch...........................................................................................................................................
Installing to primary partition! 

Installing to Switch......................................................................................................................................................................................................
Image installed successfully
This image will be used only after rebooting the switch!

Image installed successfully
http://10.68.9.7:8080/xmod.lst
Downloading http://10.68.9.7/summitX-16.1.0.18-debug.xmod 

Downloading to Switch.....
Installing to primary partition! 

Installing to Switch..............................................
Image installed successfully
Downloading http://10.68.9.7/summitX-16.1.0.18-LegacyCLI.xmod 

Downloading to Switch..
Installing to primary partition!

Installing to Switch........................
Legacy CLI framework was Successfully Installed !!!

Image installed successfully
Downloading http://10.68.9.7/summitX-16.1.0.18-reachnxt-1.8.1.8.xmod

Downloading to Switch...
Installing to primary partition!

Installing to Switch....
Image installed successfully
Downloading http://10.68.9.7/summitX-16.1.0.18-techSupport.xmod

Downloading to Switch..
Installing to primary partition!

Installing to Switch..
Image installed successfully
http://10.68.9.7/script.lst
http://10.68.9.7/jsonrpc.py
http://10.68.9.7/jsontest.py
http://10.68.9.7/otst.py
http://10.68.9.7/ping.py
http://10.68.9.7/readvr.py
(pacman debug) X460G2-24t-10G4.2 #