Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual page 46

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

copy
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
You can enter on the command line all necessary source- and destination-URL information and the
username to use, or you can enter the copy command and have the CLI prompt you for any missing
information.
The entire copying process may take several minutes, depending on the network conditions and the size
of the file, and differs from protocol to protocol and from network to network.
The colon character (:) is required after the file system URL prefix keywords (such as bootflash).
In the URL syntax for ftp:, scp:, sftp:, and tftp:, the server is either an IPv4 address or a host name.
This section contains usage guidelines for the following topics:
Copying Files from a Server to Bootflash Memory
Use the copy source-url bootflash: command (for example, copy tftp:source-url bootflash:) to copy an
image from a server to the local bootflash memory.
Copying a Configuration File from a Server to the Running Configuration
Use the copy {ftp: | scp: | sftp: | tftp:}source-url running-config command to download a configuration
file from a network server to the running configuration of the device. The configuration is added to the
running configuration as if the commands were typed in the CLI. The resulting configuration file is a
combination of the previous running configuration and the downloaded configuration file. The
downloaded configuration file having precedence over the previous running configuration.
You can copy either a host configuration file or a network configuration file. Accept the default value of
host to copy and load a host configuration file containing commands that apply to one network server in
particular. Enter network to copy and load a network configuration file that contains commands that
apply to all network servers on a network.
Copying a Configuration File from a Server to the Startup Configuration
Use the copy {ftp: | scp: | sftp: | tftp:}source-url startup-config command to copy a configuration file
from a network server to the router startup configuration. These commands replace the startup
configuration file with the copied configuration file.
Copying the Running or Startup Configuration on a Server
Use the copy running-config {ftp: | scp: | sftp: | tftp:}destination-url command to copy the current
configuration file to a network server that uses FTP, scp, SFTP, or TFTP. Use the copy startup-config
{ftp: | scp: | stfp: | tftp:}destination-url command to copy the startup configuration file to a network
server.
You can use the copied configuration file copy as a backup.
Examples
This example shows how to copy a file within the same directory:
switch# copy file1 file2
This example shows how to copy a file to another directory:
switch# copy file1 my-scripts/file2
Cisco Nexus 5000 Series Command Reference
1-22
Copying Files from a Server to Bootflash Memory, page 1-22
Copying a Configuration File from a Server to the Running Configuration, page 1-22
Copying a Configuration File from a Server to the Startup Configuration, page 1-22
Copying the Running or Startup Configuration on a Server, page 1-22
Chapter 1
Basic System Commands
OL-16599-01

Advertisement

Table of Contents
loading

Table of Contents