
Configuration file handling task list
82
IPLink Software Configuration Guide
7 • Configuration file handling
Note
Consider that a customized configuration file will not modify any function of
IPLink software until it has been copied to persistent memory as the new con-
figuration file startup-config.
Mode: Administrator execution
Example:
Modifying the running configuration offline
The following example shows how to upload the running configuration from the IPLink to the file current-con-
fig on a TFTP server at IP address 172.16.36.80. The uploaded configuration file is written into the root direc-
tory 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 avail-
able for offline editing on the TFTP server. Once the configuration file current-config has been modified, it is
downloaded from the TFTP server, at IP address 172.16.36.80, into the IPLink’s persistent memory region
nvram: using the name startup-config. Finally, you must restart the IPLink.
IPLink#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.
IPLink#copy tftp://172.16.36.80/user/ current-config nvram:startup-config
Download...100%
IPLink#reload
Press 'yes' to restart, 'no' to cancel : yes
Step
Command
Purpose
1
node#copy running-config tftp://
node-ip-
address[:port]/current-config
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.
2
Offline editing of the configuration file current-
config on the TFTP server using any regular text
editor.
3
node#copy tftp://
node-ip-address
/
current-config
nvram:
startup-config
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.
4
node#reload
Restarts the system