Cisco Systems MDS 9020 Downloading Configuration Files to the Switch, From a Remote Server, 3-19

Models: MDS 9020

1 22
Download 22 pages 20.31 Kb
Page 19
Image 19
Downloading Configuration Files to the Switch

Chapter 3 Initial Configuration

Working with Configuration Files

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

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-configcommand, 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>

Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference

 

OL-6988-02

3-19

 

 

 

Page 19
Image 19
Cisco Systems MDS 9020 Downloading Configuration Files to the Switch, Saving Configuration Files to an External Device