通过Console口本地恢复H3C交换机系统(2)

2019-04-14 23:43

文件传送进度。

图15-2 文件传送进程界面

(9)程序下载完成后,系统界面如下: Loading ...CCCCCCCCCC done!

(10)此时重新将超级终端的波特率调整为9600bps,然后根据提示按任意键,系统将给出下面的提示,表示加载成功。

Bootrom updating.....................................done! 【说明】如果在本步没有重新设置超级终端的波特率为9600bps,系统会提示“Your baudrate should be set to 9600 bit/s again! Press enter key when ready”。如果在前面下载Bootrom时的速率已经选择为9600bps,则不用进行调整速率和断开重连接的操作,系统将自动进行Bootrom的升级工作,提示“Bootrom

updating.....................................done!” 2. 加载主机程序软件

主机程序的加载与BOOTROM引导程序的加载,总体上步骤上一样的,只是在能上能下面加载BOOTROM程序的第1步中直接键入数字键1(Download

application file to flash),此时系统会出现如下所示的菜单。 1. Set TFTP protocol parameter 2. Set FTP protocol parameter 3. Set XMODEM protocol parameter 0. Return to boot menu

Enter your choice(0-3):

然后选择键入数字键3,采用XModem协议来对主机软件进行加载。后续的步骤和加载BOOTROM完全一致,区别在于:系统给出的提示是加载主机软件。

以下为网友经验:

本人是h3c初学者,命令都是在真机上练习,昨天在教材上看到format flash:命令,就想实践一下,结果很杯具。但是独立解决问题的过程确使我受益匪浅,增长了不少见识。现将我的经验共享出来(老鸟不要见笑),希望对新人有所帮助。

由于好奇心,单位一台型号为 H3C S3100-16TP-Si的交换机被我format了,结果不停地重新启动,并出现以下提示: Press Ctrl-B to enter Boot Menu... 0 Auto-booting...

No correct default file to boot!

Starting......(然后不停地重启)

