步骤 1 设置设备为FTP服务器
在S-switch上启动FTP服务,并配置FTP用户名ftpuser,口令ftppwd。
system-view
[Quidway] ftp server enable
[Quidway] aaa
[Quidway-aaa] local-user ftpuser password simple ftppwd
[Quidway-aaa] local-user ftpuser service-type ftp
[Quidway-aaa] local-user ftpuser ftp-directory flash:/
[Quidway-aaa] return
步骤 2 配置设备IP
system-view
[Quidway] vlan 10
[Quidway-vlan10] port ethernet 0/0/1 空闲业务网口
[Quidway-vlan10] quit
[Quidway] interface vlanif 10
[Quidway-Vlanif10] ip address 1.1.1.1 24
[Quidway-Vlanif10] quit
[Quidway]
步骤 3 登录FTP服务器(S-switch)
在PC上执行ftp ip-address命令,与设备建立FTP连接,并进入FTP客户端视图。
D:\>ftp 1.1.1.1
Connected to 1.1.1.1.
220 FTP service ready.
User (1.1.1.2:(none)): ftpuser
331 Password required for 1.
Password:
230 User logged in.
ftp>
步骤 4 下载S2300产品系统软件
在FTP客户端(PC)上执行put source-filename [ destination-filename ],从PC上传VRP系统软件。上传结束后,执行bye命令,断开ftp连接,返回用户视图。
竞pat文件保存到D:路径下
ftp> put "D:\s23_33_53-v100r002sph009.pat"
200 Port command okay.
150 Opening ASCII mode data connection for s23_33_53-v100r002sph009.pat.
226 Transfer complete.
ftp: 发送 4940436 字节,用时 35.10Seconds 140.76Kbytes/sec.
ftp> bye
221 Server closing.
D:\>
下面是安装的过程!
请按照下面的步骤完成补丁包文件的安装。
步骤 1 将补丁下载到FLASH中
通过FTP方式或串口方式将补丁下载到FLASH中。
步骤 2 加载补丁包文件
patch load s23_33_53-v100r002sph009.pat
Info: Patch load successfully on master board.
步骤 3 激活补丁
patch active
Info: Patch active successfully on master board.
步骤 4 运行补丁
patch run
Info: Patch run successfully on master board.
---结束
转载于:https://blog.51cto.com/liushuai/1874451