S7500 is used as a FTP server. The PC is the client.
a. Configure a FTP user account, whose name is H3C, and the password is S7500. The authorized directory is the root directory in the flash of the switch.
b. The switch IP is 1.1.1.1, and the IP address of the PC is 2.2.2.2. The switch and the PC are routing reachable.
c. The software file R3132.app is saved in the PC, and should be uploaded to the S7500 switch via FTP. The software of the switch will be upgrade using the R3132.app file.
d. The configuration file vrpcfg.cfg should be downloaded to the PC for backup.
1). Enable the FTP service in the switch, and set the user name and password for logging in the switch.
<H3C-7500> system-view
[H3C-7500] ftp server enable
[H3C-7500] local-user h3c
[H3C-7500-luser-h3c] password simple H3C-7500
[H3C-7500-luser-h3c] service-type ftp ftp-directory flash:/
2). Use the FTP client on the PC to log on to the switch via FTP. The user name and the password are that set in the switch.
C:\> ftp 1.1.1.1
Connected to 1.1.1.1.
220 FTP service ready.
User (1.1.1.1:(none)): h3c
331 Password required for H3C-7500.
Password:
230 User logged in.
ftp>
3). Upload the application file to the switch.
ftp> put R3132.app
200 Port command okay.
150 Opening ASCII mode data connection for switch.app.
226 Transfer complete.
4). Download the vrpcfg.cfg file to the PC.
ftp> get vrpcfg.cfg
200 Port command okay.
150 Opening ASCII mode data connection for vrpcfg.cfg.
226 Transfer complete.
ftp: 3980 bytes received in 8.277 seconds 0.48Kbytes/sec.
5). After uploading the application file, use boot boot-loader command to set the file for next startup. Then reboot the system to complete the upgrade procedure.
<H3C-7500> boot boot-loader primary R3132.app
<H3C-7500> reboot
If the free space in the switch flash is not enough, please firstly delete the old application file, and then upload the new file to the flash.
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作