3300交换机升级软件版本 命令行下 查看 flash空间不足 开启web 管理
解决方案
首先准备 好要升级的软件包 和升级指导说明书 查看软件限制是否可以直接升级
搭建网络环境 是pc设备与交换机联通
打开调试软件crt或者超级终端
调试软件为crt时参数设置如下:

软件为电脑自带超级终端参数如下:

配置电脑的网卡的ip地址

设置ftpserver.exe 软件的参数
主要有ftp服务器的根目录 用户名和密码 上传下载的权限

在调试软件里面操作
<Quidway>display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 2 Routes : 2
Destination/Mask Proto Pre Cost Flags NextHop Interface
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
[Quidway]interface Vlanif 1
[Quidway-Vlanif1]ip address 192.168.1.1 24 /给交换机配置ip地址并测试与电脑的连通性
[Quidway]ping
[Quidway]ping 192.168.1.40
PING 192.168.1.40: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.40: bytes=56 Sequence=1 ttl=128 time=1 ms
Reply from 192.168.1.40: bytes=56 Sequence=2 ttl=128 time=1 ms
Reply from 192.168.1.40: bytes=56 Sequence=3 ttl=128 time=1 ms
Reply from 192.168.1.40: bytes=56 Sequence=4 ttl=128 time=1 ms
Reply from 192.168.1.40: bytes=56 Sequence=5 ttl=128 time=1 ms
--- 192.168.1.40 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms
<Quidway>display version /查看设备的软件版 比较设备的现在运行的软件和需要升级到的软件版本 看是否需要中间版本
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S3328 V100R005C01SPC100)
Copyright (C) 2000-2011 HUAWEI TECH CO., LTD
Quidway S3328TP-EI Routing Switch uptime is 0 week, 0 day, 0 hour, 2 minutes
EOFEA 0(Master) : uptime is 0 week, 0 day, 0 hour, 1 minute
128M bytes DDR Memory
16M bytes FLASH
Pcb Version : VER B
Basic BOOTROM Version : 330 Compiled at Aug 24 2010, 21:55:11
Software Version : VRP (R) Software, Version 5.70 (S3328 V100R005C01SPC100)
<Quidway>dir /查看flash剩余空间
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 -rw- 851 Jan 01 2008 00:11:16 private-data.txt
1 -rw- 120 Jan 01 2008 00:09:09 vrpcfg.zip
2 -rw- 8,191,404 Jan 01 2008 00:12:54 S3328-V100R005C01SPC100.cc
14,632 KB total (6,608 KB free)
<Quidway>format flash: /在设备正常运行的时候格式化flash 为新上传的软件提供存储空间
All data(include configuration and system startup file) on flash: will be lost , proceed with format ? [Y/N]:y....................................................................
%Format flash: completed.
<Quidway>ftp 192.168.1.40 / 从交换机登陆ftp服务器
Trying 192.168.1.40 ...
Press CTRL+K to abort
Connected to 192.168.1.40.
220 欢迎访问 Slyar FTPserver!
User(192.168.1.40:(none)):123
331 Please specify the password.
Enter password:
230 Login successful.
[ftp]get S3300-28TP-EI-V100R006C03.cc 下载软件版本到交换机
200 Port command successful.
150 Opening BINARY mode data connection for file transfer.
1%
99%
226 Transfer complete
FTP: 8789100 byte(s) received in 149.290 second(s) 58.87Kbyte(s)/sec.
[ftp]qu
[ftp]quit
220 再见!
<Quidway>dir
<Quidway>dir / 查看软件比较大小缺人上传是否成功
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 -rw- 8,789,100 Jan 01 2008 00:21:53 s3300-28tp-ei-v100r006c03.cc
14,632 KB total (6,040 KB free)
<Quidway>startup sy
<Quidway>startup system-software s3300-28tp-ei-v100r006c03.cc / 设置下次启动系统软件版本为新上传的版本
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BOOTROM,please wait for a moment...
Info: BOOTROM UPGRADE OK
Info: Succeeded in setting the software for booting system.
<Quidway>reb
<Quidway>reboot / 重启设备
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the next startup:, Continue?[Y/N]:y / 是否保存运行配置
Now saving the current configuration to the slot 0 .
Info: Save the configuration successfully.
System will reboot! Continue?[Y/N]:y /是否继续重启
Jan 1 2008 00:25:54-05:13 Quidway %%01CMD/4/REBOOT(l)[33]:The user chose Y when deciding whether to reboot the system.
Info: system is rebooting ,please wait...
Jan 1 2008 00:25:54-05:13 Quidway %%01SRM/4/MSTRSCURST(l)[34]:Master SCU is reset.
Jan 1 2008 00:25:54-05:13 Quidway %%01SRM/4/ResetReason(l)[35]:Reset by VRP cmd.
BIOS LOADING ...
Copyright (c) 2008-2011 HUAWEI TECH CO., LTD.
设备重启信息 省略
create task begin................
task init begin...
Recover configuration...OK!
Press ENTER to get started.
done
Please configure the login password (maximum length 16)
Enter Password:
Confirm Password:
<Quidway>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 8,789,100 Jan 01 2008 00:21:53 s3300-28tp-ei-v100r006c03.cc
1 -rw- 851 Jan 01 2008 00:27:15 private-data.txt
2 -rw- 555 Jan 01 2008 00:25:42 vrpcfg.zip
14,632 KB total (6,024 KB free)
<Quidway>display version / 查看软件版本确认升级成功
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S3328 V100R006C03)
Copyright (C) 2003-2011 HUAWEI TECH CO., LTD
Quidway S3328TP-EI Routing Switch uptime is 0 week, 0 day, 0 hour, 2 minutes
EOFEA 0(Master) : uptime is 0 week, 0 day, 0 hour, 1 minute
128M bytes DDR Memory
16M bytes FLASH
Pcb Version : VER B
Basic BOOTROM Version : 348 Compiled at Jun 26 2012, 18:56:33
Software Version : VRP (R) Software, Version 5.70 (V100R006C03)
开启web功能 操作过程
上传软件过程与前面上传大包软件相同
<Quidway>ftp
<Quidway>ftp 192.168.1.40
Trying 192.168.1.40 ...
Press CTRL+K to abort
Connected to 192.168.1.40.
220 欢迎访问 Slyar FTPserver!
User(192.168.1.40:(none)):123
331 Please specify the password.
Enter password:
230 Login successful.
[ftp]get
[ftp]get S3300-28TP-EI-V100R006C03.web.zip / 从ftp服务器下载web包到交换机
200 Port command successful.
150 Opening BINARY mode data connection for file transfer.
1% 99%
226 Transfer complete
FTP: 1348985 byte(s) received in 14.080 second(s) 95.80Kbyte(s)/sec.
[ftp]qu
[ftp]quit
220 再见!
<Quidway>sy
<Quidway>system-view
<Quidway>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 8,789,100 Jan 01 2008 00:21:53 s3300-28tp-ei-v100r006c03.cc
1 -rw- 851 Jan 01 2008 00:27:15 private-data.txt
2 -rw- 555 Jan 01 2008 00:25:42 vrpcfg.zip
3 drw- - Jan 01 2008 00:29:35 resetinfo
4 -rw- 1,348,985 Jan 01 2008 00:30:02 s3300-28tp-ei-v100r006c03.web.zip
14,632 KB total (4,688 KB free)
<Quidway>sy
<Quidway>system-view
Enter system view, return user view with Ctrl+Z.
[Quidway]http server load S3300-28TP-EI-V100R006C03.web.zip / 加载web包
Info: The loading process may take a few seconds, please wait........
Info: Succeeded in loading web file.
[Quidway]http server enable /开启web功能
Info: Starting the HTTP server successfully.
[Quidway]
[Quidway]aaa
[Quidway-aaa]local-user admin password cipher admin /配置web登陆的用户名密码
[Quidway-aaa]local-user admin service-type http ?
8021x 802.1x user
bind Bind authentication user
ftp FTP user
ppp PPP user
ssh SSH user
telnet Telnet user
terminal Terminal user
web Web authentication user
x25-pad X25-pad user
<cr>
[Quidway-aaa]local-user admin service-type http / 设置用户 服务类型
[Quidway-aaa]local-user admin privilege level 15 / 设置用户级别
[Quidway-aaa]
Jan 1 2008 00:31:41-05:13 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 5, the change loop count is 0, and the maximum number of records is 4095.qu
[Quidway-aaa]quit
[Quidway]
Jan 1 2008 00:33:06-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[0]:User admin execute command display poe power from 192.168.1.40
Jan 1 2008 00:33:07-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[1]:User admin execute command quit from 192.168.1.40
Jan 1 2008 00:33:07-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[2]:User admin execute command disp elabel slot 0 from 192.168.1.40
Jan 1 2008 00:33:07-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[3]:User admin execute command display fan verbose from 192.168.1.40
Jan 1 2008 00:33:09-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[4]:User admin execute command display version slot 0 from 192.168.1.40
Jan 1 2008 00:33:09-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[5]:User admin execute command display fan verbose from 192.168.1.40
<Quidway>
打开电脑的浏览器输入交换机的管理ip地址
弹出的登陆界面如下:

