一要求 :给公司交换机升级版本,使其更能更强大
二 实施前准备
若用
笔记本 需要usb 转9针串口 或者需要 一台有com口台式机
两、三根网线
三 实施
当前用的是笔记本一台(ip 22.72.42.155),装有
虚拟机linux (22.72.42.154),开通ftp服务器;
台式机一台 带有9针串口,装有xp系统
笔记本 、台式机连接交换机,vm linux 桥接模式
1 crt 快速连接---- 协议 Serial;端口 com1;波特率 9600;数据流控制全部取消
连接后登录 h3c
<H3C>dir /all 查看h3c 里面的资料
Directory of flash:/
0 -rw- 10184320 Jun 29 2010 14:14:25 s5120si-cmw520-r1101p10.bin
1 drw- - Apr 26 2000 12:00:02 logfile
97920 KB total (86818 KB free)
^
% Unrecognized command found at '^' posit
ion.
<H3C>dis ver 显示版本号
H3C Comware Platf
ORM Software
Comware Software, Version 5.20, Release 1101P10
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5120-28P-SI uptime is 0 week, 0 day, 0 hour, 22 minutes
H3C S5120-28P-SI
128M bytes DRAM
128M bytes Nand Flash Memory
Config Re
GISter points to Nand Flash
Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 119
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
<H3C>sys 进入
System View: return to User View with Ctrl+Z.
[H3C]int vlan 1
[H3C-Vlan-interface1]ip add 22.72.42.157 255.255.254.0
[H3C-Vlan-interface1]ping 22.72.42.154
PING 22.72.42.154: 56 data bytes, press CTRL_C to break
Reply from 22.72.42.154: bytes=56 Sequence=1 ttl=64 time=5 ms
Reply from 22.72.42.154: bytes=56 Sequence=2 ttl=64 time=1 ms
Reply from 22.72.42.154: bytes=56 Sequence=3 ttl=64 time=1 ms
Reply from 22.72.42.154: bytes=56 Sequence=4 ttl=64 time=1 ms
Reply from 22.72.42.154: bytes=56 Sequence=5 ttl=64 time=1 ms
--- 22.72.42.154 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/5 ms
需要推出 然后登录ftp ^
[H3C-Vlan-interface1]ftp 22.72.42.154
^
% Unrecognized command found at '^' position.
[H3C-Vlan-interface1]tftp 22.72.42.154
^
% Unrecognized command found at '^' position.
[H3C-Vlan-interface1]quit
[H3C]quit
<H3C>ftp 22.72.42.154 连接服务器 下载版本
Trying 22.72.42.154 ...
Press CTRL+K to abort
Connected to 22.72.42.154.
220 (vsFTPd 2.0.5)
User(22.72.42.154:(none)):root
331 Please specify the pass
Word.
Password:
230 Login successful.
[ftp]ls
227 Entering Passive Mode (22,72,42,154,149,40)
150 Here comes the directory listing.
Desktop
S5120SI_E-CMW520-R1505P05.bin
anaconda-ks.cfg
install.log
install.log.syslog
226 Directory send OK.
FTP: 90 byte(s) received in 0.140 second(s), 642.00 byte(s)/sec.
[ftp]get S5120SI_E-CMW520-R1505P05.bin S5120SI_E-CMW520-R1505P05.bin
227 Entering Passive Mode (22,72,42,154,167,94)
150 Opening BINARY mode data connection for S5120SI_E-CMW520-R1505P05.bin (13488280 bytes).
226 File send OK.
FTP: 13488280 byte(s) received in 28.906 second(s), 466.00K byte(s)/sec.
[ftp]quit
<H3C>dir
Directory of flash:/
0 -rw- 13488280 Apr 26 2000 16:57:01 s5120si_e-cmw520-r1505p05.bin
1 -rw- 10184320 Jun 29 2010 14:14:25 s5120si-cmw520-r1101p10.bin
2 drw- - Apr 26 2000 12:00:02 logfile
97920 KB total (73642 KB free)
<H3C>boot-loader file S5120SI_E-CMW520-R1505P05.bin m
ain # main 后面加一个空格然后回车
This command will set the boot file. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
<H3C>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Current configuration may be lost in next startup if you continue. Continue? [Y/N]:y
#Apr 26 16:59:14:655 2000 H3C DEV/1/REBOOT:
Reboot device by command.
%Apr 26 16:59:14:740 2000 H3C DEV/4/SYSTEM REBOOT:
System is rebooting now.
Starting......
************************************************************************
* *
* H3C S5120-28P-SI BOOTROM, Version 119 *
* *
************************************************************************
Creation Date : Feb 3 2010
CPU L1 Cache : 32KB
CPU Clock Speed : 333MHz
Memory Size : 128MB
Flash Size : 128MB
CPLD Version : 002
PCB Version : Ver.B
Mac Address : C4CAD99F6E68
Press Ctrl-B to enter Extended Boot menu...0
Starting to get the main application
file--flash:/S5120SI_E-CMW520-R1505P05.bin!....................................
...................................................................
The main application file is self-decompressing................................
...............................................................................
.......................................................Done!
Extend BootWare Version is not equal,updating? (Y/N):Y
Updating extended BootRom...Done!
Basic BootWare Version is not equal,updating? (Y/N):
Updating Basic BootRom...Done!
BootWare updated,System is rebooting now.
Starting......
********************************************************************************
* *
* H3C S5120-28P-SI BOOTROM, Version 139 *
* *
********************************************************************************
Copyright (c) 2004-2011 Hangzhou H3C Technologies Co., Ltd.
Creation Date : May 5 2011
CPU L1 Cache : 32KB
CPU Clock Speed : 333MHz
Memory Size : 128MB
Flash Size : 128MB
CPLD Version : 002
PCB Version : Ver.B
Mac Address : C4CAD99F6E68
the normal and back basic is not equal, update back basic....
the normal and back extend is not equal, update back extend....
Press Ctrl-B to enter Extended Boot menu...0
Starting to get the main application file--flash:/S5120SI_E-CMW520-R1505P05.
bin!............................................................................
...........................
The main application file is self-decompressing.................................
................................................................................
.....................................................Done!
System is starting...
Startup configuration file does not exist.
User interface aux0 is available.
Press ENTER to get started.
<H3C>
#Apr 26 12:01:36:389 2000 H3C
shell/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console
%Apr 26 12:01:36:528 2000 H3C SHELL/5/SHELL_LOGIN: Console logged in from aux0.
% Unrecognized command found at '^' position.
<H3C>dis ver 看版本
H3C Comware Platform Software
Comware Software, Version 5.20, Release 1505P05
Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5120-28P-SI uptime is 0 week, 0 day, 0 hour, 2 minutes
H3C S5120-28P-SI
128M bytes DRAM
128M bytes Nand Flash Memory
Config Register points to Nand Flash
Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 139
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
******************************************************************************
* Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
User interface aux0 is available.
Please press ENTER.
<H3C> 完成
一要求 :给公司交换机升级版本,使其更能更强大
二 实施前准备
若用笔记本 需要usb 转9针串口 或者需要 一台有com口台式机
服务器(vm)一台 开通ftp
两、三根网线
Xp 装有crt 远程连接工具
三 实施
当前用的是笔记本一台(ip 22.72.42.155),装有虚拟机linux (22.72.42.154),开通ftp服务器;
台式机一台 带有9针串口,装有xp系统
笔记本 、台式机连接交换机,vm linux 桥接模式
1 crt 快速连接---- 协议 Serial;端口 com1;波特率 9600;数据流控制全部取消
连接后登录 h3c
<H3C>dir /all 查看h3c 里面的资料
Directory of flash:/
0 -rw- 10184320 Jun 29 2010 14:14:25 s5120si-cmw520-r1101p10.bin
1 drw- - Apr 26 2000 12:00:02 logfile
97920 KB total (86818 KB free)
^
% Unrecognized command found at '^' position.
<H3C>dis ver 显示版本号
H3C Comware Platform Software
Comware Software, Version 5.20, Release 1101P10
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5120-28P-SI uptime is 0 week, 0 day, 0 hour, 22 minutes
H3C S5120-28P-SI
128M bytes DRAM
128M bytes Nand Flash Memory
Config Register points to Nand Flash
Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 119
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
<H3C>sys 进入
System View: return to User View with Ctrl+Z.
[H3C]int vlan 1
[H3C-Vlan-interface1]ip add 22.72.42.157 255.255.254.0
[H3C-Vlan-interface1]ping 22.72.42.154
PING 22.72.42.154: 56 data bytes, press CTRL_C to break
Reply from 22.72.42.154: bytes=56 Sequence=1 ttl=64 time=5 ms
Reply from 22.72.42.154: bytes=56 Sequence=2 ttl=64 time=1 ms
Reply from 22.72.42.154: bytes=56 Sequence=3 ttl=64 time=1 ms
Reply from 22.72.42.154: bytes=56 Sequence=4 ttl=64 time=1 ms
Reply from 22.72.42.154: bytes=56 Sequence=5 ttl=64 time=1 ms
--- 22.72.42.154 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/5 ms
需要推出 然后登录ftp ^
[H3C-Vlan-interface1]ftp 22.72.42.154
^
% Unrecognized command found at '^' position.
[H3C-Vlan-interface1]tftp 22.72.42.154
^
% Unrecognized command found at '^' position.
[H3C-Vlan-interface1]quit
[H3C]quit
<H3C>ftp 22.72.42.154 连接服务器 下载版本
Trying 22.72.42.154 ...
Press CTRL+K to abort
Connected to 22.72.42.154.
220 (vsFTPd 2.0.5)
User(22.72.42.154:(none)):root
331 Please specify the password.
Password:
230 Login successful.
[ftp]ls
227 Entering Passive Mode (22,72,42,154,149,40)
150 Here comes the directory listing.
Desktop
S5120SI_E-CMW520-R1505P05.bin
anaconda-ks.cfg
install.log
install.log.syslog
226 Directory send OK.
FTP: 90 byte(s) received in 0.140 second(s), 642.00 byte(s)/sec.
[ftp]get S5120SI_E-CMW520-R1505P05.bin S5120SI_E-CMW520-R1505P05.bin
227 Entering Passive Mode (22,72,42,154,167,94)
150 Opening BINARY mode data connection for S5120SI_E-CMW520-R1505P05.bin (13488280 bytes).
226 File send OK.
FTP: 13488280 byte(s) received in 28.906 second(s), 466.00K byte(s)/sec.
[ftp]quit
221 Goodbye.
<H3C>dir
Directory of flash:/
0 -rw- 13488280 Apr 26 2000 16:57:01 s5120si_e-cmw520-r1505p05.bin
1 -rw- 10184320 Jun 29 2010 14:14:25 s5120si-cmw520-r1101p10.bin
2 drw- - Apr 26 2000 12:00:02 logfile
97920 KB total (73642 KB free)
<H3C>boot-loader file S5120SI_E-CMW520-R1505P05.bin main # main 后面加一个空格然后回车
This command will set the boot file. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
<H3C>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Current configuration may be lost in next startup if you continue. Continue? [Y/N]:y
#Apr 26 16:59:14:655 2000 H3C DEV/1/REBOOT:
Reboot device by command.
%Apr 26 16:59:14:740 2000 H3C DEV/4/SYSTEM REBOOT:
System is rebooting now.
Starting......
************************************************************************
* *
* H3C S5120-28P-SI BOOTROM, Version 119 *
* *
************************************************************************
Creation Date : Feb 3 2010
CPU L1 Cache : 32KB
CPU Clock Speed : 333MHz
Memory Size : 128MB
Flash Size : 128MB
CPLD Version : 002
PCB Version : Ver.B
Mac Address : C4CAD99F6E68
Press Ctrl-B to enter Extended Boot menu...0
Starting to get the main application
file--flash:/S5120SI_E-CMW520-R1505P05.bin!....................................
...................................................................
The main application file is self-decompressing................................
...............................................................................
.......................................................Done!
Extend BootWare Version is not equal,updating? (Y/N):Y
Updating extended BootRom...Done!
Basic BootWare Version is not equal,updating? (Y/N):
Updating Basic BootRom...Done!
BootWare updated,System is rebooting now.
Starting......
********************************************************************************
* *
* H3C S5120-28P-SI BOOTROM, Version 139 *
* *
********************************************************************************
Copyright (c) 2004-2011 Hangzhou H3C Technologies Co., Ltd.
Creation Date : May 5 2011
CPU L1 Cache : 32KB
CPU Clock Speed : 333MHz
Memory Size : 128MB
Flash Size : 128MB
CPLD Version : 002
PCB Version : Ver.B
Mac Address : C4CAD99F6E68
the normal and back basic is not equal, update back basic....
the normal and back extend is not equal, update back extend....
Press Ctrl-B to enter Extended Boot menu...0
Starting to get the main application file--flash:/S5120SI_E-CMW520-R1505P05.
bin!............................................................................
...........................
The main application file is self-decompressing.................................
................................................................................
.....................................................Done!
System is starting...
Startup configuration file does not exist.
User interface aux0 is available.
Press ENTER to get started.
<H3C>
#Apr 26 12:01:36:389 2000 H3C SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console
%Apr 26 12:01:36:528 2000 H3C SHELL/5/SHELL_LOGIN: Console logged in from aux0.
% Unrecognized command found at '^' position.
<H3C>dis ver 看版本
H3C Comware Platform Software
Comware Software, Version 5.20, Release 1505P05
Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5120-28P-SI uptime is 0 week, 0 day, 0 hour, 2 minutes
H3C S5120-28P-SI
128M bytes DRAM
128M bytes Nand Flash Memory
Config Register points to Nand Flash
Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 139
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
******************************************************************************
* Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
User interface aux0 is available.
Please press ENTER.
<H3C> 完成
0