Motorola WS5100 manual Configuring Auto Install via the CLI

Models: WS5100

1 364
Download 364 pages 29.43 Kb
Page 40
Image 40
Configuring Auto Install via the CLI

2-6WS5100 Series Switch System Reference Guide

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

--not-set--

cluster cfg

no

--not-set--

image

no

--not-set--

expected image version

--not-set--

Enables are set using the autoinstall <feature> command:

WS5100>en

WS5100#conf t

WS5100(config)#autoinstall image

WS5100(config)#autoinstall config

WS5100(config)#autoinstall cluster-config

Page 40
Image 40
Motorola WS5100 manual Configuring Auto Install via the CLI