beautypg.com

The autoboot feature – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 143

background image

Creating and Managing Files

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

6.19

The Autoboot Feature

The Autoboot feature enables your switch to automatically load a specific release file and/
or configuration file from external media, such as USB storage device, into Flash memory,
providing there is enough free space available.

If there is not enough free space, the Autoboot feature will exit and booting will revert to
what was previously set by the CLI. This feature is enabled only the first time the device is
powered up in the field. Subsequently, the Autoboot feature is disabled by default.

The Autoboot feature minimizes network downtime by avoiding the need for manual
configuration of a replacement device.

If you use prepared external media for the first time boot, the Autoboot feature gives you
the ability to easily ensure the device boots with your desired release and configuration
files. You must prepare the external media for this purpose using an initiation file,
autoboot.txt

, and accompanying release and configuration files.

Use the

create autoboot

command to create an autoboot.txt file on external media.

This command will automatically ensure that the keys and values that are expected in this
file are correct. After the file is created the command will copy the current release and
configuration files across to the external media. The autoboot.txt file is read/writable
by any desktop operating system currently supported by the AlliedWare Plus™ Operating
System. Note that the external media file system is not case sensitive.

When the Autoboot feature is enabled, the device on boot-up:

checks for a special file called autoboot.txt on external media, and if this file
exists,

checks in the file for the “key=value” pair
“Copy_from_external_media_enabled=yes”, and if this enable flag is set,

loads the release file and/or configuration file from external media.

An example of a valid autoboot.txt file is shown in

Figure 6-1

below.

Figure 6-1: Example autoboot.txt file

; J Smith, x

310-26FP, 14 Jun 2014

[AlliedWare Plus]
Copy_from_external_media_enabled=yes

Boot_Release=x310-5.4.4C.rel
Boot_Config=network1.cfg