Rename – Allied Telesis AT-S63 User Manual

Page 206

Advertising
background image

Chapter 13: File System Commands

206

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 the master 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. They cannot be
copied, renamed, or deleted with these commands.

ˆ

Renaming the active boot configuration file and then resetting the
stack returns the stack parameter settings to the default values, 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 209.

ˆ

The command does not accept a directory path. Renaming a file in a
subdirectory on a compact flash card requires first changing to the
subdirectory with “SET CFLASH DIR” on page 208.

ˆ

The source and destination locations must be the same.

Examples

The following command renames the file “Stack12.cfg” in the switch’s file

Advertising