76
TFTP client configuration example
Network requirements
Configure the PC in Figure 30 as a TFTP server, and use TFTP to download the system software image file
newest.bin from the TFTP server to the client and upload the configuration file config.cfg from the TFTP
client to the server for backup.
Figure 30 Network diagram
Configuration procedure
This configuration procedure assumes that the PC and the IRF fabric can reach each other.
1. Configure the PC (TFTP server):
{ Enable the TFTP server. (Details not shown.)
{ Configure a TFTP working directory. (Details not shown.)
2. Configure the IRF fabric (TFTP client):
# Examine the storage medium of the device for insufficiency or impairment. If no sufficient free
space is available, use the delete/unreserved file-url command to delete unused files. (Details not
shown.)
# Download system software image file newest.bin from the PC to the master and subordinate
devices:
{ Download system software image file newest.bin from the PC to the root directory of the Flash
on the master.
<Sysname> tftp 1.2.1.1 get newest.bin
{ Download system software image file newest.bin from the PC to the root directory of the Flash
on a subordinate device (with the member ID 2).
<Sysname> tftp 1.2.1.1 get newest.bin slot2#flash:/newest.bin
# Upload a configuration file config.cfg to the TFTP server.
<Sysname> tftp 1.2.1.1 put config.cfg configback.cfg
# Specify newest.bin as the main system software image file for the next startup for all member
devices.
<Sysname> boot-loader file newest.bin slot all main
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot
1!
The specified file will be used as the main boot file at the next reboot on slot
2!