Cisco Systems MDS 9020 manual Downloading Configuration Files to the Switch

Page 19

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

 

 

 

Image 19
Contents Initial Configuration Initial Setup Routine Starting a Cisco MDS 9020 Fabric SwitchDefault Login Preparing to Configure the SwitchSubnetwork Setup OptionsEnter yes to enter the setup mode Assigning Setup InformationEnter the default gateway IP address Enter yes no is the default to create additional accountsEnter the user password Enter a name for the switchEnter no no is the default to not configure the NTP server Enter no no is the default to disable the SSH serviceEnter yes yes is default to use and save this configuration Using the setup Command 2illustrates serial console access and out-of-band access Accessing the SwitchWhere Do You Go Next? Assigning a Switch NameVerifying the Status of the Switch Configuring the Time Zone Configuring Date and TimeAdjusting for Daylight Saving Time NTP Configuration Management Interface ConfigurationUsing the force Option Obtaining Remote Management AccessConfiguring the Default Gateway Default Gateway ConfigurationDisabling a Telnet Connection Working with Configuration FilesDisables the Telnet server Telnet Server ConnectionDisplaying Configuration Files Initial Configuration Working with Configuration Files Saving Configuration Files to an External Device Downloading Configuration Files to the SwitchBacking Up the Current Configuration Saving the ConfigurationCopying Files Deleting Files Rolling Back to a Previous ConfigurationInitial Configuration Deleting Files