XG700 User's Guide
89/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.5.10 tftp get
Function
Downloads files on the TFTP server into the volatile memory of the XG700.
Prompt
xg#
Command syntax
tftp get HOST REMOTE-FILE [ LOCAL-FILE ]
Parameter
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.
REMOTE-FILE
Specifies the file name of the files stored on the TFTP server.
[ LOCAL-FILE ]
Specifies the file name to save in the volatile memory.
When this parameter is omitted, it will be the same file name as "REMOTE-FILE."
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 has been received from the TFTP server.
[[Inserted string]]%1$: content of error message received from the TFTP server.
The content of message depend on the type of the TFTP server. For example, there is a message as below.
−
Access violation: File permission error has occurred in the TFTP server.
−
Could not open requested file for reading: There are no files in the TFTP server.
Solution
Take actions in accordance with the message received from the TFTP server.
% tftp: write: No space left on device
Explanation
There is not enough free space to store the files on the XG700. Some of the files being imported will remain on the
XG700.
Solution
After deleting the files, which are being processed for import, and unnecessary files using the "delete" command,
execute it again.
% tftp: last timeout
Explanation
There is no response from the TFTP server. There is a possibility of network communication error with the
management LAN, or the setting of time out of the TFTP server may be too short.
Solution
Check whether there is no problem in network connection with the TFTP server using the "ping" command. If the
problem persists, review the setting of time out of the TFTP server.
% local file: No such file or directory
Explanation
The specified file does not exist on the XG700.
Solution
Check the status of the file on the XG700.
% 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.
Example
Specify the "start_conf_20050822" file, which has been uploaded to the TFTP server "host1", with the file name "start_conf",
and then import it to the XG700.
Then, check whether the file size of the file imported with the "tftp" command is persistent using the dir/(ls) command.
xg# tftp get host1 start_conf_20050822 start_conf
xg# ls
Update-time File-size File-name
- 2005/08/22 19:22:41 2,604 start_conf