Modifying The Running Configuration Offline - Patton electronics SmartNode Series Software Configuration Manual

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

SmartWare Software Configuration Guide
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.
node#configure
node(cfg)#...
node(cfg)#copy running-config startup-config
node(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 configuration on a
TFTP server, where you can edit and save it. Since the SmartNode is acting as a TFTP client, 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
command to activate the changes.
reload
Mode: Administrator execution
Step
1
node#copy running-config tftp://node-ip-
address[:port]/current-config
2
3
node#copy tftp://node-ip-address/current-config
nvram: startup-config
4
node#reload
Configuration file handling task list
Command
6 • Configuration file handling
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.
Downloads the modified configuration file cur-
rent-config from the TFTP server at address node-
ip-address into the persistent memory region
nvram: by using the name startup-config. This
progress is visualized with a counter, counting up
from 0 to 100% according to the downloaded
amount of the file size. Should the download fail,
an error message "% File Transfer - Get failed" is
displayed.
Restarts the system
84

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartware release 5.1

Table of Contents