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

 

 

Page 20
Image 20
Cisco Systems MDS 9020 manual Saving the Configuration, Copying Files, Backing Up the Current Configuration