Rename – Allied Telesis AT-S62 User Manual
Page 204

Chapter 12: File System Commands
204
Section II: Advanced Operations
RENAME
Syntax
rename “
filename1.ext
”
“
filename2.ext
”
Parameters
filename1.ext
Specifies the name of the file to be renamed.
If the name contains spaces, enclose it in
double quotes. Otherwise, the quotes are
optional.
filename2.ext
Specifies the new name for the file. The
filename can be from 1 to 16 alphanumeric
characters, not including the filename
extension. Spaces are allowed. If the name
contains spaces, it must be enclosed in
double quotes. The filename extension must
be the same as in the original filename. The
new name must be unique in the file system.
Description
This command renames a file in the switch’s file system. Note the
following when using this command:
Files with the extension UKF are encryption key pairs. These files
cannot be copied, renamed, or deleted from the file system.
The filename extensions of the old and new filenames must be the
same.
Renaming the active boot configuration file and then resetting the
switch returns the unit to its default parameter settings, unless you
save the current configuration or select another active boot
configuration file. For instructions on how to change the active boot
configuration file, see “SET CONFIG” on page 205.
The source and destination locations must be the same.
Examples
The following command renames the file “Switch12.cfg” in the switch’s file
system to “Sw 44a.cfg”:
rename Switch12.cfg "Sw 44a.cfg"