Description The Trivial File Transfer Protocol (TFTP) is a very simple file transfer protocol. TFTP is a very simplified version of the File Transfer Protocol (FTP) and is a packet-oriented protocol that supports only reading or writing of files. TFTP does not support listing of directory contents, authentication, compression or encryption, for example. The maximum file size is 32 MB with a defined packet size of 512 bytes.
The diagnostics data of the OSM, ESM and SCALANCE network components can be read out by a TFTP server using the Trivial File Transfer Protocol. Proceed using the following instructions:
Settings in the web-based management of network components OSM, ESM and SCALANCE Make the settings below in the web-based management of the network components.
|
Setting |
Description |
| TFTP Server IP Address |
IP address of the TFTP server |
| Configuration File |
Name of the configuration file (user-definable) |
| Log Table File |
Name of the protocol file (user-definable) |
| Firmware File |
Name of the firmware file (user-definable) |
In the web-based management of SCALANCE X-200, SCALANCE X-300 and SCALANCE X-400 you make the settings in the "System > Save & Load TFTP" menu.
In the web-based management of OSM and ESM you make the settings in the "System > Save & Load" menu.
Settings of the TFTP server In this example we use the TFTP server "TFTPD32". A sample setting is explained for this TFTP server.
| No. |
Procedure |
| 1 |
Start the TFTP server "TFTPD32" with "tftp32.exe". |
| 2 |
Make the following settings in the main window:
- For "Current Directory" you select the directory in which the files are stored.
- For "Server Interface" you select the network interface via which the TFTP server can be reached.

Fig. 01
|
| 3 |
In the main window you click on the "Settings" button to open the "Settings" dialog and make and verify other settings.

Fig. 02
|
In the "Settings" dialog you enable or disable the functions below under "Global Settings".
| Function |
Status |
Description |
| TFTP Server |
Enabled |
This function enables/disables the TFTP server. |
| TFTP Client |
Enabled |
This function enables/disables the TFTP client. |
| Syslog Server |
Enabled |
This function enables/disables the system protocol server. |
| SNTP Server |
Disabled |
This function enables/disables the SNTP server. |
| DHCP Server |
Disabled |
This function enables/disables the DHCP server. |
In the "Settings" dialog you select the "Standard" option under "TFTP Security". This setting permits read and write access to the directory selected in the main window.
In the "Settings" dialog you make the settings below under "TFTP configuration".
| Setting |
Value |
Description |
| Timeout (seconds) |
3 |
Maximum timeout between two retransmissions. |
| Max. Retransmit |
6 |
Maximum number of retransmissions. |
| tftp port |
69 |
Number of port on which incoming transfers are listened for. |
| local ports pool |
- |
Pool of local ports that may be used for data transfers (connection requests to Port 69 are answered on ports randomly selected by the sender (=TID)). Notation 10000:19999) |
In the "Settings" dialog you enable the functions below under "Global Settings".
| Function |
Status |
Description |
| Negotiation option |
Enabled |
The function permits data blocks greater than 512 bytes to be negotiated by server and client (for better performance). |
| Show Progress bar |
Enabled |
When the function is enabled, a progress bar is displayed during file transfer. |
| Translate Unix file names |
Enabled |
The function translates the Unix file separator "/" into "\". |
Sending the diagnostics data to the TFTP server In order to send the diagnostics data to the TFTP server, in the web-based management of SCALANCE X-200, SCALANCE X-300 and SCALANCE X-400 you select the menu "System > Save & Load TFTP". Then click on the "Save Log Table" button.
In the web-based management of OSM and ESM you select the menu "System > Save & Load" and click on the "Save Log Table" button to send the diagnostics data to the TFTP server.
 Fig. 03
Note With SCALANCE you can also use the Hypertext Transfer Protocol (HTTP) to save event logs. In this case it is not necessary to install an TFTP server on the computer.
|