Deleting Files - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 2
Before You Begin
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Table 2-5
Scheme
bootflash
slot0
usb1
usb2
volatile
nvram
system
1. Cisco MDS 9506 and Cisco MDS 9509 switches
2. Cisco MDS 9513 Directors
This example copies the file called samplefile from the root directory of the slot0: file system to the
mystorage directory:
switch# copy slot0:samplefile slot0:mystorage/samplefile
This example copies a file from the current directory level:
switch# copy samplefile mystorage/samplefile
If the current directory is slot0:mydir, this command copies slot0:mydir/samplefile to
slot0:mydir/mystorage/samplefile.
This example shows how to copy a file from the active supervisor module's (sup-1 in slot 5 on the Cisco
MDS 9506 and Cisco MDS 9509 switches or slot 7 on the Cisco MDS 9513 switch) bootflash to the
standby supervisor module's (sup-2 in slot 6 on the Cisco MDS 9506 and Cisco MDS 9509 switches or
slot 7 on the Cisco MDS 9513 switch) bootflash.
switch# copy bootflash:system_image bootflash://sup-2/system_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 slot0: or bootflash: file
system to or from a FTP, TFTP, SFTP, or SCP server (see the
page

Deleting Files

The delete command deletes a specified file or the specified directory and all its contents (see the
"Deleting Configuration Files" section on page
This example shows how to delete a file from the current working directory:
OL-18084-01, Cisco MDS NX-OS Release 4.x
copy Command Syntax
Module
sup-active
sup-standby
sup-1, module-5
sup-2, module-6
sup-local
sup-remote
9-5).
File Name
User-specified
1
2
, or module-7
1
2
, or module-8
User-specified
User-specified
User-specified
User-specified
startup-config or snapshot-config
running-config
"Copying Configuration Files" section on
9-8).
Cisco MDS 9000 Family CLI Configuration Guide
Using Switch File Systems
2-31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents