For the static case (where the URLs for the configuration and image files are not supplied by DHCP), the URLs can be specified using the CLI, SNMP or Applet. Use the CLI to define the expected firmware image version. If the image version is not specified, derive it from the file name. If it can not be derived from the filename, the system will attempt to load something other than what it is currently running.
Configuration files are tracked by their MD5 checksum. If a file is renamed, it will still have the same md5 sum. Once a file has been loaded it will not be reloaded, even if the local configuration information is changed.
The requested image file version (if any) is checked against the current version before any attempt is made to load it. If the requested version is the same as the running version, no action is taken. If the image file version (embedded in the file header) does not match the expected version, no further action is taken. If the version has not been specified, the image file header is compared to the local version. If they are the same, no action is taken.
NOTE: Once the system has been operating for ten minutes, Auto Install is disabled, though it may still be reconfigured. This is to prevent the system from attempting to re- install each time a DHCP lease is renewed.
Configuring Auto Install via the CLI
There are three compulsory and four optional configuration parameters.
The compulsory parameters are:
•configuration upgrade enable
•cluster configuration upgrade enable
•image upgrade enable
Optional (only for the static case):
•configuration file URL
•cluster configuration file URL
•image file URL
•expected image version
To set default to no, and the URLs and the version default to "" (blank):
WS5100(config)#show autoinstall
feature | enabled | URL |
config | no | |
cluster cfg | no | |
image | no | |
expected image version |
Enables are set using the autoinstall <feature> command:
WS5100>en
WS5100#conf t
WS5100(config)#autoinstall image
WS5100(config)#autoinstall config
WS5100(config)#autoinstall