Copying Files - Cisco Nexus 1000V Troubleshooting Manual

Switch for vmware vsphere. release 5.2(1)sv3(1.1)
Hide thumbs Also See for Nexus 1000V:
Table of Contents

Advertisement

Chapter 23
Before Contacting Technical Support

Copying Files

You might be required to move files to or from the switch. These files might include log, configuration,
or firmware files.
The Cisco Nexus 1000V always acts as a client. An ftp/scp/tftp session will always originate from the
switch and either push files to an external system or pull files from an external system.
The copy CLI command supports four transfer protocols and 12 different sources for files.
switch# copy ?
Use the following syntax to use secure copy (scp) as the transfer mechanism:
Copy
switch# copy scp://user1@172.22.36.10/etc/hosts bootflash:hosts.txt
user1@172.22.36.10's password:
hosts 100% |*****************************| 2035 00:00
Back up the startup configuration to an SFTP server.
switch# copy startup-config sftp://user1@172.22.36.10/test/startup-configuration.bak1
Connecting to 172.22.36.10...
User1@172.22.36.10's password:
switch#
Back up the startup configuration to a server daily before you make any changes. You can write a
Tip
short script to be run on the Cisco Nexus 1000V to perform a save and then back up the configuration.
The script only needs to contain two commands: copy running-configuration
startup-configuration and copy startup-configuration tftp://server/name. To execute the script,
enter the run-script filename command.
OL-31593-01
File Server: 172.22.36.10
File to be copied to the switch: /etc/hosts
bootflash: Select source filesystem
core: Select source filesystem
debug: Select source filesystem
ftp: Select source filesystem
licenses Backup license files
log: Select source filesystem
modflash: Select source filesystem
nvram: Select source filesystem
running-config Copy running configuration to destination
scp: Select source filesystem
sftp: Select source filesystem
slot0: Select source filesystem
startup-config Copy startup configuration to destination
system: Select source filesystem
tftp: Select source filesystem
volatile: Select source filesystem
"scp:[//[username@]server][/path]"
from 172.22.36.10 using the user
/etc/hosts
, where the destination would be
user1
Cisco Nexus 1000V Troubleshooting Guide, Release 5.2(1)SV3(1.1)
Copying Files
.
hosts.txt
23-3

Advertisement

Table of Contents
loading

Table of Contents