TFTP client configuration (IRF mode) example
Network requirements
•
As shown in
ID of the master is 1 and that of the subordinate switch is 2.
•
The PC serves as a TFTP server and the IRF virtual device as a TFTP client. Their IP addresses are
1.2.1.1/16 and 1.1.1.1/16 respectively. Device and PC are reachable to each other.
•
The IRF virtual device downloads a boot file from PC for upgrading and uploads a configuration file
named config.cfg to PC for backup.
Figure 2 Smooth upgrading using the TFTP client function
Procedure
CAUTION:
If the available memory space of the master and subordinate switches is not enough, use fixdisk to clear
•
the memory or use delete /unreserved
following operations.
The boot file used for the next startup must be saved under the root directory of the storage medium.
•
Copy or move a file to the root directory of the storage medium. For more information about
boot-loader, see
Configure the PC (TFTP Server), the configuration procedure is omitted.
1.
On the PC, enable the TFTP server.
Configure a TFTP working directory.
Configure the IRF virtual device (TFTP Client)
2.
# Download application file newest.bin from PC to the master and subordinate switches.
Download application file newest.bin from PC to the root directory of the storage medium on the
master.
Download application file newest.bin from PC to the root directory of the storage medium on a
subordinate switch (with the member ID 2).
Figure
2, an IRF virtual device comprises a master and a subordinate switch. The member
Fundamentals Command Reference.
<Sysname> tftp 1.2.1.1 get newest.bin
<Sysname> tftp 1.2.1.1 get newest.bin slot2#flash:/newest.bin
file
url
-
to delete the files not in use and then perform the
103