To use USB Zero Touch Provisioning (ZTP):
run script clone.py usb –o
run script clone.py usb –o -e
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Clone EXOS partitions on this switch to the file: + + /usr/local/ext/xos1405G-00125_2017-01-21_1757.cln + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to continue cloning? [y/N]: y ...................................... -rwxr-xr-x 1 root root 453981696 Jan 21 17:58 /usr/local/ext/xos1405G-00125_2017-01-21_1757.cln 1K-blocks Used Available Use% 7958912 443428 7515484 6% ************************ * Cloning COMPLETE * ************************
Skip Step 2.
Note
Use the command run script clone.py usb -v filename to view the ExtremeXOS versions that are in the file. For example:# run script clone.py usb -v xos1405G-00125_2017-01-21_1757.cln File: /usr/local/ext/xos1405G-00125_2017-01-21_1757.cln Contains: EXOS: 22.2.0.38 EXOS: 22.3.0.7
run script clone.py usb -i xos1405G-00125_2017-01-21_1757.cln
The following appears:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + C A U T I O N + + Cloning will replace the EXOS partitions and configuration + + on this switch with the contents of the usb file + + /usr/local/ext/xos1405G-00125_2017-01-21_1757.cln + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to continue cloning? [y/N]: y DO NOT REMOVE POWER or REBOOT the switch until the operation is COMPLETE Switch will reboot when cloning is COMPLETE Transferring /usr/local/cfg directory ... Transferring inactive EXOS partition ........... Transferring active EXOS partition .............. **************************** * USB Cloning COMPLETE * **************************** ...reboot: Restarting system
Files found on the USB drive are processed in the following order:
Note
When a configuration file is present, some processing is deferred until after reboot by using the ExtremeXOS autoexec.xsf capability. The deferred actions are: