编程开源技术交流,分享技术与知识

网站首页 > 开源技术 正文

交换机升级(交换机升级会导致)

wxchong 2024-08-03 03:08:51 开源技术 45 ℃ 0 评论

//注:本文以Huawei S5732 为例

1、设置PC为FTP Server

(1)PC上用启FTP服务(可以使用3CDaemon软件,此软件运行即可,复制FTP用户名、默认无密码),PC端为服务器端;在交换机上连上FTP。

(2)将PC与交换机的(直连)网络打通。


2、登陆交换机,备份系统软件及配置文件

<S5732>cd flash:/

<S5732>ftp 192.168.1.200

//注:192.168.1.200为PC地址

Trying 192.168.1.200 ...

Press CTRL+K to abort

Connected to 192.168.1.200.

220 3Com 3CDaemon FTP Server Version 2.0

User(192.168.1.200:(none)):anonymous

331 User name ok, need password

Enter password:

230-The response '' is not valid.

230-Next time, please use your email address as password.

230 User logged in

[ftp]binary

200 Type set to I.

//注:根据情况将需要备份的文件下载到PC端,

例:将系统软件s5732-h-v200r019c20spc200.cc备份到FTP服务器,文件默认放在FTP软件所在目录里。

[ftp]put s5732-h-v200r019c20spc200.cc


3、获取新版本的系统软件

//注:将要升级的版本文件上传到交换机。(文件要放在FTP软件所在目录)。

[ftp]get S5732-H-V200R021C00SPC100.cc

200 PORT command successful.

150 File status OK ; about to open data connection

226 Closing data connection; File transfer successful.

FTP: 159915664 byte(s) received in 153.316 second(s) 1018.59Kbyte(s)/sec.


4、断开FTP连接及检查启动文件

[ftp]bye

221 Service closing control connection

查看或核对设备启动时加载的系统软件

<S5732>display boot-loader


5、指定设备启动时加载的系统软件

<S5732>startup system-software S5732-H-V200R021C00SPC100.cc

//注:如果是H3C交换机,指定设备启动时加载的系统软件命令:

<h3c>boot-loader file boot flash:/xxx.bin


6、重启交换机

<S5732>reboot

Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表