Chapter 7
Working with 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 .
From a Remote Server
To configure a switch in the Cisco MDS 9000 Family using a configuration file downloaded from a
remote server using TFTP, FTP, SCP, or SFTP, follow these steps:
Log into the switch through the console port or through a Telnet or SSH session.
Step 1
Configure the switch using the configuration file downloaded from the remote server using the
Step 2
copy <scheme> :// <server address> system:running-config command, where scheme is TFTP, FTP,
SCP, or SFTP.
The configuration file downloads and the commands are executed as the file is parsed line by line.
Use the following command to download a configuration file from a remote server to the running
configuration.
switch# copy <scheme>://<url> system:running-config
From an External CompactFlash Disk (slot0:)
The physical media must be inserted into slot0: after you log into the switch.
Note
To configure a switch in the Cisco MDS 9000 Family using a configuration file stored on an external
CompactFlash disk, follow these steps:
Log into the switch through the console port or through a Telnet or SSH session.
Step 1
Step 2
Locate the configuration file using the cd and dir commands. (See the
page
Configure the switch using the configuration file stored on the external CompactFlash disk using the
Step 3
copy <source file> system:running-config command.
The commands are executed as the file is parsed line by line.
Use the following command to download a configuration file from an external CompactFlash to the
running configuration:
switch copy slot0:dns-config.cfg system:running-config
Saving Configuration Files to an External Device
You can save a configuration file stored on internal storage to a remote server or to an external Flash
device on the switch.
OL-6973-03, Cisco MDS SAN-OS Release 2.x
7-6.)
Working with Configuration Files
"Copying Files" section on
Cisco MDS 9000 Family Configuration Guide
7-3