beautypg.com

Copy – Allied Telesis AT-8100 Series User Manual

Page 552

background image

Chapter 35: File System Commands

552

COPY

Syntax

copy

sourcefile

.cfg

destinationfile

.cfg

Parameters

sourcefile.cfg

Specifies the name of the boot configuration file you want to copy.

destinationfile.cfg

Specifies the name of the new copy of the file. The filename can be
from 1 to 16 alphanumeric characters. The extension must be
“.cfg”. Spaces and special characters are not allowed.

Mode

Privileged Exec mode

Description

Use this command to create copies of boot configuration files in the file
system of the switch. Creating copies of the active boot configuration file is
an easy way to maintain a history of the configurations of the switch. To
display the name of the active boot configuration file, refer to “SHOW
BOOT” on page 572.

If the destination filename is the same as the name of an existing file in the
file system, the command overwrites the existing file.

Example

This command creates a copy of the boot configuration file “unit12.cfg” in
the switch’s file system and names the copy “unit12backup.cfg”:

awplus# copy unit12.cfg unit12backup.cfg