7 • Configuration file handling
Step
4
node (cfg)#reload
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
Modifying the running configuration offline
In cases of complex configuration changes, which are easier to do offline, you may store a SmartNode's running
configuration on a TFTP server, where you can edit and save it. Since the SmartNode is acting as a TFTP cli-
ent, it initiates all file transfer operations.
First, upload the running configuration, named running-config, from the SmartNode to the TFTP server. You
can then edit the configuration file located on the TFTP server by using any regular text editor. Once the con-
figuration has been edited, download it back into the SmartNode as upcoming startup configuration and store
it in the persistent memory region nvram: under the name startup-config. Finally, restart the SmartNode by
using the reload command to activate the changes.
Note
Consider that a customized configuration file will not modify any function of
SmartWare until it has been copied to persistent memory as the new configu-
ration file startup-config.
Mode: Administrator execution
Step
1
node #copy running-config tftp:// node-ip-
address[:port]/current-config
2
92
Command
Command
SmartWare Software Configuration Guide
Purpose
Restarts the system
Purpose
Uploads the current running configuration as file
current-config to the TFTP server at address node-
ip-address . Optionally you can enter the UDP
port where the TFTP server listens. If the port is
not specified, the default port 69 is used. This
progress is visualized with a counter, counting up
from 0 to 100% according to the downloaded
amount of the file size. If the upload should fail
an error message "% File Transfer - Put failed" is
displayed.
Offline editing of the configuration file current-
config on the TFTP server using any regular text
editor.
Configuration file handling task list
Need help?
Do you have a question about the SmartNode Series and is the answer not in the manual?