CLI Reference Guide-R02

Table Of Contents
Chapter 1
| Initial Switch Configuration
Managing System Files
– 58 –
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
Console#copy tftp file
TFTP server IP address: 192.168.2.243
Choose file type:
1. config; 2. opcode: 2
Source file name: ECS5520-18X_V1.0.3.192.bix
Destination file name: ECS5520-18X_V1.0.3.192.bix
Flash programming started.
Flash programming completed.
Success.
Console#config
Console(config)#boot system opcode:ECS5520-18X_V1.0.3.192.bix
Success.
Console(config)#exit
Console#dir
File Name Type Startup Modified Time Size (bytes)
----------------------------- ------- ------- ------------------- ----------
Unit 1:
ECS5520-18X_V1.0.3.192.bix OpCode Y 2017-12-16 12:57:25 22,441,836
ecs5520-run-v0.1.0.0.bix OpCode N 2017-10-15 16:26:45 23,940,788
Factory_Default_Config.cfg Config N 2017-08-14 13:58:31 455
startup1.cfg Config Y 2017-09-22 11:59:57 3,148
----------------------------------------------------------------------------
Free space for compressed user config files: 432,553,984
Total space: 1,073,741,824
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, “., “-”, “_”)