XG2000 series User's Guide
107/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.6.6 copy startup-config
Function
Saves the configuration information stored in volatile memory to nonvolatile memory as startup-config. Also, startup-config can
be loaded from a remote server using the "tftp" or “scp” command.
After executing this command, it is necessary to restart the system using the "reset" command in order for the new
startup-config to take effect.
Prompt
xg#
Command syntax
copy local CONFIG-FILE startup-config
copy { tftp | scp USERNAME } HOST REMOTE-FILE startup-config
Parameter
z local CONFIG-FILE
Specifies the file name in volatile memory that 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 (.)
z tftp
Transfers the file stored on the TFTP server.
z scp
Transfers the file stored on the SSH server.
z USERNAME
Specifies the username of the SSH server.
z HOST
Specifies the hostname or IP address of the TFTP server or SSH server 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.
z REMOTE-FILE
Specifies the file name stored on the TFTP server or SSH 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 the command again.
% Config-file(header) is invalid: %1$
Explanation
The specified file is not in a 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 file firmware revision does not match the firmware revision installed
on the device.
[[Inserted string]]%1$: specified file name
Solution
Check the content of the file.
% tftp: %1$: Host name lookup failure
Explanation
The specified hostname does not exist.
[[Inserted string]]%1$: specified hostname
Solution
Check whether the specified hostname is correct.