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
8-6
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 8 Working with Configuration Files
Managing Configuration Files
•
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://[email protected]/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
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.
•
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).
tftp
1
IPv4 address, IPv6
address, or DNS name
User-specified
ftp
scp (secure copy)
sftp
core
slot-numbe
r
Process identifier number
1.
When downloading and uploading files, a TFTP limitation restricts a TFTP client to a 32 MB file size and some TFTP servers
to a 16-MB file size.
Table 8-1
copy Command Syntax (continued)
Scheme
Server
File Name
Содержание 9124 - Cisco MDS Fabric Switch
Страница 76: ...Se 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 ck d o c c i s c o c o m ...
Страница 122: ...Se 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 ck d o c c i s c o c o m ...
Страница 328: ...Se 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 ck d o c c i s c o c o m ...
Страница 482: ...Se 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 ck d o c c i s c o c o m ...
Страница 733: ...Se 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 ck d o c c i s c o c o m P A R T 5 Security ...
Страница 734: ...Se 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 ck d o c c i s c o c o m ...
Страница 957: ...Se 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 ck d o c c i s c o c o m P A R T 6 IP Services ...
Страница 958: ...Se 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 ck d o c c i s c o c o m ...
Страница 1182: ...Se 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 ck d o c c i s c o c o m ...
Страница 1214: ...Se 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 ck d o c c i s c o c o m ...
Страница 1307: ...Se 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 ck d o c c i s c o c o m P A R T 9 Traffic Management ...
Страница 1308: ...Se 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 ck d o c c i s c o c o m ...
Страница 1331: ...Se 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 ck d o c c i s c o c o m P A R T 1 0 Troubleshooting ...
Страница 1332: ...Se 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 ck d o c c i s c o c o m ...