CLI Reference Guide-R07

Table Of Contents
Chapter 1
| Initial Switch Configuration
Managing System Files
– 58 –
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: 10.1.0.19
Choose file type:
1. config: 2. opcode: 2
Source file name: ECS2100_V1.2.2.15.bix
Destination file name: ECS2100_V1.2.2.15.bix
\Write to FLASH Programming.
-Write to FLASH finish.
Success.
Console#config
Console(config)#boot system opcode: ECS2100_V1.2.2.15.bix
Console(config)#exit
Console#dir
File Name Type Startup Modified Time Size (bytes)
------------------------------ ------- ------- ------------------- ----------
--
Unit 1:
ECS2100_V1.2.2.15.bix OpCode N 2017-10-27 10:05:27 9,130,248
ECS2100_v1.2.2.9.bix OpCode Y 2018-03-21 09:22:07 8,798,472
Factory_Default_Config.cfg Config N 2016-04-13 05:28:36 477
startup1.cfg Config Y 2017-08-15 08:14:31 1,381
----------------------------------------------------------------------------
---
Free space for compressed user config files: 15,007,744
Total space: 33,554,432
Console#
Saving or Restoring
Configuration
Settings
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 switchs
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.