Cisco Systems MDS 9020 manual Deleting Files, Rolling Back to a Previous Configuration

Page 21

Chapter 3 Initial Configuration

Deleting 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

Rolling Back to a Previous Configuration

All switch configurations reside in the internal bootflash: file system. If your internal bootflash: file system is corrupted, you could potentially lose your configuration. Save and back up your configuration file periodically.

This example shows how to roll back to a snapshot copy of a previously saved running configuration (binary file):

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

Note You can enter a rollback command only when a snapshot is already created. Otherwise, you will receive the No snapshot-config found error message.

This example shows how to roll back to a configuration copy that was previously saved in the bootflash: file system (ASCII file):

switch# copy bootflash:my-config startup-config

Note Each time a copy running-configstartup-configcommand is entered, a binary file is created and the ASCII file is updated. A valid binary configuration file reduces the overall boot time significantly. A binary file cannot be uploaded, but its contents can be used to overwrite the existing startup configuration. The write erase command clears the binary file.

Deleting Files

Assuming you are already in the bootflash: file system, use the delete command to delete a file from the

bootflash: file system:

switch# delete dns_config.cfg

Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference

 

OL-6988-02

3-21

 

 

 

Image 21
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 user password Enter yes no is the default to create additional accountsEnter a name for the switch Enter the default gateway IP addressEnter no no is the default to disable the SSH service Enter no no is the default to not configure the NTP serverEnter 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 SwitchAssigning a Switch Name Where Do You Go Next?Verifying 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 ConfigurationDisables the Telnet server Working with Configuration FilesTelnet Server Connection Disabling a Telnet ConnectionDisplaying Configuration Files Initial Configuration Working with Configuration Files Saving Configuration Files to an External Device Downloading Configuration Files to the SwitchSaving the Configuration Backing Up the Current ConfigurationCopying Files Deleting Files Rolling Back to a Previous ConfigurationInitial Configuration Deleting Files