Saving or restoring configuration settings – Microsens MS453490M Management Guide User Manual

Page 69

Advertising
background image

C

HAPTER

2

| Initial Switch Configuration

Managing System Files

– 69 –

“startup1.cfg” that contains system settings for switch initialization,

including information about the unit identifier, and MAC address for the

switch. The configuration settings from the factory defaults

configuration file are copied to this file, which is then used to boot the

switch. See

"Saving or Restoring Configuration Settings" on page 69

for

more information.

Operation Code — System software that is executed after boot-up,

also known as run-time code. This code runs the switch operations and

provides the CLI and web management interfaces. See

"Managing

System Files" on page 94

for more information.

Diagnostic Code — Software that is run during system boot-up, also
known as POST (Power On Self-Test).

Due to the size limit of the flash memory, the switch supports only two

operation code files. However, you can have as many diagnostic code files

and configuration files as available flash memory space allows. The switch

has a total of 32 Mbytes of flash memory for system files.

In the system flash memory, one file of each type must be set as the start-

up file. During a system boot, the diagnostic and operation code files set as

the start-up file are run, and then the start-up configuration file is loaded.

Note that configuration files should be downloaded using a file name that

reflects the contents or usage of the file settings. If you download directly

to the running-config, the system will reboot, and the settings will have to

be copied from the running-config to a permanent file.

S

AVING

OR

R

ESTORING

C

ONFIGURATION

S

ETTINGS

Configuration commands only modify the running configuration file and are

not saved when the switch is rebooted. To save all your configuration

changes in nonvolatile storage, you must copy the running configuration

file to the start-up configuration file using the “copy” command.

New startup configuration files must have a name specified. File names on

the switch are case-sensitive, can be from 1 to 31 characters, must not

contain slashes (\ or /), and the leading letter of the file name must not be

a period (.). (Valid characters: A-Z, a-z, 0-9, “.”, “-”, “_”)

There can be more than one user-defined configuration file saved in the

switch’s flash memory, but only one is designated as the “startup” file that

is loaded when the switch boots. The copy running-config startup-

config command always sets the new file as the startup file. To select a

previously saved configuration file, use the boot system

config:<filename> command.

The maximum number of saved configuration files depends on available

flash memory. The amount of available flash memory can be checked by

using the dir command.

Advertising