How to send XOS and CFG files using a script with the option 43
How to send a single file to switch during the ZTP process and execute the EXOS download and configuration file primary.cfg
Please create a notepad file with following contents.The extension of the file should be .xsf
enable log target console disable cli prompting tftp get <TFTP IP ADDRESS> vr "VR-Default" backup.cfg use configuration backup download image <TFTP IP ADDRESS> summitX-184.108.40.206.xos vr "VR-Default" save enable cli prompting disable log target console reboot
During ZTP (Auto provisioning) process switch will receive the DHCP option 43 along with the Code 101 (script1.xsf) Lets assume the file name is script1.xsf and is placed in the TFTP root folder so that the switch can download it during the ZTP process.
The VR-Mgmt should be specified in case the switch gets the DHCP IP via VR-Mgmt. The .xos file depends on the switch.