Configuration File Handling
69
Software Configuration Guide, Revision 1.03
cli version 2.00
Example: Backing Up the Startup Configuration
The following example shows how to make a backup copy of the startup configuration. In a first step
the
startup-config
is copied under the name
backup
within the flash memory region
nvram:
.
SN#
copy startup-config nvram:backup
9.6 Replacing the Startup Configuration with a
Configuration from Flash Memory
The startup configuration is replaced by a configuration that is already present in the flash memory,
by copying it to that area of the flash memory where the startup configuration is to be stored.
Procedure
To replace the startup configuration with another present in flash memory
Mode
Administrator execution
Command
Purpose
Step
1
node
# copy nvram:
new-startup
startup-config
Replaces the existing persistent startup
configuration with the startup
configuration
new-startup
already
present in flash memory.
Note:
It is assumed that the configuration
new-startup
that is present in flash memory was previously
copied to the flash memory, e.g. from a TFTP server using the
copy
command.
Example: Replacing the Startup Configuration w ith a Configuration from
Flash Memory
The following example shows how to overwrite and therefore replace the persistent startup
configuration in the flash memory of a SmartNode with the configuration contained in the file
new-
startup
already present in the flash memory.
Step 1
First replace the current startup configuration, using the
copy
command, into the flash memory area
where the startup configuration has to be stored.
SN#
copy nvram:new-startup startup-config
Step 2
Check the content of the persistent startup configuration by listing its command settings with the
show
command.
SN#
show startup-config
Startup configuration:
#----------------------------------------------------------------#
# SmartWare R2.00 BUILD22031 #
# 2001-10-25T09:20:42 #
# Generated configuration file #
#----------------------------------------------------------------#