Configuration File Handling
73
Command
Purpose
Step 1
node
#copy running-config tftp://
node-ip-
address/current-config
Uploads the current running configuration
as file
current-config
to the TFTP server at
address
node-ip-address
. 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.
Step 2
Offline editing of the configuration file
current-config
on the TFTP server using any
regular text editor.
Step 3
node
#copy tftp://
node-ip-address
/
current-
config
nvram:
startup-config
Downloads the modified configuration file
current-config
from the TFTP server at
address
node-ip-address
into the persistent
memory region
nvram:
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. If the download should fail an
error message “% File Transfer - Get failed”
is displayed.
Step 4
node
#reload
Restarts the system
Example: Modifying the Running Configuration Offline
The following example shows the commands used to upload the running configuration from the
SmartNode to the file
current-config
on a TFTP server at IP address 172.16.36.80. The uploaded
configuration file will be written into the root directory specified by the TFTP server settings, and
overwrites any existing file with the same name. Read your TFTP server manual to get a thorough
understanding of its behavior. After this the configuration file is available for offline editing on the
TFTP server. Following the modified configuration file
current-config
is downloaded from the TFTP
server, at IP address 172.16.36.80,
to the SmartNode’s persistent memory region
nvram:
using the
name
startup-config
. Finally the SmartNode has to be restarted.
SN#
copy running-config tftp://172.16.36.80/user/current-config
Upload...100%
At this point in time the offline editing of the configuration file
current-config
on the TFTP server
takes place.
SN#
copy tftp://172.16.36.80/user/ current-config nvram:startup-config
Download...100%
SN#
reload
Press 'yes' to restart, 'no' to cancel :
yes
The system is going down
9.12 Deleting a Specified Configuration
You can delete configuration files from the SmartNode flash memory region
nvram:
.
Software Configuration Guide Release 2.10, Revision 1.00
Procedure
To delete a specified configuration in flash memory
Summary of Contents for SmartWare Release 2.10
Page 2: ...2 Legal Notice Software Configuration Guide Release 2 10 Revision 1 00...
Page 15: ...Terms and Definitions 15 Software Configuration Guide Release 2 10 Revision 1 00...
Page 218: ...218 PPP Configuration no shutdown Software Configuration Guide Release 2 10 Revision 1 00...
Page 272: ...272 Tone Configuration Software Configuration Guide Release 2 10 Revision 1 00...