AutoInstall commands

Use these M4500 CLI commands to configure AutoInstall so the switch automatically downloads configuration and image files, and to display AutoInstall status.

show autoinstall

This command displays the current status of the AutoInstall process.

Default None
Format show autoinstall
Mode Privileged Exec

Display Message

Parameter Definition
AutoInstall Operation Displays the autoinstall operation is started or stoped.
AutoInstall Persistent Mode Displays the autoinstall persistently for next reboot cycle.
AutoSave Mode Displays the auto-save of downloaded configuration.
AutoReboot Mode Displays the auto-reboot, which is used to allow the switch to automatically reboot after successfully downloading an image.
AutoUpgrade Mode Displays the upgrade mode, which is used to allow to download the newer image.
AutoInstall Retry Count Retry Count The number of times the switch has attempted to contact the TFTP server during the current AutoInstall session.
AutoInstall State Displays the status of autoinstall.

boot-system autoinstall

Use this command to operationally start or stop the AutoInstall process on the switch. The command is non-persistent and is not saved in the startup or running configuration file.

Default None
Format boot-system autoinstall { start | stop }
Mode Privileged Exec

boot-system host autoinstall

Use this command to enable AutoInstall on the switch for the next reboot cycle. The command does not change the current behavior of AutoInstall and saves the command to NVRAM.

Default None
Format boot-system host autoinstall
Mode Privileged Exec

no boot-system host autoinstall

Use this command to disable AutoInstall for the next reboot cycle.

Format no boot-system host autoinstall
Mode Privileged Exec

boot-system host autosave

Use this command to automatically save the downloaded configuration file to the startup-config file on the switch. When autosave is disabled, you must explicitly save the downloaded configuration to non-volatile memory. If the switch reboots and the downloaded configuration has not been saved, the AutoInstall process begins, if the feature is enabled.

Default None
Format boot-system host autosave
Mode Privileged Exec

no boot-system host autosave

Use this command to disable automatically saving the downloaded configuration on the switch.

Format no boot-system host autosave
Mode Privileged Exec

boot-system host autoreboot

Use this command to allow the switch to automatically reboot after successfully downloading an image. When auto reboot is enabled, no administrative action is required to activate the image and reload the switch.

This command only work on the autoupgrade is enabled.

Default None
Format boot-system host autoreboot
Mode Privileged Exec

no boot-system host autoreboot

Use this command to prevent the switch from automatically rebooting after the image is downloaded by using the AutoInstall feature.

Format no boot-system host autoreboot
Mode Privileged Exec

boot-system host upgrade

Use this command to allow the switch only to upgrade the newer image version.

Default None
Format boot-system host upgrade
Mode Privileged Exec

no boot-system host upgrade

Use this command to disable this function.

Format no boot-system host upgrade
Mode Privileged Exec

boot-system host retrycount

Use this command to set the number of attempts to download a configuration file from the TFTP server.

Default 3
Format boot-system host retrycount <1-3>
Mode Privileged Exec