5-18
Loading Files Using FTP
Run FTP Server on the local host, configure username
admin
and the password, and specify the path
of the file to be downloaded (suppose the IP address of the FTP server is 10.10.110.1). Then, telnet to
the switch and send the host program file to the switch using FTP.
Suppose the Boot ROM and application files are stored in the file named
update.bin
, follow these steps
after you telnet to the switch.
Step1
Download the file to the switch using FTP.
<H3C> ftp 10.10.110.1
Trying ...
Press CTRL+K to abort
Connected.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(none):admin
331 Give me your password, please
Password:
230 Logged in successfully
[ftp] get update.bin update.bin
[ftp] bye
Step2
Load the Boot ROM file.
<H3C> bootrom update file update.bin
This command will update bootrom file on the specified board(s), Continue? [Y/N]:y
Now updating bootrom, please wait...
Step3
Load the application file, and specify the file as the main program file.
<H3C> boot-loader file update.bin main
This command will set the boot file. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
<H3C> display boot-loader
Current boot app is: flash:/update.bin
Next main boot app is: flash:/update.bin
Next backup boot app is: flash:/update.bin
<H3C> reboot
z
After loading the application file, use the
reboot
command to restart the switch to make the update
take effect (make sure you have saved other configurations before restart).
z
If the flash memory does not have enough space, you can load the Boot ROM file first, and then
delete certain application files from the flash memory (you are recommended to delete the unused
host program files); then, load the application file to the switch through FTP for update.
z
Avoid any power failure during the loading process.