Cisco Systems MDS 9020 Switch User Manual


 
Send documentation comments to mdsfeedback-doc@cisco.com
3-19
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
OL-6988-02
Chapter 3 Initial Configuration
Working with Configuration Files
Downloading Configuration Files to the Switch
You can configure a Cisco MDS 9020 Fabric Switch by using configuration files that you create or
download from another switch. Before you begin downloading a configuration file using a remote server,
do the following:
Ensure that the configuration file to be downloaded is in the correct directory on the remote server.
Ensure that the permissions on the file are set correctly. Permissions on the file should be set to
world-read.
Ensure that the switch has a route to the remote server. The switch and the remote server must be in
the same subnetwork if you do not have a router or default gateway to route traffic between subnets.
Check connectivity to the remote server using the ping command.
From a Remote Server
To configure a Cisco MDS 9020 Fabric Switch using a configuration file downloaded from a remote
server using TFTP or FTP, follow these steps:
Step 1 Log in to the switch through the console port or through a Telnet or SSH session.
Step 2 Configure the switch using the configuration file downloaded from the remote server using the
copy <scheme> :// <server address> running-config command, where scheme is TFTP or FTP.
The configuration file downloads and the commands are executed as the file is parsed line by line.
Saving Configuration Files to an External Device
You can save a configuration file stored on internal storage to a remote server.
To a Remote Server
To save a configuration file to a remote server such as FTP, follow these steps:
Step 1 Log into the switch through the console port or through a Telnet or SSH session.
Step 2 Save the configuration using the copy running-config <scheme> :// <server address> command, where
scheme is FTP.
Step 3 Specify the IP address or host name of the remote server and the name of the file to download.
The configuration file is saved to the remote server.
Use the following command to save a running configuration file to a remote server:
switch# copy running-config
<scheme>
://
<server address>
Use the following command to save a startup configuration file to a remote server:
switch# copy bootflash:startup-config
<scheme>
://
<server address>