Fujitsu XG2000 Switch User Manual


 
XG2000 series User's Guide
117/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.6.12 tftp put
Function
Uploads the files in volatile memory to the TFTP server.
Prompt
xg#
Command syntax
tftp put HOST LOCAL-FILE [ REMOTE-FILE ]
Parameter
z HOST
Specify the hostname of the TFTP server or IP address.
IP addresses that can be specified 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 LOCAL-FILE
Specifies a file name to upload.
z [ REMOTE-FILE ]
Specifies the file name to use on the TFTP server.
When this parameter is omitted, the "LOCAL-FILE" file name will be used.
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 the message depends on the type of TFTP server. For example.
File not found: There are no files in the TFTP server.
Access violation: File permission error occurred on the TFTP server.
Not allowed to overwrite existing files: The file on 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 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.
% local file: No such file or directory
Explanation
The specified file does not exist on the device.
[[Inserted string]]%1$: specified file name
Solution
Check the status of the file on the device.
% Invalid IP-address.
Explanation
The specified format of the IP address or specified content is incorrect.
Solution
Specify the IP address in a correct format and execute it again.
Note
z If there are no specified files on the TFTP server, or incorrect directories are specified, an error may occur depending
upon the functionality of the TFTP server.
z When transferring a file with a large file size, if the time out is set short on the TFTP server, an error may occur.
z In order to check whether the file was transferred successfully, check that the file size displayed by the "dir" or "ls"
command is identical to the size of the file on the TFTP server.
Example
Copy the content of running-config to the file name "run_conf."
Then, upload the "run_conf" file to "run_conf_20070122" on the TFTP server called "host1."
xg# show running-config > run_conf
xg# tftp put host1 run_conf run_conf_20070122