S3500-EA系列交换机远程升级交换机功能的配置
一、 组网需求:
(1)Device作为FTP Client,设备的应用程序aaa.bin和Bootrom程序boot.btm都保存在FTP Server的根目录下;
(2)Device上的一个VLAN接口的IP地址为1.1.1.1/24,FTP Server的IP地址为2.2.2.2/24,Device与FTP Server之间路由可达;
(3)User通过Telnet远程登录到Device,对Device进行操作(从FTP Server上下载应用程序,通过命令行实现Device的远程升级),请确定User与Device之间路由可达。
二、 组网图:
三、 配置步骤:
(1)在FTP Server上的配置(注意:不同的服务器类型配置可能不同)
# 启动FTP Server功能。
<FTP-Server> system-view
[FTP-Server] ftp server enable
# 配置一个FTP用户名为aaa,密码为hello。
[FTP-Server] local-user aaa
[FTP-Server-luser-aaa] password cipher hello
# 配置该用户权限。
[FTP-Server-luser-aaa] service-type ftp
[FTP-Server-luser-aaa] level 3
(2)在Device上的配置
# 在用户视图下输入命令,登录到FTP Server。
<Device> ftp 2.2.2.2
Trying 2.2.2.2 ...
Press CTRL+K to abort
Connected to 2.2.2.2.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(2.2.2.2:(none)):aaa
331 Give me your password, please
Password:
230 Logged in successfully
[ftp]
# 将FTP Server上的文件aaa.bin和boot.btm下载到Device的Flash。
[ftp] get aaa.bin
[ftp] get boot.btm
# 中断FTP连接,并退回到用户视图下。
[ftp] bye
<Device>
# 升级设备的Bootrom。
<Device> bootrom update file boot.btm
# 指定设备下次启动时的应用程序。
<Device> boot-loader file aaa.bin main
# 重启设备,实现应用程序的升级。
<Device> reboot
四、 配置关键点:
(1)在线升级时,上传文件操作也可以通过TFTP实现;
(2)除在线升级外,用户还可以在BOOTROM菜单下实现软件和BOOTROM升级。
(3)使用不同的FTP Server,客户端登录时显示信息会有差异,请以实际情况为准。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作