Moving Files; Copying Files; Deleting A Directory - Cisco Nexus 9000 Series Configuration Manual

Nx-os fundamentals configuration guide
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Moving Files

297054208
...
Usage for bootflash://sup-remote
1903616000 bytes used
19234234368 bytes free
21137850368 bytes total
This example shows how to delete a file on the standby supervisor module:
switch# delete bootflash://sup-remote/aOldConfig.txt
Moving Files
This example shows how to move a file on an external flash device:
switch# move usb1:samplefile usb1:mystorage/samplefile
This example shows how to move a file in the default file system:
switch# move samplefile mystorage/samplefile

Copying Files

This example shows how to copy the file called samplefile from the root directory of the usb1: file system to
the mystorage directory:
switch# copy usb1:samplefile usb1:mystorage/samplefile
This example shows how to copy a file from the current directory level:
switch# copy samplefile mystorage/samplefile
This example shows how to copy a file from the active supervisor module bootflash to the standby supervisor
module bootflash:
switch# copy bootflash:nx-os-image bootflash://sup-2/nx-os-image
This example shows how to overwrite the contents of an existing configuration in NVRAM:
switch# copy nvram:snapshot-config nvram:startup-config
Warning: this command is going to overwrite your current startup-config:
Do you wish to continue? {y/n} [y] y
You can also use the copy command to upload and download files from the bootflash: file system to or from
a FTP, TFTP, SFTP, or SCP server.

Deleting a Directory

You can remove directories from the file systems on your device.
Before You Begin
Ensure that the directory is empty before you try to delete it.
Cisco Nexus 9000 Series NX-OS Fundamentals Configuration Guide, Release 7.x
110
Oct 21 18:55:36 2013
n9000-dk9.6.1.2.I1.1.bin
Using the Device File Systems, Directories, and Files

Advertisement

Table of Contents
loading

Table of Contents