Cisco 4507R交换机IOS软件升级方法
Cisco 4507R交换机IOS软件升级方法
现有设备信息
XIASW#show version |
Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I5S-M), Version 12.2(25)EWA7, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by Cisco Systems, Inc. Compiled Mon 16-Oct-06 18:52 by dchih Image text-base: 0x10000000, data-base: 0x114EEE78 ROM: 12.2(20r)EW1 Dagobah Revision 226, Swamp Revision 31 XIASW-A-001 uptime is 11 weeks, 1 day, 17 hours, 5 minutes Uptime for this control processor is 3 weeks, 3 days, 15 hours, 43 minutes System returned to ROM by Stateful Switchover System restarted at 18:56:27 beijing Sat Jun 25 2011 System image file is "bootflash:cat4000-i5s-mz.122-25.EWA7.bin" cisco WS-C4507R (MPC8245) processor (revision 14) with 524288K bytes of memory. Processor board ID FOX100801YA MPC8245 CPU at 333Mhz, Supervisor IV Last reset from Redundancy Reset 14 Virtual Ethernet interfaces 48 FastEthernet interfaces 70 Gigabit Ethernet interfaces 403K bytes of non-volatile configuration memory. Configuration register is 0x2102 |
XIASW#show module |
Chassis Type : WS-C4507R Power consumed by backplane : 40 Watts Mod Ports Card Type Model Serial No. ---+-----+--------------------------------------+------------------+----------- 1 2 Supervisor IV 1000BaseX (GBIC) WS-X4515 JAE10170P6H 2 2 Supervisor IV 1000BaseX (GBIC) WS-X4515 JAE10170P6Z 3 18 1000BaseX (GBIC) WS-X4418-GB JAE11517XL7 6 48 10/100/1000BaseT (RJ45) WS-X4548-GB-RJ45 JAE114968E1 7 48 10/100BaseTX (RJ45) WS-X4148-RJ JAE101813JA
M MAC addresses Hw Fw Sw Status --+--------------------------------+---+------------+----------------+--------- 1 0017.59e4.9ec0 to 0017.59e4.9ec1 5.0 12.2(20r)EW1 12.2(25)EWA7 Ok 2 0017.59e4.9ec2 to 0017.59e4.9ec3 5.0 12.2(20r)EW1 12.2(25)EWA7, Ok 3 0014.1cf2.199c to 0014.1cf2.19ad 1.4 Ok 6 001e.7a6b.fe40 to 001e.7a6b.fe6f 2.4 Ok 7 0017.9516.e310 to 0017.9516.e33f 3.2 Ok
Mod Redundancy role Redundancy mode Redundancy status ----+-------------------+-------------------+------------------- 1 Active Supervisor SSO Active 2 Standby Supervisor SSO Standby hot Mod Submodule Model Serial No. Hw Status ----+-----------------------+-----------------+------------+----+------- 2 Netflow Services Card WS-F4531 JAE07400BBM 1.1 Ok ------------------ show mac-address-table count ------------------ MAC Entries for all vlans: Dynamic Unicast Address Count: 382 Static Unicast Address (User-defined) Count: 6 Static Unicast Address (System-defined) Count: 17 Total Unicast MAC Addresses In Use: 405 Total Unicast MAC Addresses Available: 32768 Multicast MAC Address Count: 17 Total Multicast MAC Addresses Available: 16384 |
XIASW#show bootflash: |
-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- name 1 .. image 93B32579 C6A9FC 30 12495228 May 2 2006 04:05:20 +08:00 cat4000-i9s-mz.122-25.EWA4.bin 2 .D config 23BC6D9F C6BBDC 14 4446 Jun 13 2006 10:33:44 +08:00 running-config 3 .D config FBAD696F C6CDDC 14 4478 Jun 13 2006 10:38:06 +08:00 running-config 4 .D config EC1B3B82 C6DFEC 14 4495 Jun 13 2006 11:35:07 +08:00 running-config 5 .D config EC1B3B82 C6F1FC 14 4495 Jun 13 2006 12:28:12 +08:00 running-config 6 .. config 2A336E33 C7047C 14 4605 Jun 14 2006 10:09:40 +08:00 running-config 7 .. image 86B4A9C3 18645F4 30 12534008 May 10 2007 12:39:38 +08:00 cat4000-i5s-mz.122-25.EWA7.bin
36289036 bytes available (25052660 bytes used) |
升级准备
1、升级工具
笔记本电脑、Console线缆、网线、螺丝刀
2、软件
TFTP软件:3CDaemon
IOS软件:
cat4000-i5s-mz.122-25.EWA14.bin (大小:12115KB,需要交换机256M DRAM,32M FLASH支持运行)
升级步骤
1、关闭交换机电源,使用螺丝刀拆卸下一块引擎WS-X4515后重启交换机,交换机处于单引擎运行状态;
2、根据交换机bootflash的存储情况,当前剩余的存储空间不够存储新的IOS软件,首先使用以下命令删除当前bootflash下未用的IOS软件:
XIASW#delete bootflash:cat4000-i9s-mz.122-25.EWA4.bin |
3、将笔记本电脑使用网线和交换机互联,并配置同一网段的IP地址,确保笔记本电脑和交换机可以PING通,在笔记本运行TFTP软件,配置TFTP软件制定新IOS软件的位置;
4、在交换机上输入以下命令将新 IOS软件上传至bootflash:
XIASW#copy tftp://192.168.1.1/ cat4000-i5s-mz.122-25.EWA14.bin bootflash: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 12115 Kbytes] 备注:192.168.1.1是笔记本电脑IP地址; |
5、新IOS软件上传完毕后,在交换机配置模式下输入以下命令修改交换机IOS软件的启动选择:
XIASW(config)#no boot system flash bootflash:cat4000-i5s-mz.122-25.EWA7.bin XIASW(config)#boot system flash bootflash:cat4000-i5s-mz.122-25.EWA14.bin XIASW#write ----------//保存修改后的配置 |
6、重新启动交换机,如果交换机不能使用新IOS软件正常启动,则终止IOS软件升级,修改交换机以下命令使用原IOS启动:
XIASW(config)#no boot system flash bootflash: cat4000-i5s-mz.122-25.EWA14.bin XIASW(config)#boot system flash bootflash:cat4000-i5s-mz.122-25.EWA7.bin XIASW#write ----------//保存修改后的配置 |
如果交换机可以使用新的IOS软件正常启动,则继续下一步操作;
7、关闭交换机电源,将IOS软件升级好的引擎WS-X4515使用螺丝刀拆卸下来,将备引擎安装到交换机的引擎槽位,加电启动交换机,依次按照第2步至第6步完成备引擎的IOS软件升级;
8、备引擎使用新IOS软件升级完毕后,关闭交换机电源,将主备引擎全部安装至交换机的两个引擎槽位,交换机加电启动后输入以下命令检查主备引擎的故障切换:
XIASW#redundancy force-switchover |
观察如果主备引擎可正常切换,则交换机IOS软件升级完毕。
注意事项
1、主备引擎的安装和拆卸必须在关闭交换机电源后进行;
2、IOS软件升级完毕后及时检查交换机的配置,并进行网络应用的测试;
本文出自 “Belion” 博客,请务必保留此出处http://belion.blog.51cto.com/490055/1627720
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。