To clone within a stack by running the clone.py script directly, on the master switch, enter the command:
run script clone.py slot slotlist
Where slotlist can be any number of valid slot positions separated with commas, or all. For example, run script clone.py slot 1,2,3
+++++++++++++++++++++++++++++++++++++++++++++++++++++++ + C A U T I O N + + Cloning will erase all contents on these slots: + + 1,3,4,5,6,7,8 + + The switch contents of this stacking master + + will replace the contents of these switches + +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to continue cloning? [y/N]: y Cloning slot 1 started ........................................ Slot 1 cloning COMPLETE Cloning slot 3 started ......................................................... Slot 3 cloning COMPLETE Cloning slot 4 started ........................................................... Slot 4 cloning COMPLETE Cloning slot 5 started ............................................................ Slot 5 cloning COMPLETE Cloning slot 6 started ........................................................... Slot 6 cloning COMPLETE Cloning slot 7 started .......................................................... Slot 7 cloning COMPLETE Cloning slot 8 started ................................................ Slot 8 cloning COMPLETE
Cloning stack master. DO NOT REBOOT OR POWER CYCLE this switch Starting cloning process Transfering EXOS partitions and configuration Transferring active EXOS partition......... Updating active partition ........................ Transferring inactive EXOS partition................ Transferring /usr/local/cfg directory...... Transfering NVRAM information from master switch Transfering control information from master switch Rebooting to master switch configuration You may need to adjust any IP addresses that may have been copied from the master switch ************************ * Cloning COMPLETE * ************************ Rebooting ... reboot: Restarting system

Note

Note
In mixed stacks containing both standard 5320 switches and 5320-16P-2MXT-2X switches, automatic image upgrades between model types are not supported. If a mismatch is detected, the system will display a warning and skip the upgrade. Similarly, when adding a 5320-16P-2MXT-2X switch to a mixed stack that includes 5520 or 5420 switches, automatic image upgrade for the 5320-16P-2MXT-2X is not supported.
To proceed, manually upgrade the image on the affected switch using the download image CLI command.

Note
In version 33.3.1 and earlier, the clone script used by ZTPStack and sync slot did not support downgrades from 33.4.1. To enable downgrade functionality:
Once loaded, both ZTPStack and sync slot will perform the downgrade correctly.