Configuration File Handling
73
Procedure
To modify the running configuration at the CLI and store it as the startup configuration
Mode
Administrator execution
Command
Purpose
Step 1
node
#configure
Enters administrator configuration
mode
Step 2
Enter all the necessary configuration
commands.
Step 3
node
(cfg)#copy running-config startup-
config
Saves the running configuration file as
upcoming startup configuration
Step 4
node
(cfg)#reload
Restarts the system
Example: Modifying the Running Configuration at the CLI
The following example shows how to modify the currently running configuration via the CLI and
save it as the startup configuration.
SN#
configure
SN(cfg)#…
SN(cfg)#
copy running-config startup-config
SN(cfg)#
reload
Press 'yes' to restart, 'no' to cancel :
yes
The system is going down
9.11 Modifying the Running Configuration Offline
In cases of complex configuration changes, which are easier to do offline, a SmartNode’s running
configuration may be stored on a TFTP server and there edited and saved. Since the SmartNode is
acting as a TFTP client, all file transfer operations are initiated from the SmartNode.
First the running configuration, named
running-config
, has to be uploaded from the SmartNode to the
TFTP server. After that the configuration file located on the TFTP server gets edited using any
regular text editor. Followed by downloading the configuration back to the SmartNode as upcoming
startup configuration and therefore store it in the persistent memory region
nvram:
under the name
startup-config
. Finally the SmartNode has to be restarted using the
reload
command to activate the
changes.
Note:
Consider that a user-specific configuration file does not manipulate any function of SmartWare
until it is copied to - and therefore replaces - the configuration file
startup-config
. Downloading
configuration files to flash memory using a name other then
startup-config
is typically useful to
activate any configuration changes or to store configuration for backup purposes in the flash
memory of the SmartNode.
Procedure
The procedure necessary to modify the running configuration offline
Mode
Software Configuration Guide, Revision 1.03
Administrator execution