Rename – Allied Telesis AT-S63 User Manual

Page 190

Advertising
background image

Chapter 12: File System Commands

190

Section II: Advanced Operations

RENAME

Syntax

rename [cflash:]

filename1.ext

[cflash:]

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. If the file is stored on a compact
memory card, precede the name with
“cflash:”.

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.
If the file is stored on a compact memory card,
precede the name with “cflash:”.

Description

This command renames a file in a switch’s file system or on a compact
flash memory card. The source and destination file extensions must be the
same.

Note the following before using this command:

ˆ

Files with the extension UKF are encryption key pairs. These files
cannot be copied, renamed, or deleted from the file system.

ˆ

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 193.

ˆ

The command does not accept a directory path. To rename a file on a
compact flash card, you must first change to the directory where the
file is stored. For instructions, refer to “SET CFLASH DIR” on
page 192.

ˆ

The source and destination locations must be the same.

Advertising