beautypg.com

Allied Telesis AT-S97 User Manual

Page 154

background image

Chapter 9: File System Commands

154

must be enclosed in double quotes. The filename must be
unique from all other files in the file system of the module
and it must include the “.CFG” extension. The filename
cannot start with the letters “mm” or “bm”; these are
restricted by the management software.

Privilege Levels

Administrator and read-write.

Description

This command creates a copy of a master configuration file in the file
system of the management module. You might create a copy of a file to
maintain a history of the settings of the modules in the chassis or to create
a backup copy. For background information on master configuration files,
refer to Chapter 8, “Configuration File Commands” on page 129.

Review the following before copying a master configuration file:

ˆ

This command is primarily intended for creating copies of master
configuration files on a management module. Although this command
can also create copies of auxiliary configuration files, that should never
be necessary.

ˆ

The copy of the file must be stored in the file system of the same
module with the original file. To copy files between modules, refer to
the FILE UPLOAD command. For instructions, refer to “FILE
UPLOAD” on page 172.

ˆ

The filename of the source file is case sensitive. To verify the spelling
and case of a file, use the FILE SHOW command. For instructions,
refer to “FILE SHOW” on page 169.

ˆ

You do not have to perform the CONFIG SAVE command after
copying a file.

Examples

This command creates a copy of the master configuration file
“master2a.cfg” on the management module in a chassis with the ID
number 0. The copy will be “master2a_backup.cfg”:

file copy srcfile=system://0/m/master2a.cfg
dstfile=system://0/m/master2a_backup.cfg

This command creates a copy of the master configuration file “mc 11a.cfg”
on a management module in a chassis assigned ID 31. The copy will be
titled “mc 22 traffic.cfg”:

file copy srcfile=system://31/m/"mc 11a.cfg"
dstfile=system://31/m/"mc 22 traffic.cfg"

This manual is related to the following products: