File rename – Allied Telesis AT-S97 User Manual
Page 166
![background image](/manuals/427527/166/background.png)
Chapter 9: File System Commands
166
FILE RENAME
Syntax
file rename srcfile=system://
chassis
/
slot
/
filename
dstfile=system://
chassis
/
slot
/
filename
Parameters
srcfile=system
Specifies the location and name of the master configuration
file to rename. This parameter has of the following parts:
chassis
Specifies the ID number of a chassis. In
version 1.3.0, the ID number is 0 or 31.
slot
Identifies the slot number of a module.
Possible values are:
m
Identifies the management
module slot.
1 or 2
Specifies a slot number of a
media converter module. In the
AT-MCF2000 Chassis, the left
slot is 1 and the right slot is 2.
filename
Specifies the name of the file to rename. The
filename must include the “.CFG extension.
The name is case sensitive and must be
enclosed in double quotes if it has spaces.
To verify the spelling and case of a file in a
modules file system, use the FILE SHOW
command. For instructions, refer to “FILE
SHOW” on page 169.
dstfile=system
Specifies a new name for the master configuration file. The
destination must be the same chassis and slot location as
the source. The name can be up to 15 alphanumeric
characters, not including the extension. Spaces are
allowed, but a name with spaces must be enclosed in
double quotes. The filename must be unique from all other
files in the file system of the module and include the “.CFG”
extension. The filename cannot start with the letters “mm”
or “bm”; these are reserved by the management software.