CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 129 –
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 127 characters for
files on the server. (Valid characters: A-Z, a-z, 0-9, “., “-”)
The switch supports only two operation code files, but the maximum number
of user-defined configuration files is 16.
You can use “Factory_Default_Config.cfg” as the source to copy from the
factory default configuration file, but you cannot use it as the destination.
To replace the startup configuration, you must use startup-config as the
destination.
The Boot ROM and Loader cannot be uploaded or downloaded from the FTP/
TFTP server. You must follow the instructions in the release notes for new
firmware, or contact your distributor for help.
For information on specifying an https-certificate, see “Replacing the Default
Secure-site Certificate” in the Web Management Guide. For information on
configuring the switch to
use HTTPS for a secure connection, see the
ip http
secure-server
command.
When logging into an FTP server, the interface prompts for a user name and
password configured on the remote server. Note that “anonymous” is set as the
default user name.
The reload command will not be accepted during copy operations to flash
memory.
Example
The following example shows how to download new firmware from a TFTP server:
Console#copy tftp file
TFTP server ip address: 10.1.0.19
Choose file type:
1. config: 2. opcode: 2
Source file name: startup2.cfg
Destination file name: startup2.cfg
Flash Programming started.
Flash Programming completed.
Success.
Console#
The following example shows how to upload the configuration settings to a file on
the TFTP server:
Console#copy file tftp
Choose file type:
1. config: 2. opcode: 1
Source file name: startup1.cfg
TFTP server ip address: 10.1.0.99