XG2000 series User's Guide
104/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.6.5 show startup-config (redirect)
Function
Copies the startup-config file stored in nonvolatile memory to volatile memory. The configuration file can also be copied directly
to a file on a remote server using the "tftp" or “scp” command.
Prompt
xg#
Command syntax
show startup-config > CONFIG-FILE
show startup-config| redirect CONFIG-FILE
show startup-config | { tftp | scp USERNAME } HOST REMOTE-FILE
Parameter
z > CONFIG-FILE
Specifies the file name of the copy to be created in volatile memory.
z | redirect CONFIG-FILE
Specifies the file name of the copy to be created in volatile memory. It means the same as
"> CONFIG-FILE."
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
Redirects the copy to a file on a TFTP server.
z | scp
Redirects the copy to a file 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.
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 to copy onto the TFTP server or SSH.
Command type
Operation management commands
Message
% 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.
% tftp: server says: %1$
Explanation
An error was received from the TFTP server.
[[Inserted string]]%1$: content of error message received from the TFTP server.
The content of message depends on the type of TFTP server. For example, there is a message
as below.
− File not found: There are no files on the TFTP server.
− Access violation: File permission error occurred in the TFTP server.
− Not allowed to overwrite existing files: The file in the TFTP server cannot be overwritten.
− Could not open requested file for reading: There are no files in the TFTP server.
− File already exists: There are files on the TFTP server.
− Unknown transfer ID: Process will be aborted in time out.
Solution
Take actions in accordance with the message(s) received from the TFTP server.
% tftp: last timeout
Explanation
There is no response from the TFTP server. A network communication error with the
management LAN occurred, or the time out setting of the TFTP server may be too short.
Solution
Check the network connection with the TFTP server using the "ping" command. If the problem
persists, review the time out setting of the TFTP server.