4 boot startup-config, 4 boot startup-config -40 – PLANET WGSW-52040 User Manual

Page 41

Advertising
background image

1-40

Parameters:

Primary means to configure the first IMG file, backup means to configure the second IMG file, <img-file-url> is the full

path of the booting IMG file, the format of which is as follows:

1. The file path comprises of three parts: device prefix used as the root directory (flash:/), sub-directory, and the file

name. No space is allowed in each part or between two parts.

2. The suffix of all file names should be .img.

3. The length of the full file path should not be longer than 128 characters, while the file name cannot be longer than

80 characters.

Command Mode:

Admin Mode.

Default:

The factory original configuration only specifies the first booting IMG file, it is nos.img file in the FLASH, without the

second booting IMG file.

Usage Guide:

The first and second img files can only use .img files stored in switch.

Example:

Set flash:/nos.img as the second booting IMG file used in the next booting of the switch.

Switch#boot img flash:/nos.img backup

1.1.4 boot startup-config

Command:

boot startup-config {NULL | <file-url> }

Function:

Configure the CFG file used in the next booting of the switch.

Parameters:

The NULL keyword means to use the factory original configuration as the next booting configuration. Setting the

CFG file used in the next booting as NULL equals to implementing set default and write commands. <file-url> is the

full path of CFG file used in the next booting. The format of which is as follows:

1. The file path comprises of three parts: device prefix used as the root directory (flash:/), sub-directory, and the file

Advertising