SmartWare Software Configuration Guide

6 • Configuration file handling

 

 

You can copy the current running configuration into the persistent memory region nvram: under a user-speci- fied name, if you want to preserve that configuration.

In addition, an already existing configuration is usually copied into the persistent memory region nvram: by using a user-specified name, for conservation or later activation.

As shown in figure 11 the local memory regions are identified by their unique names, like nvram:, which is located in flash memory, and system:, which is the system RAM, i.e. the volatile memory. As already men- tioned, configuration files in the same memory region need a unique name. For example, it is not possible to have two configuration files with the name running-configin the memory region nvram:.

As you might expect, the copy command does not move but replicates a selected source to a target configura- tion file in the specified memory region. Therefore the source configuration file is not lost after the copy pro- cess. There are three predefined configuration file names for which it is optional to specify the memory region, namely factory-config, startup-configand running-config.

Mode: Administrator execution

Step

Command

Purpose

 

 

 

1

node#copy {factory-config startup-

Copies the selected source configuration file

 

config running-config nvram: source-

source-nameas target configuration file target-

 

name } nvram:target-name

name into the local memory.

 

 

 

Example: Backing up the startup configuration

The following example shows how to make a backup copy of the startup configuration. It is copied under the name backup into the flash memory region nvram:.

node#copy startup-config nvram:backup

Replacing the startup configuration with a configuration from Flash memory

It is possible to replace the startup configuration by a configuration that is already present in the flash memory. You can do so by copying it to the area of the flash memory where the startup configuration is stored.

Mode: Administrator execution

Step

Command

Purpose

 

 

 

1

node# copy nvram:backup startup-config

Replaces the existing persistent startup con-

 

 

figuration with the startup configuration

 

 

backup already present in flash memory.

 

 

 

Note The configuration backup can be a previously backed up configuration or previously downloaded from a TFTP server.

Configuration file handling task list

81

Page 81
Image 81
Patton electronic SmartNode 4110 Series manual Name nvramtarget-name, Name into the local memory