搭建网络环境 是pc设备与交换机联通
打开调试软件crt或者超级终端
调试软件为crt时参数设置如下:
软件为电脑自带超级终端参数如下:
配置电脑的网卡的ip地址
设置ftpserver.exe 软件的参数
主要有ftp服务器的根目录 用户名和密码 上传下载的权限
在调试软件里面操作
<Quidway>display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 2 Routes : 2
Destination/Mask Proto Pre Cost Flags NextHop Interface
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
[Quidway]interface Vlanif 1
[Quidway-Vlanif1]ip address 192.168.1.1 24 /给交换机配置ip地址并测试与电脑的连通性
[Quidway]ping
[Quidway]ping 192.168.1.40
PING 192.168.1.40: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.40: bytes=56 Sequence=1 ttl=128 time=1 ms
Reply from 192.168.1.40: bytes=56 Sequence=2 ttl=128 time=1 ms
Reply from 192.168.1.40: bytes=56 Sequence=3 ttl=128 time=1 ms
Reply from 192.168.1.40: bytes=56 Sequence=4 ttl=128 time=1 ms
Reply from 192.168.1.40: bytes=56 Sequence=5 ttl=128 time=1 ms
--- 192.168.1.40 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms
<Quidway>display version /查看设备的软件版 比较设备的现在运行的软件和需要升级到的软件版本 看是否需要中间版本
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S3328 V100R005C01SPC100)
Copyright (C) 2000-2011 HUAWEI TECH CO., LTD
Quidway S3328TP-EI Routing Switch uptime is 0 week, 0 day, 0 hour, 2 minutes
EOFEA 0(Master) : uptime is 0 week, 0 day, 0 hour, 1 minute
128M bytes DDR Memory
16M bytes FLASH
Pcb Version : VER B
Basic BOOTROM Version : 330 Compiled at Aug 24 2010, 21:55:11
Software Version : VRP (R) Software, Version 5.70 (S3328 V100R005C01SPC100)
<Quidway>dir /查看flash剩余空间
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 -rw- 851 Jan 01 2008 00:11:16 private-data.txt
1 -rw- 120 Jan 01 2008 00:09:09 vrpcfg.zip
2 -rw- 8,191,404 Jan 01 2008 00:12:54 S3328-V100R005C01SPC100.cc
14,632 KB total (6,608 KB free)
<Quidway>format flash: /在设备正常运行的时候格式化flash 为新上传的软件提供存储空间
All data(include configuration and system startup file) on flash: will be lost , proceed with format ? [Y/N]:y....................................................................
%Format flash: completed.
<Quidway>ftp 192.168.1.40 / 从交换机登陆ftp服务器
Trying 192.168.1.40 ...
Press CTRL+K to abort
Connected to 192.168.1.40.
220 欢迎访问 Slyar FTPserver!
User(192.168.1.40:(none)):123
331 Please specify the password.
Enter password:
230 Login successful.
[ftp]get S3300-28TP-EI-V100R006C03.cc 下载软件版本到交换机
200 Port command successful.
150 Opening BINARY mode data connection for file transfer.
1%
99%
226 Transfer complete
FTP: 8789100 byte(s) received in 149.290 second(s) 58.87Kbyte(s)/sec.
[ftp]qu
[ftp]quit
220 再见!
<Quidway>dir
<Quidway>dir / 查看软件比较大小缺人上传是否成功
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 -rw- 8,789,100 Jan 01 2008 00:21:53 s3300-28tp-ei-v100r006c03.cc
14,632 KB total (6,040 KB free)
<Quidway>startup sy
<Quidway>startup system-software s3300-28tp-ei-v100r006c03.cc / 设置下次启动系统软件版本为新上传的版本
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BOOTROM,please wait for a moment...
Info: BOOTROM UPGRADE OK
Info: Succeeded in setting the software for booting system.
<Quidway>reb
<Quidway>reboot / 重启设备
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the next startup:, Continue?[Y/N]:y / 是否保存运行配置
Now saving the current configuration to the slot 0 .
Info: Save the configuration successfully.
System will reboot! Continue?[Y/N]:y /是否继续重启
Jan 1 2008 00:25:54-05:13 Quidway %%01CMD/4/REBOOT(l)[33]:The user chose Y when deciding whether to reboot the system.
Info: system is rebooting ,please wait...
Jan 1 2008 00:25:54-05:13 Quidway %%01SRM/4/MSTRSCURST(l)[34]:Master SCU is reset.
Jan 1 2008 00:25:54-05:13 Quidway %%01SRM/4/ResetReason(l)[35]:Reset by VRP cmd.
BIOS LOADING ...
Copyright (c) 2008-2011 HUAWEI TECH CO., LTD.
设备重启信息 省略
create task begin................
task init begin...
Recover configuration...OK!
Press ENTER to get started.
done
Please configure the login password (maximum length 16)
Enter Password:
Confirm Password:
<Quidway>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 8,789,100 Jan 01 2008 00:21:53 s3300-28tp-ei-v100r006c03.cc
1 -rw- 851 Jan 01 2008 00:27:15 private-data.txt
2 -rw- 555 Jan 01 2008 00:25:42 vrpcfg.zip
14,632 KB total (6,024 KB free)
<Quidway>display version / 查看软件版本确认升级成功
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S3328 V100R006C03)
Copyright (C) 2003-2011 HUAWEI TECH CO., LTD
Quidway S3328TP-EI Routing Switch uptime is 0 week, 0 day, 0 hour, 2 minutes
EOFEA 0(Master) : uptime is 0 week, 0 day, 0 hour, 1 minute
128M bytes DDR Memory
16M bytes FLASH
Pcb Version : VER B
Basic BOOTROM Version : 348 Compiled at Jun 26 2012, 18:56:33
Software Version : VRP (R) Software, Version 5.70 (V100R006C03)
开启web功能 操作过程
上传软件过程与前面上传大包软件相同
<Quidway>ftp
<Quidway>ftp 192.168.1.40
Trying 192.168.1.40 ...
Press CTRL+K to abort
Connected to 192.168.1.40.
220 欢迎访问 Slyar FTPserver!
User(192.168.1.40:(none)):123
331 Please specify the password.
Enter password:
230 Login successful.
[ftp]get
[ftp]get S3300-28TP-EI-V100R006C03.web.zip / 从ftp服务器下载web包到交换机
200 Port command successful.
150 Opening BINARY mode data connection for file transfer.
1% 99%
226 Transfer complete
FTP: 1348985 byte(s) received in 14.080 second(s) 95.80Kbyte(s)/sec.
[ftp]qu
[ftp]quit
220 再见!
<Quidway>sy
<Quidway>system-view
<Quidway>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 8,789,100 Jan 01 2008 00:21:53 s3300-28tp-ei-v100r006c03.cc
1 -rw- 851 Jan 01 2008 00:27:15 private-data.txt
2 -rw- 555 Jan 01 2008 00:25:42 vrpcfg.zip
3 drw- - Jan 01 2008 00:29:35 resetinfo
4 -rw- 1,348,985 Jan 01 2008 00:30:02 s3300-28tp-ei-v100r006c03.web.zip
14,632 KB total (4,688 KB free)
<Quidway>sy
<Quidway>system-view
Enter system view, return user view with Ctrl+Z.
[Quidway]http server load S3300-28TP-EI-V100R006C03.web.zip / 加载web包
Info: The loading process may take a few seconds, please wait........
Info: Succeeded in loading web file.
[Quidway]http server enable /开启web功能
Info: Starting the HTTP server successfully.
[Quidway]
[Quidway]aaa
[Quidway-aaa]local-user admin password cipher admin /配置web登陆的用户名密码
[Quidway-aaa]local-user admin service-type http ?
8021x 802.1x user
bind Bind authentication user
ftp FTP user
ppp PPP user
ssh SSH user
telnet Telnet user
terminal Terminal user
web Web authentication user
x25-pad X25-pad user
<cr>
[Quidway-aaa]local-user admin service-type http / 设置用户 服务类型
[Quidway-aaa]local-user admin privilege level 15 / 设置用户级别
[Quidway-aaa]
Jan 1 2008 00:31:41-05:13 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 5, the change loop count is 0, and the maximum number of records is 4095.qu
[Quidway-aaa]quit
[Quidway]
Jan 1 2008 00:33:06-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[0]:User admin execute command display poe power from 192.168.1.40
Jan 1 2008 00:33:07-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[1]:User admin execute command quit from 192.168.1.40
Jan 1 2008 00:33:07-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[2]:User admin execute command disp elabel slot 0 from 192.168.1.40
Jan 1 2008 00:33:07-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[3]:User admin execute command display fan verbose from 192.168.1.40
Jan 1 2008 00:33:09-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[4]:User admin execute command display version slot 0 from 192.168.1.40
Jan 1 2008 00:33:09-05:13 Quidway %%01NETCONF/4/EDITCONFIGOK(l)[5]:User admin execute command display fan verbose from 192.168.1.40
<Quidway>
打开电脑的浏览器输入交换机的管理ip地址
弹出的登陆界面如下:
- 上一篇:一个网络子网计算工具
- 下一篇:大公司里怎样开发和部署前端代码?
发表评论: