CLI Reference Guide-R07

Table Of Contents
Chapter 1
| Initial Switch Configuration
Managing System Files
– 57 –
Managing System Files
The switchs flash memory supports three types of system files that can be
managed by the CLI program, the web interface, or SNMP. The switchs file system
allows files to be uploaded and downloaded, copied, deleted, and set as a start-up
file.
The types of files are:
Configuration — This file type stores system configuration information and is
created when configuration settings are saved. Saved configuration files can be
selected as a system start-up file or can be uploaded via FTP/SFTP/TFTP to a
server for backup. The file named “Factory_Default_Config.cfg” contains all the
system default settings and cannot be deleted from the system. If the system is
booted with the factory default settings, the switch will also create a file named
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 58 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.
Diagnostic Code — Software that is run during system boot-up, also known as
POST (Power On Self-Test).
Note:
The Boot ROM and Loader cannot be uploaded or downloaded from the
FTP/SFTP/TFTP server. You must follow the instructions in the release notes for new
firmware, or contact your distributor for help.
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.