3 ftp/tftp upgrade, 1 introduction to ftp/tftp, 3 ftp/tftp upgrade -16 – PLANET XGS3-24042 User Manual
Page 70

4-16
Step 9:
Execute write flash:/config.rom in BootROM mode. The following saves the update file.
[Boot]: write flash:/config.rom
[Boot]: write flash:/config.rom
File exists, overwrite? (Y/N)[N] y
Writing flash:/config.rom...
Write flash:/config.rom OK.
[Boot]:
Step 10:
After successful upgrade, execute run or reboot command in BootROM mode to return to CLI configuration
interface.
[Boot]: run(or reboot)
Other commands in BootROM mode
1. DIR command
Used to list existing files in the FLASH.
[Boot]: dir
config.rom 405,664 1980-01-01 00:00:00 --SH
boot.rom 2,608,352 1980-01-01 00:00:00 --SH
boot.conf 256 1980-01-01 00:00:00 ----
nos.img 8,071,910 1980-01-01 00:00:00 ----
startup.cfg 1,590 1980-01-01 00:00:00 ----
4.5.3 FTP/TFTP Upgrade
4.5.3.1 Introduction to FTP/TFTP
FTP(File Transfer Protocol)/TFTP(Trivial File Transfer Protocol) are both file transfer protocols that belonging
to fourth layer(application layer) of the TCP/IP protocol stack, used for transferring files between hosts, hosts
and switches. Both of them transfer files in a client-server model. Their differences are listed below.
FTP builds upon TCP to provide reliable connection-oriented data stream transfer service. However, it does
not provide file access authorization and uses simple authentication mechanism (transfers username and
password in plain text for authentication). When using FTP to transfer files, two connections need to be
established between the client and the server: a management connection and a data connection. A transfer
request should be sent by the FTP client to establish management connection on port 21 in the server, and
negotiate a data connection through the management connection.