beautypg.com

16 copy, 16 copy - 27 – Kontron AT8902 Full Size CLI User Manual

Page 223

background image

AT8901/2/3

Page 5 - 27

AT8901/2/3 CLI Reference Manual

5.6.16

copy

The

copy

command uploads and downloads files to and from the switch. You can also

use the copy command to manage the dual images (

image1

and

image2

) on the file sys-

tem. Upload and download files from a server by using TFTP or Xmodem. Format

copy

Mode

Privileged EXEC

Replace the

and

parameters with the options in Table 5.2.

For the

source or destination, use one of the following values:

{xmodem | tftp:////}

For TFTP, the

parameter is the IP address of the server,

is the

path to the file, and

is the name of the file you want to upload or

download.

Table 5.2. Copy Parameters

Source

Destination

Description

nvram:clibanner

Copies the CLI banner to a server.

nvram:errorlog

Copies the error log file to a server.

nvram:log

Copies the log file to a server.

nvram:script

Copies a specified configuration script
file to a server.

nvram:startup-con-
fig

Copies the startup configuration to a
server.

nvram:traplog

Copies the trap log file to a server.

system:running-
config

nvram:startup-
config

Saves the running configuration to
nvram.

nvram:clibanner

Downloads the CLI banner to the sys-
tem.

nvram:script

Downloads a configuration script file
to the system. During the download of
a configuration script, the copy com-
mand validates the script. In case of
any error, the command lists all the
lines at the end of the validation pro-
cess and prompts you to confirm before
copying the script file.

nvram:sshkey-dsa

Downloads an SSH key file. For more
information, see 6.4 “Secure Shell
(SSH) Command” on page 6 - 10.

nvram:sshkey-
rsa1

Downloads an SSH key file.

nvram:sshkey-
rsa2

Downloads an SSH key file.

nvram:sslpem-
dhweak

Downloads an HTTP secure-server cer-
tificate.