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.
|TFTP Server IP Address
||IP address of the TFTP server|
||Name of the configuration file (user-definable)|
|Log Table File
||Name of the protocol file (user-definable)|
||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.
||Start the TFTP server "TFTPD32" with "tftp32.exe".|
||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.
||In the main window you click on the "Settings" button to open the "Settings" dialog and make and verify other settings.
In the "Settings" dialog you enable or disable the functions below under "Global Settings".
||This function enables/disables the TFTP server.|
||This function enables/disables the TFTP client.|
||This function enables/disables the system protocol server.|
||This function enables/disables the SNTP server.|
||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".
||Maximum timeout between two retransmissions.|
||Maximum number of retransmissions.|
||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".
||The function permits data blocks greater than 512 bytes to be negotiated by server and client (for better performance).|
|Show Progress bar
||When the function is enabled, a progress bar is displayed during file transfer.|
|Translate Unix file names
||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.
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.