Managing Configuration Files
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 8-1
Scheme
tftp
ftp
scp (secure copy)
sftp
core
1. When downloading and uploading files, a TFTP limitation restricts a TFTP client to a 32 MB file size and some TFTP servers
•
•
•
•
•
Note
Use the show version image command to verify if the downloaded images are valid.
Backing UpConfiguration Files
All switch configurations reside in the internal system: and nvram: file systems. If your internal file
systems are corrupted, you could potentially lose your configuration. Save and back up your
configuration files periodically. Also, before installing or migrating to a new software configuration,
back up the configuration files.
•
•
Cisco MDS 9000 Family CLI Configuration Guide
8-6
copy Command Syntax (continued)
1
to a 16-MB file size.
This example shows how to copy a file from bootflash in the active supervisor module (sup-1 in slot
5 on Cisco MDS 9506 and Cisco MDS 9509 switches or slot 7 on Cisco MDS 9513 switches) to the
bootflash in the standby supervisor module (sup-2 in slot 6 on Cisco MDS 9506 and Cisco MDS
9509 switches or slot 8 on Cisco MDS 9513 switches).
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
This example shows how to copy a running configuration to the bootflash: file system.
switch# copy system:running-config bootflash:my-config
This example shows how to copy a system image file from the SCP server identified by an IPv4
address to bootflash.
switch# copy scp://user@10.1.7.2/system-image bootflash:system-image
This example shows how to copy a script file from the SFTP server identified by an IPv4 address to
the volatile: file system.
switch# copy sftp://172.16.10.100/myscript.txt volatile:myscript.txt
This example shows how to create a snapshot of the startup configuration in a predefined location
on the switch (binary file).
switch# copy nvram:startup-config nvram:snapshot-config
This example shows how to back up the startup configuration copy in the bootflash: file system
(ASCII file).
Server
IPv4 address, IPv6
address, or DNS name
slot-number
Chapter 8
Working with Configuration Files
File Name
User-specified
Process identifier number
OL-16184-01, Cisco MDS SAN-OS Release 3.x