beautypg.com

Copy, Table 3. file extensions and file types – Allied Telesis AT-S62 User Manual

Page 200

background image

Chapter 12: File System Commands

200

Section II: Advanced Operations

COPY

Syntax

copy “

sourcefile.ext

destinationfile.ext

Parameters

sourcefile.ext

Specifies the name of the source file. If the filename

contains spaces, enclose it in double quotes.
Otherwise, the quotes are optional.

destinationfile.ext

Specifies the name of the destination file. If the

filename contains spaces, enclose in double
quotes. Otherwise, the quotes are optional.

Description

This command creates a copy of 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 new filename must be a valid filename from 1 to 16 alphanumeric
characters. The name of the copy must be unique from the other files
in the file system.

ˆ

ext is the three-letter file extension, and can be any of the types listed
in Table 3. You must give the copy the same extension as the original
file.

Examples

The following command creates a copy of the configuration file “admin.cfg”
in the switch’s file system and names the copy “admin2.cfg”:

copy admin.cfg admin2.cfg

Table 3. File Extensions and File Types

Extension

File Type

.cfg

Configuration file

.cer

Certificate file

.csr

Certificate enrollment request

.key

Public encryption key

.log

Event log