EqLlyHJ5w6,694hQRgLWm
思科IOS软件升级全过程思科IOS软件升级全过程 交换机升级ios详解 一、前提: 1.备份好之前的交换机系统(c3750-ipbase-mz.122-50.SE5.bin 新的ios版本(c3750-ipbase-mz.122-35.SE5.bin)。 2.搭建一个tftp服务器环境,一般在自己笔记本上利用“3CDaemon”软件就可以构建这个环境, 3.交换机之前用网线和console口连接准备升级。 4.IP分配:tftp服务器(笔记本)-10.1.1.2/24 二、过程: 1.查看交换机的版本和内存大小,系统做备份,内存大的话可以不用删除镜像,否则会删除镜像留出空间。 Switch>en Switch#show version Cisco IOS Software, C3750 Software (C3750-IPBASE-M), Version 12.2(50)SE5, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Tue 28-Sep-10 12:56 by prod_rel_team Image text-base: 0x01000000, data-base: 0x02800000 ROM: Bootstrap program is C3750 boot loader BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1) Switch uptime is 48 minutes System returned to ROM by power-on System cisco WS-C3750G-12S (PowerPC405) processor (revision AB0) with 131072K bytes of memory. Processor board ID FDO1554Y1D5 Last reset from power-on 1 Virtual Ethernet interface 12 Gigabit Ethernet interfaces The password-recovery mechanism is enabled. 512K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : D4:D7:48:82:7D:00 Motherboard assembly number : 73-9678-14 Power supply part number : 341-0048-03 Motherboard serial number : FDO15441NXS Power supply serial number : LIT15400093 Model revision number : AB0 Motherboard revision number : A0 Model number : WS-C3750G-12S-S System serial number : FDO1554Y1D5 Top Assembly Part Number : 800-25856-12 Top Assembly Revision Number : D0 Version ID : V14 CLEI Code Number : COMAF10BRA Hardware Board Revision Number : 0x06 Switch Ports Model SW Version SW Image ------ ----- ----- ---------- ---------- * 1 12 WS-C3750G-12S 12.2(50)SE5 C3750-IPBASE-M Configuration register is 0xF Switch# dir Directory of flash:/ 5 drwx 192 Mar 1 1993 00:07:29 +00:00 c3750-ipbase-mz.122-50.SE5 15998976 bytes total (3649024 bytes free) Switch#cd flash:c3750-ipbase-mz.122-50.SE5 Switch#dir Directory of flash:/c3750-ipbase-mz.122-50.SE5/ 6 drwx 4608 Mar 1 1993 00:04:14 +00:00 html 425 -rwx 9574343 Mar 1 1993 00:07:29 +00:00 c3750-ipbase-mz.122-50.SE5.bin 426 -rwx 643 Mar 1 1993 00:07:29 +00:00 info 15998976 bytes total (3649024 bytes free) 二、备份原有的交换机系统 Switch#ping 10.1.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds: !!!!! Switch#copy flash:/c3750-ipbase-mz.122-50.SE5/c3750-ipbase-mz.122-50.SE5.bin Address or name of remote host []? 10.1.1.2 Destination filename [10.1.1.2]? c3750-ipbase-mz.122-50.SE5.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 9574343 bytes copied in 33.579 secs (285129 bytes/sec) Switch#dir Directory of flash:/c3750-ipbase-mz.122-50.SE5/ 6 drwx 4608 Mar 1 1993 00:04:14 +00:00 html 425 -rwx 9574343 Mar 1 1993 00:07:29 +00:00 c3750-ipbase-mz.122-50.SE5.bin 426 -rwx 643 Mar 1 1993 00:07:29 +00:00 info 15998976 bytes total (3645440 bytes free) Switch#delete c3750-ipbase-mz.122-50.SE5.bin Dele Delete flash:/c3750-ipbase-mz.122-50.SE5/c3750-ipbase-mz.122-50.SE5.bin? [confirm] 三、更新交换机系统ios Switch#copy tftp: flash: Address or name of remote host []? 10.1.1.2 Source filename []? c3750-ipbase-mz.122-50.SE5.bin Destination filename [c3750-ipbase-mz.122-50.SE5.bin]? Accessing tftp://10.1.1.2/c3750-ipbase-mz.122-50.SE5.bin... Loading c3750-ipbase-mz.122-50.SE5.bin from 10.1.1.2 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 9574343 bytes] 9574343 bytes copied in 124.118 secs (77139 bytes/sec) 四、设定交换机系统启动目录,重启检查升级是否成功 Switch#conf t Switch(config)#boot system flash:c3750-ipbase-mz.122-35.SE5.bin Switch#wr Switch#reload System configuration has been modified. Save? [yes/no]: yes Building configuration... [OK] Proceed with reload? [confirm] *Mar 1 02:20:03.161: %SYS-5-RELOAD: Reload requested by console. Reload reason: Reload command Boot Sector Filesystem (bs) installed, fsid: 2 Base ethernet MAC Address: d4:d7:48:82:7d:00 Xmodem file system is available. The password-recovery mechanism is enabled. Initializing Flash... flashfs[0]: 418 files, 8 directories flashfs[0]: 0 orphaned files, 0 orphaned directories flashfs[0]: Total bytes: 15998976 flashfs[0]: Bytes used: 9954304 flashfs[0]: Bytes available: 6044672 flashfs[0]: flashfs fsck took 14 seconds. ...done Initializing Flash. done. Loading "flash:c3750-ipbase-mz.122-35.SE5.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ File "flash:c3750-ipbase-mz.122-35.SE5.bin" uncompressed and installed, entry point: 0x3000 executing... Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco IOS Software, C3750 Software (C3750-IPBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Thu 19-Jul-07 19:15 by nachen Image text-base: 0x00003000, data-base: 0x01080000 Initializing flashfs... flashfs[1]: 418 files, 8 directories flashfs[1]: 0 orphaned files, 0 orphaned directories flashfs[1]: Total bytes: 15998976 flashfs[1]: Bytes used: 9954304 flashfs[1]: Bytes available: 6044672 flashfs[1]: flashfs fsck took 2 seconds. flashfs[1]: Initialization complete....done Initializing flashfs. Checking for Bootloader upgrade.. not needed POST: CPU MIC register Tests : Begin POST: CPU MIC register Tests : End, Status Passed POST: PortASIC Memory Tests : Begin POST: PortASIC Memory Tests : End, Status Passed POST: CPU MIC interface Loopback Tests : Begin POST: CPU MIC interface Loopback Tests : End, Status Passed POST: PortASIC RingLoopback Tests : Begin POST: PortASIC RingLoopback Tests : End, Status Passed Waiting for Stack Master Election... POST: PortASIC CAM Subsystem Tests : Begin POST: PortASIC CAM Subsystem Tests : End, Status Passed POST: PortASIC Port Loopback Tests : Begin POST: PortASIC Port Loopback Tests : End, Status Passed Election Complete Switch 1 booting as Master Waiting for Port download...Complete cisco WS-C3750G-12S (PowerPC405) processor (revision AB0) with 118784K/12280K bytes of memory. Processor board ID FDO1554Y1D5 Last reset from power-on 1 Virtual Ethernet interface 12 Gigabit Ethernet interfaces The password-recovery mechanism is enabled. 512K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : D4:D7:48:82:7D:00 Motherboard assembly number : 73-9678-14 Power supply part number : 341-0048-03 Motherboard serial number : FDO15441NXS Power supply serial number : LIT15400093 Model revision number : AB0 Motherboard revision number : A0 Model number : WS-C3750G-12S-S System serial number : FDO1554Y1D5 Top Assembly Part Number : 800-25856-12 Top Assembly Revision Number : D0 Version ID : V14 CLEI Code Number : COMAF10BRA Hardware Board Revision Number : 0x06 Switch Ports Model SW Version SW Image ------ ----- ----- ---------- ---------- * 1 12 WS-C3750G-12S 12.2(35)SE5 C3750-IPBASE-M Switch#show version Cisco IOS Software, C3750 Software (C3750-IPBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Thu 19-Jul-07 19:15 by nachen Image text-base: 0x00003000, data-base: 0x01080000 ROM: Bootstrap program is C3750 boot loader BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1) Switch uptime is 1 minute System returned to ROM by power-on System image file is "flash:c3750-ipbase-mz.122-35.SE5.bin" cisco WS-C3750G-12S (PowerPC405) processor (revision AB0) with 118784K/12280K bytes of memory. Processor board ID FDO1554Y1D5 Last reset from power-on 1 Virtual Ethernet interface 12 Gigabit Ethernet interfaces The password-recovery mechanism is enabled. 512K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : D4:D7:48:82:7D:00 Motherboard assembly number : 73-9678-14 Power supply part number : 341-0048-03 Motherboard serial number : FDO15441NXS Power supply serial number : LIT15400093 Model revision number : AB0 Motherboard revision number : A0 Model number : WS-C3750G-12S-S System serial number : FDO1554Y1D5 Top Assembly Part Number : 800-25856-12 Top Assembly Revision Number : D0 Version ID : V14 CLEI Code Number : COMAF10BRA Hardware Board Revision Number : 0x06 Switch Ports Model SW Version SW Image ------ ----- ----- ---------- ---------- * 1 12 WS-C3750G-12S 济南磐龙笔记本交换机维修,专业芯片级维修服务商 www.pldtwx.com 欢迎省内维修合作
|