Cisco Systems OL-7821-04, SCE 1000 2xGBE manual Recovering a Previous Configuration

Models: SCE 1000 2xGBE OL-7821-04

1 131
Download 131 pages 61.9 Kb
Page 104
Image 104
Recovering a Previous Configuration

Chapter 7 Basic SCE 1000 Platform Operations

Managing SCE 1000 Configurations

Recovering a Previous Configuration

When you save a new configuration, the system automatically backs up the old configuration in the directory tffs0:system/prevconf/. Up to nine versions of the startup configuration file are saved, namely config.tx1-config.tx9, where config.tx1 is the most recently saved file.

You can view the old startup configuration files using the CLI command more.

Restoring a previous startup configuration means renaming the file so it overwrites the startup configuration (config.txt) file.

To restore a previous startup configuration, complete the following steps:

Step 1 At the SCE 1000# prompt, type more tffs0:system/prevconf/config.txt to view the configuration file.

The system displays the configuration information stored in the file.

Step 2 Read the configuration information to make sure it is the configuration you want to restore. Note that you cannot undo the configuration restore command.

Step 3 Type

copy tffs0:system/prevconf/config.tx1 tffs0:system/config.txt.

The system sets the startup configuration to the configuration from config.tx1.

EXAMPLE:

The following example displays a saved configuration file and then restores the file to overwrite the current configuration.

SCE 1000#more tffs0:system/prevconf/config.tx1

#This is a general configuration file (running-config). #Created on 19:36:07 UTC THU February 14 2002

#cli-type 1 #version 1

interface LineCard 0 no silent

no shutdown

interface FastEthernet 0/0

ip address 10.1.5.109 255.255.0.0

interface FastEthernet 0/1

interface FastEthernet 0/2

exit

line vty 0 4 exit

SCE 1000#copy tffs0:system/prevconf/config.tx1 tffs0:system/config.txt

SCE 1000#

Cisco SCE 1000 2xGBE Installation and Configuration Guide

7-8

OL-7821-04

 

 

 

 

Page 104
Image 104
Cisco Systems OL-7821-04 Recovering a Previous Configuration, copy tffs0system/prevconf/config.tx1 tffs0system/config.txt