XG700 User's Guide
84/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Note
When copied in the volatile memory, the information will be lost when the system is restarted.
If uploading is necessary, restart the system after storing the data in the TFTP server using the "tftp" command.
If there are no files in the TFTP server, or directories are specified, an error may occur. (it depends on the functionality
of the TFTP server)
If timeout setting of the TFTP server is too short, an error may occur. (it depends on the functionality of the TFTP
server)
Example
Copy the content of running-config to the file name "run_conf."
Then, upload the copied "run_conf" file with the file name "run_conf_20050822" in the TFTP server called "host1."
xg# show startup-config > start_conf
xg# tftp put host1 start_conf start_conf_20050822
Copy the content of running-config directly to a file in the TFTP server "host1."
xg# show startup-config | tftp host1 start_conf_20050822
5.5.6 copy startup-config
Function
Saves the configuration information stored in the volatile memory of the XG700 to the nonvolatile memory as startup-config.
Also, the configuration information can be loaded from the TFTP server using the "tftp" command.
After executing this command, it is necessary to restart the system using the "reset" command, in order to reflect the set
content of startup-config.
Prompt
xg#
Command syntax
copy local CONFIG-FILE startup-config
copy tftp HOST REMOTE-FILE startup-config
Parameter
local CONFIG-FILE
Specifies the file name in the volatile memory, from which the data is copied.
Follow the rules below in specifying file names:
−
File names must start with alphabet ([a - z], [A - Z]).
−
Characters usable for file names are: alphabet ([a - z], [A - Z]), numerical characters ([0 - 9]),
underscore (_), and period (.)
tftp HOST
Directly loads the files stored in the TFTP server.
Specify the hostname of the TFTP server or IP address for HOST.
IP addresses that can be set are: 1.0.0.1 - 126.255.255.254, 128.0.0.1 - 191.255.255.254, and 192.0.0.1 -
223.255.255.254.
REMOTE-FILE
Specifies the file name stored on the TFTP server.
Command type
Operation management commands
Message
% Not found file: %1$
Explanation
The specified file cannot be found.
[[Inserted string]]%1$: specified file name
Solution
Check the file name, and execute it again.
% Config-file(header) is invalid: %1$
Explanation
The specified file is not the configuration file format.
[[Inserted string]]%1$: specified file name
Solution
Check the content of the file.
% Config-file(version/level) is invalid: %1$
Explanation
The configuration uploaded using a new version of firmware may not be used with an old version of firmware.
[[Inserted string]]%1$: specified file name
Solution
Check the content of the file.