This document describes how to use Trivial File Transfer Protocol (TFTP) on a PC to install Cisco StrataCom software and firmware.
This section provides sample directory layouts and program settings. It also includes tips on path name settings in the dnld files. These examples reference the Cisco TFTP server and the Weird Solutions TFTP client, but the same principles can be used with other vendor software. It is assumed that the TFTP client and server are already installed.
Create the dnld.fw and/or dnld.sw files on a UNIX machine using vi/textedit/dtpad (or create them with a UNIX-capable editor such as DwEdit). The file format is illustrated in the table below. These files are in UNIX text format which means the line terminator is a new-line/line-feed (0A) character. DOS and Windows text files use carriage-return, linefeed pair (0D0A). Currently, WAN switches do not accept dnld files with DOS or Windows line terminators. FTP the files from a UNIX machine to a PC. Ensure the transfer is in binary mode. If DwEdit was used, select Edit -> Conversions -> Windows -> UNIX (each line will appear on one line with black blocks between them). If these files are edited on a PC, they must be edited with WordPad. WordPad retains the original line terminators that were loaded when the file was read; however, I have not found a way to make it read a DOS-style file and write a UNIX-style file. Notepad always writes in DOS/Windows style.
An easy way to determine the style of the file is to load the file in Notepad (the original Windows version, not Notepad+). If the fields appear normal, the file is in DOS/Windows style. If the fields are all on one line with blocks between them, the file is in UNIX style. Exit Notepad without saving. If the file is translated to DOS/Windows style, FTP it again and edit it, or convert it with a utility like DwEdit.
Examples of dnld Files in UNIX Format
dnld.fw | dnld.sw |
---|---|
Tftp_Request IP: 161.44.116.53 PathName: /ipxbpx CardName: ASI-155 RevNum: WDK FileName: wdk |
Tftp_Request IP: 161.44.116.53 PathName: /ipxbpx RevNum: 9102 Filename: 9102B |
If templates of the UNIX dnld files or a UNIX-style editor is not available, the dnld files can be edited and created with a regular Windows editor such as Notepad In this case, to avoid the new-line/linefeed problem described above, all the fields must be on a single line separated by spaces.
Examples of dnld Files in DOS/Windows Format
dnld.fw |
---|
Tftp_Request IP: 171.68.44.9 PathName: . CardName: ASI-155 RevNum: WDK Filename: wdk |
dnld.sw |
Tftp_Request IP: 171.68.44.9 PathName: . RevNum: 9108 Filename: 9108B |
Field | Comments |
---|---|
IP | Enter the IP address of the PC. If using Dynamic Host Configuration Protocol (DHCP), run the Windows 95 winipcfg utility 95 or the Windows NT ipconfig utility to find the IP address. |
PathName | Enter /ipxbpx if the server root is set for c:\images. If the server root is c:\images\ipxbpx, enter a slash (/) or a period (.). Use forward slashes (/) in path names (the back slash (\) is not supported in all SWSW revisions). |
CardName | For the dnld.fw file, enter the card name that would be used in the getfwrev command (from dspcds). |
RevNum | Enter the revision (for example, WDK for firmware and 9108 for software). |
Filename | Enter the identifier portion of the files (for example, wdk for firmware and 9108B for BPX software). |
This section describes how to initiate the transfer after all of the preliminary setup steps have been completed.
This section describes some common errors which may be seen when using the TFTP client.
Error | Explanation |
---|---|
Invalid String | The dnld file is in DOS/Windows format or the field names have been typed incorrectly. See step 3 in the Preliminary Setup section above. |
File too large | The dnld file is probably in Word, RTF format, or corrupt. See step 3 in the Preliminary Setup section above. |
Error on server: Illegal TFTP operation | TFTP Put is in ASCII mode. Switch to Binary mode. |
Error on server: SV+ not authorized to initiate FW/SW dnld | Cnffwswinit IP address is not set to the PC's IP address on the node. |
Download Space Not FREE | Configuration image (from savecnf) present (use the savecnf clear command to clear). |
File not found | Check the Server Root and PathName configuration. Also make sure the image file has a lowercase extension (.img instead of .IMG). The node looks for upper and lowercase file names, but the extension must be in lowercase letters. Also, check for extra spaces after the file name. Recheck the PC's IP address entered in the dnld file. |
SW revision change going on | SWSW download in progress. |
Invalid Revision number | Revision does not match card type. |
Invalid Card Type | Card specified in the CardName field in dnld.fw is not valid. |
Card does not support FW download | In earlier releases of SWSW, some cards (ASI, BNI, HDM, LDM) are not supported, and the error code 78 will appear. See bug CSCdj35089. |
This section describes some additional caveats when using other versions of TFTP client/server software.
Network TeleSystems TFTP Server
All contents copyright © 1992--2000 Cisco Systems Inc. Important Notices and Privacy Statement.