beautypg.com

2 tftp configuration, 1 introduction to tftp, 2 tftp configuration -13 – H3C Technologies H3C S3100 Series Switches User Manual

Page 545: 1 introduction to tftp -13

background image

Operation Manual – FTP and TFTP

H3C S3100-52P Ethernet Switch

Chapter 1 FTP and TFTP Configuration

1-13

[ftp] cd switch

# Run the put command to upload the configuration file named config.cfg to the FTP
server.

[ftp] put config.cfg

# Run the get command to download the file named switch.bin to the Flash memory of
the switch.

[ftp] get switch.bin

# Run the quit command to terminate the FTP connection and quit to user view.

[ftp] quit

# Run the boot boot-loader command to specify the downloaded file (switch.bin) to be
the startup file used when the switch starts the next time, and then restart the switch.
Thus the switch application is upgraded.

boot boot-loader switch.bin

reboot

Note:

For information about the boot boot-loader command and how to specify the startup
file for a switch, refer to the “System Maintenance and Debugging” module of this
manual.

1.2 TFTP Configuration

1.2.1 Introduction to TFTP

Compared with FTP, TFTP (trivial file transfer protocol) features simple interactive
access interface and no authentication control. Therefore TFTP is applicable in the
networks where client-server interactions are relatively simple. TFTP is implemented
based on UDP. It transfers data through UDP port 69. Basic TFTP operations are
described in RFC1986.
TFTP transmission is initiated by clients, as described in the following:

z

To download a file, a client sends Read Request packets to the TFTP server, then
receives data from the TFTP server, and sends acknowledgement packets to the
TFTP server.

z

To upload a file, a client sends Write Request packets to the TFTP server, then
sends data to the TFTP server, and receives acknowledgement packets from the
TFTP server.