Cisco Systems MDS 9020 manual Saving the Configuration, Copying Files

Page 20

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

Saving the Configuration

After you have created a running configuration in system memory, you can save it to the startup configuration in the bootflash: file system using the following copy command:

switch# copy running-config bootflash:startup-config

The copy running-configstartup-configcommand is an alias to the previous command and is used frequently throughout this guide.

Copying Files

The syntax for the copy command follows and is explained in Table 3-1.

switch# copy <scheme>://<server>/<file name> <scheme>://<server>/<file name>

Table 3-1

copy Command Syntax

 

 

 

 

 

Scheme

 

Server

File Name

 

 

 

 

volatile

 

User-specified

 

 

 

 

bootflash

 

User-specified

 

 

 

 

tftp

 

IP address or DNS name

User-specified

 

 

 

 

ftp

 

 

 

 

 

 

 

This example shows how to copy a running configuration to the bootflash: file system:

switch# copy running-config bootflash:my-config

This example shows how to overwrite the contents of an existing configuration in the nonvolatile file system:

switch# copy bootflash:my-config bootflash:startup-config

Backing Up the Current Configuration

Before installing or migrating to any software configuration, back up the startup configuration.

This example shows how to back up the startup configuration copy in the bootflash: file system (ASCII file):

switch# copy startup-config bootflash:my-config

This example shows how to back up the startup configuration to the TFTP server (ASCII file):

switch# copy startup-config tftp://172.16.10.100/my-config

This example shows how to back up the running configuration to the bootflash: file system (ASCII file):

switch# copy running-config bootflash:my-config

Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference

3-20

OL-6988-02

 

 

Image 20
Contents Initial Configuration Starting a Cisco MDS 9020 Fabric Switch Initial Setup RoutinePreparing to Configure the Switch Default LoginSetup Options SubnetworkAssigning Setup Information Enter yes to enter the setup modeEnter yes no is the default to create additional accounts Enter the user passwordEnter a name for the switch Enter the default gateway IP addressEnter yes yes is default to use and save this configuration Enter no no is the default to disable the SSH serviceEnter no no is the default to not configure the NTP server Using the setup Command Accessing the Switch 2illustrates serial console access and out-of-band accessVerifying the Status of the Switch Assigning a Switch NameWhere Do You Go Next? Configuring Date and Time Configuring the Time ZoneAdjusting for Daylight Saving Time Management Interface Configuration NTP ConfigurationObtaining Remote Management Access Using the force OptionDefault Gateway Configuration Configuring the Default GatewayWorking with Configuration Files Disables the Telnet serverTelnet Server Connection Disabling a Telnet ConnectionDisplaying Configuration Files Initial Configuration Working with Configuration Files Downloading Configuration Files to the Switch Saving Configuration Files to an External DeviceCopying Files Saving the ConfigurationBacking Up the Current Configuration Rolling Back to a Previous Configuration Deleting FilesInitial Configuration Deleting Files