23. Software Upgrade and Reboot OptionsMN700004 Rev 01 279saving the current configuration to the NVRAM. When used without arguments, thecommand functions as the reload save command.When you use the reload command, the software requests confirmation before it closes down.Command Syntaxdevice-name#reload [save|no-save]Argument Descriptionsave (Optional). Save the running configuration definitions. This is the default.no-save Do not save the running configuration definitions.Examples1. Saving the current configuration and rebooting the switch (the save keyword is optional):device-name#reload savesave current configuration and reboot the switch ? [y/n]: yRebooting ...2. Rebooting the switch without saving the current configuration:device-name#reload no-saveProceed with reload ? [y/n] : yRebooting ...reload to-defaultsThe reload to-defaults command, in Privileged (Enable) mode, resets the switch to itsfactory-default configuration and reboots it.Command Syntaxdevice-name#reload to-defaultsboot modeThe boot-mode command, in Global Configuration mode, sets the boot mode to primary,secondary or auto.By default, the boot mode is primary.Command Syntaxdevice-name(config)# boot-mode (primary|secondary|auto)Argument Descriptionprimary Boots the image from the first flashsecondary Boots the image from the secondary flash