CLI Reference Guide-R04

Table Of Contents
Chapter 1
| Initial Switch Configuration
Managing System Files
– 64 –
Due to the size limit of the flash memory, the switch supports only two operation
code files. However, you can have as many configuration files as available flash
memory space allows. The switch has a total of 256 MB 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 operation code files set as the start-up file is 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.
Upgrading the
Operation Code
The following example shows how to download new firmware to the switch and
activate it. The TFTP server could be any standards-compliant server running on
Windows or Linux. When downloading from an FTP server, the logon interface will
prompt for a user name and password configured on the remote server. Note that
anonymous” is set as the default user name.
File names on the switch are case-sensitive. The destination file name should not
contain slashes (\ or /), and the maximum length for file names is 32 characters for
files on the switch or 128 characters for files on the server. (Valid characters: A-Z,
a-z, 0-9, “., “-”)
Console#copy tftp file
TFTP server IP address: 192.168.2.243
Choose file type:
1. config; 2. opcode: 2
Source file name: ecs4120-run-v1.0.2.43.bix
Destination file name: ecs4120-run-v1.0.2.43.bix
Flash programming started.
Flash programming completed.
Success.
Console#config
Console(config)#boot system opcode:ecs4120-run-v1.0.2.43.bix
Success.
Console(config)#exit
Console#dir
File Name Type Startup Modified Time Size (bytes)
------------------------------ ------- ------- ------------------- ------------
Unit 1:
ecs4120-run-v1.0.2.22.bix OpCode N 2017-02-08 03:50:26 19229268
ecs4120-run-v1.0.2.43.bix OpCode Y 2018-05-31 10:00:42 19515988
Factory_Default_Config.cfg Config N 2016-12-16 10:06:49 455
startup1.cfg Config Y 2018-05-31 09:54:53 4414
-------------------------------------------------------------------------------
Free space for compressed user config files: 32546816
Total space: 256 MB
Console#