beautypg.com

Allied Telesis AT-S100 User Manual

Page 86

background image

Chapter 3: Privileged Executive Mode Commands

86

Section I: Command Modes

CP

Syntax

cp source-file new-file

Parameters

source-file

Indicates the source configuration file.

new-file

Indicates the new file which becomes a copy of the

source file.

Description

Use the CP command to make a copy of a configuration file and save it in
the current directory on the switch.

Command Mode

Privileged Executive mode

Examples

In the following example, the running configuration file is copied to the
startup configuration file which is named “frank2.cfg:”

switch#copy default.cfg frank2.cfg

You can confirm the file has been copied into the current directory with the
LS command. See the following example of the output of the LS
command:

default.cfg

frank2.cfg

ssh_host_key

ssh_host_key.pub

ssh_host_rsa_key

Related Commands

“COPY” on page 81

“COPY A.B.C.D” on page 82

“COPY DEFAULT.CFG” on page 84