欧美噶,出问题了,上网咨询了一下,网友说flash被你格式化了,没有系统了,得重新上传系统文件,我这个新鸟哪会这些啊!可身边又没人会这些,只能硬着头皮自己干了,到51cto论坛发求救贴(http://bbs.51cto.com/thread-806055-1.html),论坛上的朋友很热情,很快就有了头绪。系统文件好办,单位幸好还有一台3100交换机,备份下来不就ok了吗?说干就干,连接上好的3100交换机,输入命令: sys

#建立ftp服务器

[H3C]ftp server enable [H3C]local-user admin

[H3C-luer-admin]service-type ftp

[H3C-luer-admin]password simple 123456

[H3C-luer-admin]quit [H3C]int vlan 1

[H3C-InterfaceVlan1]ip address 192.168.1.1 24 [H3C-InterfaceVlan1]quit

#查询系统文件 [H3C]dir

1 -rw- 3146 Jan 01 2004 00:00:00 config.def

2 (*) -rw- 856380 Jan 01 2004 00:00:00 h3c-http3.1.8-0041.web

3 (*) -rw- 3421398 May 05 2009 16:52:06 s31si_e-cmw310-r2108p04.bin

得到系统文件名:s31si_e-cmw310-r2108p04.bin。

然后设置本地计算机ip地址为192.168.1.2 255.255.255.0 ,将计算机与交换机用直通网线连接起来,在计算机上运行cmd命令,在窗口中输入C:\\Documents and Settings\%user>ftp 192.168.1.1 计算机提示输入用户名和密码,输入后进入ftp。用ftp>get s31si_e-cmw310-r2108p04.bin命令得到系统文件,这个文件会保存到C:\\Documents and Settings\%user目录下。得到系统文件后,下一步就是要把它传输到被格式化的交换机上。 以下是具体步骤:

1.将本地计算机同被格式化的机器通过console口连接起来,启动超级终端,(设置:每秒位数9600 数据位8 奇偶校验无 停止位1 数据流控制无)。

2.将交换机上电,出现以下提示: Starting......

***********************************************************

* *

* H3C S3100-16TP-SI BOOTROM, Version 555 *

* *

*********************************************************** Copyright(c) 2004-2009 Hangzhou H3C Technologies Co., Ltd.

Creation date : Apr 14 2009, 16:10:07 CPU Clock Speed : 200MHz BUS Clock Speed : 33MHz Memory Size : 64MB

Mac Address : 3ce5a60d5f36

Press Ctrl-B to enter Boot Menu... 3 马上按Ctrl+B键,出现

Press Ctrl-B to enter Boot Menu... 0 password: (这里直接按回车) 3.出现引导菜单

BOOT MENU

1. Download application file to flash 2. Select application file to boot 3. Display all files in flash 4. Delete file from flash

5. Modify bootrom password

6. Enter bootrom upgrade menu 7. Skip current configuration file 8. Set bootrom password recovery 9. Set switch startup mode 0. Reboot

Enter your choice(0-3): 选1 4.出现下一级菜单

1. Set TFTP protocol parameter 2. Set FTP protocol parameter

3. Set XMODEM protocol parameter 0. Return to boot menu Enter your choice(0-3): 选3 5.接着提示

Please select your download baudrate: 1.* 9600 2. 19200 3. 38400 4. 57600 5. 115200 0. Return

Enter your choice(0-5): 选1 6.提示

Download baudrate is 9600 bps

Please change the terminal's baudrate to 9600 bps and select XMODEM protocol

Press enter key when ready 按回车,出现以下字符:(这里提示一下,要按回车后,然后再发送文件,否则会出现“远程系统无反应”,我在这里费了好多事)

Now please start transfer file with XMODEM protocol If you want to exit, Press Loading ...CCCCCC

这时要选择超级终端上的“传送”菜单,再选“发送文件”,然后指定系统文件所在的本地路径,再点“发送”按钮。文件发送要等上一段漫 长的时间。。。。

等啊等,好了终于传完了,这时会出现提示: Loading ...CCCCCCdone!

Please input a new file name : 这里输入s31si_e-cmw310-r2108p04.bin Free flash Space: 7410688 bytes

Writing flash...................................................................

................................................................................

.................................................................done! The attribute of s31si_e-cmw310-r2108p04.bin keeps main attribute !

done!

7.出现引导菜单

BOOT MENU

1. Download application file to flash 2. Select application file to boot 3. Display all files

4. Delete file from flash

5. Modify bootrom password

6. Enter bootrom upgrade menu 7. Skip current configuration file 8. Set bootrom password recovery 9. Set switch startup mode 0. Reboot

Enter your choice(0-9): 选2

Select application file to boot 1. Set application files 2. Set configuration files 3. Set web files 0. Return

Enter your choice(0-3): 选1

File Number File Size(bytes) File Name

=============================================================================

1(*) 3421398 s31si_e- Free Space: 3988480 bytes (*)-with main attribute (b)-with backup attribute

(*b)-with both main and backup attribute Please input the file number to change: 选1 Please input the file attribute (main/backup): 这main

Do you want to run s31si_e-cmw310-r2108p04.bin now? Yes or No(Y/N) 这里输入y

Decompress Image................................................................

................................................................................

............................................................................

................................................................................

................................OK! Starting at 0x80100000...

Board checking........................LSN1LTSL SDRAM fast selftest........................OK! Flash fast selftest........................OK! Switch chip selftest.......................OK! Slot 1/1/1 has FIX_COMBO_PORT module Slot 1/2/1 has FIX_COMBO_PORT module PHY selftest...............................OK!

Please check port leds...............FINISHED!

Startup configuration is skipped. User interface aux0 is available.

好了到这里,交换机正常启动,出现了久违了的提示(好鸡动) Press ENTER to get started.

%Apr 1 23:55:35:392 2000 H3C SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 login

到此结束!这就是我的一点心得,希望能对新人有所帮助。


通过Console口本地恢复H3C交换机系统(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:新建

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: