Cisco交换机IOS升级步骤

合集下载

CiscoIOS升级6步轻松搞定

CiscoIOS升级6步轻松搞定

CiscoIOS升级6步轻松搞定Cisco IOS升级6步轻松搞定前面的文章给大家介绍了什么是IOS、IOS升级的意义及一些方法,现在让我们用思科2811路由器升级IOS的实例来看看Cisco IOS升级的详细步骤。

我们选用通过TFTP服务器直接将新版IOS复制到路由器中的方法来进行IOS的升级。

第一步:配置TFTP服务器(建立Cisco TFTP服务器的方法请查看:这里就不介绍了)第二步:确认现有的路由器IOS版本查看路由器IOS版本可以利用show version或show flash命令。

show version命令可以输出路由器的软、硬件版本信息。

使用show flash命令也可以看到思科路由器上的IOS版本和文件名。

查好后记住这个IOS文件名(以后步骤会用到)。

第三步:将新版本的IOS文件放到设置好的TFTP服务器根目录下这一步我们将需要安装的IOS文件(例如c2800nm-advsecurityk9-mz.124-17.bin)复制到TFTP服务器的根目录下,这个目录就是你在建立TFTP服务器时设定好的那个根目录。

同样记下这个文件名。

第四步:建立路由器和TFTP服务器的通信首先在路由器以太口上配置IP地址,并启用,然后将该接口连到局域网中,使该接口能和TFTP服务器通信,以便从TFTP服务器上下载IOS。

命令如下:Router(config)#inter f0/0Router(config-if)#ip address 192.168.0.10 255.255.255.0Router(config-if)#no shut这样我们就在路由器的f0/0口上配置了IP地址:192.168.0.10。

然后使用ping命令测试路由器和TFTP服务器之间能否正常通信(TFTP服务器的地址是192.168.0.1)。

能够正常的ping到TFTP服务器就可以开始为路由器IOS升级了。

第五步:升级IOS升级IOS的命令是copy tftp flashRouter#copy tftp flashAddress or name of remote host []?在后边输入TFTP服务器的IP地址:192.168.0.1后回车;Source filename []?在后边输入新版本IOS文件名(前边提醒你记录了)c2800nm-advsecurityk9-mz.124-17.bin后回车;Destination filename [c2800nm-advsecurityk9-mz.124-17.bin]?Do you want to over write? [confirm]回车;Accessing tftp://192.168.0.1/c2800nm-advsecurityk9-mz.124-17.bin…运行到这一步,如果你的路由器FLASH空间足够用的话就可以顺利完成IOS的升级了,如果空间不够的话会提示:“Not enough space on device”,这时根据IOS版本的不同出现这个错误后的处理方法不同,老版本会提示你删除flash文件“Erase flash:”你可以强制删除flash中的文件;新版本的IOS会直接回到提示符下终止IOS的升级,这是你必须首先删除路由器中老版本的IOS文件然后继续执行IOS升级,命令是“delete flash:”。

3750交换机IOS升级方法

3750交换机IOS升级方法

Catalyst 3750 Software Upgrade in a Stack Configuration with Use of the Command−Line InterfaceDocument ID: 64898IntroductionPrerequisitesRequirementsComponents UsedConventionsFind the Software Version and Feature SetDecide Which Files to UseFlash File System and Memory Requirements3750 Series Switch Stack IOS Upgrade − Automatic (.tar image)Step−by−Step Instructions3750 Series Switch Stack IOS Upgrade − Manual (.tar image)Step−by−Step Instructions3750 Series Switch Stack IOS Upgrade − Manual (.bin Image)Step−by−Step InstructionsVerifyTroubleshootImage Transfer from TFTP Server Fails or Corrupted IOS imageYou Receive the Error_Bad_Mzip Error Message%Error opening flash:update/info (No such file or directory)Switches in the Stack do not Boot the New Image (Version Mismatch)NetPro Discussion Forums − Featured ConversationsRelated InformationIntroductionThis document explains the step−by−step procedure to use the command−line interface (CLI) in order to upgrade the software image on Cisco Catalyst 3750 series switches that have a multiswitch stack configuration.PrerequisitesRequirementsBefore you download software, refer to these sections of Release Notes for the Catalyst 3750, 3560, and 2970 Switches, Cisco IOS Release 12.2(25)SEB and Later for important information:•Finding the Software Version and Feature Set•Deciding Which Files to Use•Upgrading a Switch by Using the Device Manager or Network AssistantUpgrading a Switch by Using the CLI••Recovering from a Software FailureComponents UsedThe information in this document is based on these hardware versions:•WS−C3750G−12S switches•WS−C3750G−24TS switchesNote: You can substitute any stackable Catalyst 3750 series switch.The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.ConventionsRefer to the Cisco Technical Tips Conventions for more information on document conventions.Find the Software Version and Feature SetA directory that has the Cisco IOS® Software release name stores the Cisco IOS image as a bin file. The directory stores the image on the system board flash device (flash:). A subdirectory contains the files that you need for web management.You can use the show version privileged EXEC command in order to see the software version that runs on your switch. The second line of the display shows the version.Note: Although the show version output always shows the software image that runs on the switch, the model name that appears at the end of this display is the factory configuration. This image is either the IP base image, formerly known as the standard multilayer image (SMI), or the IP services image, formerly known as the enhanced multilayer image (EMI). This name does not change if you upgrade the software image.You can also use the dir filesystem: privileged EXEC command. This command shows the directory names of any other software images that you have stored in flash memory.Before you decide the Cisco IOS Software release to which you want to upgrade the switches, you should:Read the Release Notes of the particular Cisco IOS Software release. Refer to Cisco Catalyst 3750•Series Switches − Release Notes.•Make sure the Cisco IOS Software release does have any defects which can affect any of the existing functionality. Refer to the Bug Toolkit ( registered customers only) and Cisco Catalyst 3750 SeriesSwitches − Field Notices.Decide Which Files to UseThe software download center for Catalyst 3750 contains two sets of IOS images for every feature set and versions. One set contains only the IOS image file which has the extension .bin. The other set contains the IOS image plus the web−based device manager which has the extension .tar.This document explains the upgrade procedure with the .tar image as well as with the .bin image. The .tar file contains the Cisco IOS image file and the files that you need for the embedded device manager. You must use the combined tar file in order to upgrade the switch through the device manager.Cisco IOS Software Release 12.2(25)SEA and earlier referred to the image that provides Layer 2+ features and basic Layer 3 routing as the SMI. These software releases referred to the image that provides full Layer 3 routing and advanced services as the EMI.Cisco IOS Software Release 12.2(25)SEB and later refer to the SMI as the IP base image and the EMI as the IP services image.Table 1 lists the different file−naming conventions for releases earlier than and later than Cisco IOS Software Release 12.2(25)SEB.Cisco IOS Software Release 12.2(25)SEA and earlierCisco IOS Software Release 12.2(25)SEB and laterc3750−i9−mz (SMI)c3750−ipbase−mzc3750−i9k91−mz (SMI)c3750−ipbasek9−mzc3750−i5−mz (EMI)c3750−ipservices−mzc3750−i5k91−mz (EMI)c3750−ipservicesk9−mzTable 2 lists the file names for this software release.File NameDescriptionc3750−ipbase−tar.122−25.SEB.tarCatalyst 3750 IP base image and device manager filesThis image has Layer 2+ and basic Layer 3 routing features.c3750−ipservices−tar.122−25.SEB.tarCatalyst 3750 IP services image and device manager filesThis image has both Layer 2+ and full Layer 3 routing features.c3750−ipbasek9−tar.122−25.SEB.tarCatalyst 3750 IP base cryptographic image and device manager filesThis image has the Kerberos, SSH1, Layer 2+, and basic Layer 3 routing features.c3750−ipservicesk9−tar.122−25.SEB.tarCatalyst 3750 IP services cryptographic image and device manager filesThis image has the Kerberos, SSH, Layer 2+, and full Layer 3 features.c3750−advipservicesk9−tar.122−25.SEB.tarCatalyst 3750 advanced IP services image, cryptographic file, and device manager filesThis image has all the IP services image features and the capability for unicast routing of IPv62 packets.1 SSH = Secure Shell2 IPv6 = IP version 6The Sofware Advisor ( registered customers only) tool helps to determine the feature set required for the funtionalities needed in the network.Flash File System and Memory RequirementsFlash File SystemThe 3750 ships from the factory with the installation of a web−based device manager (.tar file) in the flash: directory. The extraction process that takes place with a .tar file creates a Cisco IOS image directory. The image directory has the same name as the Cisco IOS image (.bin file), but without the file extension. This directory stores the Cisco IOS image (.bin file) along with an HTML subdirectory that contains the device manager files.Issue the dir flash: command in order to view the 3750 Flash file system. Here is a sample command output: 3750#dir flash:Directory of flash:/2 −rwx 5684228 Mar 12 1993 08:13:57 +00:00 c3750−ipbase−mz.122−25.SEC2.bin3 −rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text4 d rwx 192 Mar 12 1993 08:11:00 +00:00 c3750−ipbase−mz.122−25.SEB45 −rwx 5 Mar 1 1993 00:02:16 +00:00 private−config.text6 −rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat364 −rwx 105 Mar 12 1993 08:11:00 +00:00 info15998976 bytes total (3201536 bytes free)!−−− Notice the "d" in the permissions statement.!−−− It indicates that c3750−ipbase−mz.122−25.SEB4 is a directory.!−−− This directory is the location of both the Cisco IOS image (.bin file)!−−− and the HTML subdirectory.Refer to these sections in this document in order to upgrade the 3750 switch to a Cisco IOS Software release with a web−based device manager:•3750 Series Switch Stack IOS Upgrade − Automatic (.tar image)•3750 Series Switch Stack IOS Upgrade − Manual (.tar image)Refer to the 3750 Series Switch Stack IOS Upgrade − Manual (.bin Image) section in order to upgrade the switch with just a Cisco IOS Software release.DRAM MemoryAll models of 3750 series switches have a DRAM configuration of 128 MB. There are no minimum DRAM requirements to consider before you upgrade software on the 3750.Flash MemoryThe internal Flash memory shipped with the 3750 switches are either 16 MB or 32 MB based on the model of the Catalyst 3750 switch. Refer to the Cisco Catalyst 3750 Data Sheet for more information.There is a limit to the number of images that you can store in Flash. Always check the size, in bytes, of the image in the Downloads − Switches ( registered customers only) before you upgrade software. Issue the dir flash: command in order to compare the size of this image with the free space in Flash. Here is a sample command output:3750#dir flash:Directory of flash:/2 −rwx 6221372 Mar 1 1993 00:23:06 +00:00 c3750−ipbase−mz.122−25.SED1.bin3 −rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text4 −rwx 5684228 Mar 1 1993 01:17:34 +00:00 c3750−ipbase−mz.122−25.SEC2.bin5 −rwx 5 Mar 1 1993 00:02:16 +00:00 private−config.text6 −rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat15998976 bytes total (4087296 bytes free)3750#If necessary, issue the delete flash:file_name command in order to delete a single Cisco IOS image (.bin file). Or issue the delete /force /recursive flash:dir_name command in order to delete a directory and all the filesin the directory.Here is a sample command output to delete a Cisco IOS image (.bin file):3750#delete flash:c3750−ipbase−mz.122−25.SED1.binDelete filename [c3750−ipbase−mz.122−25.SED1.bin]?!−−− Press Return or Enter.Delete flash:c3750−ipbase−mz.122−25.SED1.bin? [confirm]!−−− Press Return or Enter.3750#dir flash:Directory of flash:/3 −rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text4 −rwx 5684228 Mar 1 1993 01:17:34 +00:00 c3750−ipbase−mz.122−25.SEC2.bin5 −rwx 5 Mar 1 1993 00:02:16 +00:00 private−config.text6 −rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat15998976 bytes total (10309120 bytes free)Here is a sample command output to delete a Cisco IOS image with a web−based device manager (directory):3750#dir flash:Directory of flash:/2 −rwx 5684228 Mar 12 1993 08:13:57 +00:00 c3750−ipbase−mz.122−25.SEC2.bin3 −rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text4 drwx 192 Mar 12 1993 08:11:00 +00:00 c3750−ipbase−mz.122−25.SEB45 −rwx 5 Mar 1 1993 00:02:16 +00:00 private−config.text6 −rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat364 −rwx 105 Mar 12 1993 08:11:00 +00:00 info15998976 bytes total (3201536 bytes free)3750#delete /force /recursive flash:c3750−ipbase−mz.122−25.SEB4Delete filename [c3750−ipbase−mz.122−25.SEB4]?!−−− Press Return or Enter.3750#dir flash:Directory of flash:/2 −rwx 5684228 Mar 12 1993 08:13:57 +00:00 c3750−ipbase−mz.122−25.SEC2.bin3 −rwx 2105 Mar 1 1993 00:02:16 +00:00 config.text5 −rwx 5 Mar 1 1993 00:02:16 +00:00 private−config.text6 −rwx 856 Mar 1 1993 00:04:40 +00:00 vlan.dat364 −rwx 105 Mar 12 1993 08:11:00 +00:00 info15998976 bytes total (10308608 bytes free)An upgrade can require you to free up even more space. The requirement depends on how many images you have stored in Flash. You can delete more old images/directory to free up this space.3750 Series Switch Stack IOS Upgrade − Automatic (.tar image)In this section, you are presented with the information to configure the features described in this document.The procedure in this section copies the combined tar file to the switch. You copy the file to the switch from a TFTP server and extract the files. You can download an image file and replace the current image, or you can keep the current image.Note: For switch stacks, the archive download−sw and archive upload−sw privileged EXEC commands can only be used through the stack master. Software images downloaded to the stack master are automatically downloaded to the rest of the stack members. Thus, you must be logged on to the master switch to performthis upgrade.Step−by−Step InstructionsIn order to download software, complete these steps:Step 1Use the Decide Which Files to Use section of this document in order to identify the type of image and feature set that you want to download.Step 2Refer to Software Download − Cisco Catalyst 3750 Software ( registered customers only) and find the imagethat you want to download.In order to download older versions of the IP services image or IP base image files for a Catalyst 3750 switch, click Archived Catalyst 3750 Software. In order to obtain authorization and to download the cryptographic software files, click Catalyst 3750 Strong Cryptographic (3DES) Software.Note: Cisco IOS Software releases earlier than Cisco IOS Software Release 12.1(19)EA1c include a bootloader upgrade. The bootloader can take up to 1 minute to upgrade the first time that you load the new software. Do not power cycle the switch during the bootloader upgrade.Step 3Copy the image to the appropriate TFTP directory on the workstation, and make sure that the TFTP server has the proper configuration.For more information, refer to Appendix B of the software configuration guide for this release.Step 4Log in to the switch through the console port or a Telnet session, and enter enable mode.Step 5In order to view the current version, issue the show version command.3750#show versionCisco Internetwork Operating System SoftwareIOS (tm) C3750 Software (C3750−I5−M), Version 12.1(19)EA1d, RELEASE SOFTWARE (fc1)Copyright (c) 1986−2004 by cisco Systems, Inc.Compiled Mon 05−Apr−04 22:06 by antoninoImage text−base: 0x00003000, data−base: 0x009206D8ROM: Bootstrap program is C3750 boot loaderBOOTLDR: C3750 Boot Loader (C3750−HBOOT−M) Version 12.1(14)EA1, RELEASE SOFTWARE (fc1) 3750 uptime is 4 days, 19 hours, 43 minutesSystem returned to ROM by power−onSystem image file is "flash:c3750−i5−mz.121−19.EA1d.bin"cisco WS−C3750G−12S (PowerPC405) processor (revision A0) with 118776K/12288K bytes of memory.Processor board ID CAT0732R0JULast reset from power−onBridging software.5 Virtual Ethernet/IEEE 802.3 interface(s)40 Gigabit Ethernet/IEEE 802.3 interface(s)The password−recovery mechanism is enabled.512K bytes of flash−simulated non−volatile configuration memory.Base ethernet MAC Address : 00:0D:BD:5C:16:80Motherboard assembly number : 73−8307−06Power supply part number : 341−0048−01Motherboard serial number : CAT073205SUPower supply serial number : DTH073004USModel revision number : A0Motherboard revision number : A0Model number : WS−C3750G−12S−ESystem serial number : CAT0732R0JUTop Assembly Part Number : 800−23419−01Top Assembly Revision Number : A0Hardware Board Revision Number : 0x06Switch Ports Model SW Version SW Image−−−−−− −−−−− −−−−− −−−−−−−−−− −−−−−−−−−−1 28 WS−C3750G−24TS 12.1(19)EA1d C3750−I5−M* 2 12 WS−C3750G−12S 12.1(19)EA1d C3750−I5−MSwitch 01Step 6Issue the dir flash: command on the 3750 in order to verify the amount of free memory that you have for the upgrade.Here is a sample command output:3750#dir flash:Directory of flash:/2 −rwx 1516 Mar 01 1993 00:01:28 vlan.dat3 −rwx 4050902 Mar 01 1993 00:03:32 c3750−i5−mz.121−19.EA1d.bin4 −rwx 4273 Mar 05 1993 19:22:44 config.text84 −rwx 5 Mar 05 1993 19:22:44 private−config.text15998976 bytes total (11940352 bytes free)Step 7In order to verify connectivity to the TFTP server, ping its IP address.3750#ping 11.11.11.11Type escape sequence to abort.Sending 5, 100−byte ICMP Echos to 11.11.11.11, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round−trip min/avg/max = 1/1/1 msStep 8There are several options for the download of the image. You can use the command−line options that appear in this section to have a new image overwrite the old image or leave the old image in flash.The example uses the archive download−sw command in order to retain the old image on the device. For acomplete description of the commands available, refer to the archive download−sw section of Catalyst 3750 Switch Cisco IOS Commands.Here are the options available for the archive download−sw command:3750#archive download−sw ?/destination−system specify destination system to receive software/force−reload Unconditionally reload system after successful swupgrade/imageonly Load only the IOS image(s)/leave−old−sw Leave old sw installed after successful sw upgrade/no−set−boot Don't set BOOT −− leave existing boot config alone/no−version−check skip version check that prevents incompatible imageinstall/only−system−type specify individual system type to be updated/overwrite OK to overwrite an existing image/reload Reload system (if no unsaved config changes) aftersuccessful sw upgrade/safe Always load before deleting old versionflash1: Image fileflash2: Image fileflash: Image fileftp: Image filercp: Image filetftp: Image fileThis example shows the command in use and the switch output during the upload process:3750#archive download−sw /leave−old−sw tftp://11.11.11.11/c3750−i5−tar.122−20.SE.tar Loading c3750−i5−tar.122−20.SE.tar .from 11.11.11.11 (via GigabitEthernet1/0/4):!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK − 8488960 bytes]Loading c3750−i5−tar.122−20.SE.tar .from 11.11.11.11 (via GigabitEthernet1/0/4):!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!examining image...extracting info (98 bytes)extracting c3750−i5−mz.122−20.SE/info (435 bytes)extracting info (98 bytes)Stacking Version Number: 1.4System Type: 0x00000000Ios Image File Size: 0x004BA200Total Image File Size: 0x00818A00Minimum Dram required: 0x04000000Image Suffix: i5−122−20.SEImage Directory: c3750−i5−mz.122−20.SEImage Name: c3750−i5−mz.122−20.SE.binImage Feature: LAYER_3|MIN_DRAM_MEG=64Old image for switch 1: unknownOld image for switch 2: unknownExtracting images from archive into flash on switch 1...c3750−i5−mz.122−20.SE/ (directory)c3750−i5−mz.122−20.SE/html/ (directory)extracting c3750−i5−mz.122−20.SE/html/cms_boot.jar (154860 bytes)extracting c3750−i5−mz.122−20.SE/html/err.html (152 bytes)extracting c3750−i5−mz.122−20.SE/html/cms_splash.gif (22131 bytes)extracting c3750−i5−mz.122−20.SE/html/cms_13.html (510 bytes)extracting c3750−i5−mz.122−20.SE/html/custom_cms.html (2441 bytes)extracting c3750−i5−mz.122−20.SE/html/not_supported.html (1392 bytes)extracting c3750−i5−mz.122−20.SE/html/cluster.html (2822 bytes)extracting c3750−i5−mz.122−20.SE/html/start.html (576 bytes)extracting c3750−i5−mz.122−20.SE/html/test.htm (2301 bytes)extracting c3750−i5−mz.122−20.SE/html/xhome.htm (25035 bytes)extracting c3750−i5−mz.122−20.SE/html/stylesheet.css (3364 bytes)extracting c3750−i5−mz.122−20.SE/html/back−exp.htm (182 bytes)extracting c3750−i5−mz.122−20.SE/html/sitewide.js (10627 bytes)extracting c3750−i5−mz.122−20.SE/html/tools.htm (21818 bytes)extracting c3750−i5−mz.122−20.SE/html/appsui.js (3092 bytes)extracting c3750−i5−mz.122−20.SE/html/forms.js (11521 bytes)extracting c3750−i5−mz.122−20.SE/html/doc.htm (22332 bytes)extracting c3750−i5−mz.122−20.SE/html/express−setup.htm (61957 bytes)extracting c3750−i5−mz.122−20.SE/html/troubleshooting_Browser.htm (3704 bytes) extracting c3750−i5−mz.122−20.SE/html/troubleshooting_OS.htm (2851 bytes) extracting c3750−i5−mz.122−20.SE/html/net_report.htm (21107 bytes)!−−− Output suppressed.Installing (renaming): `flash1:update/c3750−i5−mz.122−20.SE' −>`flash1:c3750−i5−mz.122−20.SE'New software image installed in flash1:c3750−i5−mz.122−20.SEInstalling (renaming): `flash:update/c3750−i5−mz.122−20.SE' −>`flash:c3750−i5−mz.122−20.SE'New software image installed in flash:c3750−i5−mz.122−20.SEAll software images installed.!−−− Installation of the image and supporting files is now complete!−−− in the flash of all switches in the stack. In this example, installation!−−− is complete in both switches.Step 9The image copy is complete, and you are ready for the reboot. In order to verify that the current state of the switches is Ready, issue the show switch detail command.Here is an example:3750#show switch detailCurrentSwitch# Role Mac Address Priority State−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−1 Slave 000c.30ae.4f00 9 Ready*2 Master 000d.bd5c.1680 15 ReadyStack Port Status NeighborsSwitch# Port 1 Port 2 Port 1 Port 2−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−1 Ok Ok2 22 Ok Ok 1 1Step 10In order to verify that the new image is in flash for the stack members, issue the dir flash: command and the dir flash 1: command. In this example, there are two switch stack members. If the stack configuration includes additional switches in the stack, issue the dir flash#: command for each additional switch in the stack.Issue the show version command in order to verify that the old image is still the current operation system image. Issue the show boot command in order to verify that the new image is now the image in the BOOT path−list that will load at the next switch reload.3750#dir flash:Directory of flash:/2 −rwx 1516 Mar 01 1993 00:01:28 vlan.dat3 −rwx 4050902 Mar 01 1993 00:03:32 c3750−i5−mz.121−19.EA1d.bin4 −rwx 4273 Mar 05 1993 19:22:44 config.text6 drwx 192 Mar 05 1993 19:40:16 c3750−i5−mz.122−20.SE84 −rwx 5 Mar 05 1993 19:22:44 private−config.text!−−− Notice the "d" in the permissions statement. The "d" indicates a directory.15998976 bytes total (3491328 bytes free)3750#dir flash1:Directory of flash1:/2 −rwx 4050902 Mar 01 1993 00:35:58 c3750−i5−mz.121−19.EA1d.bin3 −rwx 1516 Mar 01 1993 00:01:33 vlan.dat4 −rwx 4273 Mar 05 1993 19:22:44 config.text5 −rwx 5 Mar 05 1993 19:22:44 private−config.text7 drwx 192 Mar 05 1993 19:37:40 c3750−i5−mz.122−20.SE15998976 bytes total (3491328 bytes free)3750#show versionCisco Internetwork Operating System SoftwareIOS (tm) C3750 Software (C3750−I5−M), Version 12.1(19)EA1d, RELEASE SOFTWARE (fc1) Copyright (c) 1986−2004 by cisco Systems, Inc.Compiled Mon 05−Apr−04 22:06 by antoninoImage text−base: 0x00003000, data−base: 0x009206D8ROM: Bootstrap program is C3750 boot loaderBOOTLDR: C3750 Boot Loader (C3750−HBOOT−M) Version 12.1(14)EA1, RELEASE SOFTWARE (fc1) 3750 uptime is 4 days, 19 hours, 43 minutesSystem returned to ROM by power−onSystem image file is "flash:c3750−i5−mz.121−19.EA1d.bin"cisco WS−C3750G−12S (PowerPC405) processor (revision A0) with118776K/12288K bytes of memory.Processor board ID CAT0732R0JULast reset from power−onBridging software.5 Virtual Ethernet/IEEE 802.3 interface(s)40 Gigabit Ethernet/IEEE 802.3 interface(s)The password−recovery mechanism is enabled.512K bytes of flash−simulated non−volatile configuration memory.Base ethernet MAC Address : 00:0D:BD:5C:16:80Motherboard assembly number : 73−8307−06Power supply part number : 341−0048−01Motherboard serial number : CAT073205SUPower supply serial number : DTH073004USModel revision number : A0Motherboard revision number : A0Model number : WS−C3750G−12S−ESystem serial number : CAT0732R0JUTop Assembly Part Number : 800−23419−01Top Assembly Revision Number : A0Hardware Board Revision Number : 0x06Switch Ports Model SW Version SW Image−−−−−− −−−−− −−−−− −−−−−−−−−− −−−−−−−−−−1 28 WS−C3750G−24TS 12.1(19)EA1d C3750−I5−M* 2 12 WS−C3750G−12S 12.1(19)EA1d C3750−I5−MSwitch 01!−−− When you issue the show boot command, it now reads the new code revision!−−− that will load at the next reboot.3750#show bootBOOT path−list : flash:c3750−i5−mz.122−20.SE/c3750−i5−mz.122−20.SE.binConfig file : flash:/config.textPrivate Config file : flash:/private−config.textEnable Break : noManual Boot : no。

CISCO交换机IOS升级的步骤

CISCO交换机IOS升级的步骤

本文以CISCO 2950交换机为例:IOS升级的步骤描述如下:一、预备知识交换机与计算机有相似点是,它也有内存、操作系统、配置和用户界面,Cisco交换机中,操作系统叫做互连网操作系统(Internet Operating System)或IOS。

下面介绍交换机的存储器。

ROM(只读存储器):包含路由器正在使用的IOS的一份副本;RAM(随机访问存储器):IOS将随机访问存储器分成共享和主存,主要用来存储运行中的交换机配置;FLASH (闪存):用来存储IOS软件映像文件,闪存是可以擦除内存,它能够用IOS的新版本覆写.NVRAM(非易失性随机访问存储器):用来存储系统的配置文件。

交换机的IOS升级主要是闪存中的IOS映像文件进行更换。

二、前期准备1、准备进行IOS升级的Cisco2950交换机一台;2、电脑一台(台式机、笔记本均可),○1用于对交换机进行配置操作○2作为TFTP服务器;3、直连网线一根(即两段线序一致),用于向交换机传输IOS文件;4、交换机配置线一根;5、TFTP服务器软件一套,本次使用的是“Cisco TFTP Server”;6、IOS升级文件一份。

三、开始升级1、用配置线连接交换机的Console口与电脑的COM1口(或USB口,依据配置线不同而定),网线连接交换机F0/1口与电脑的以太网口。

电脑IP设为192.168.0.1。

2、将电脑作为TFTP服务器,打开TFTP服务器软件,并将其根目录设为IOS文件所在目录。

3、为使交换机能与TFTP服务器相互通信,我们需要为交换机设置IP地址。

使用Windows自带的超级终端软件,将交换机F0/1的地址设为与电脑的IP地址同网段。

具体步骤如下(进入全局配置模式):Switch<config>#interface vlan 99 //创建并进入vlan99;Switch<config-subif>#ip address 192.168.0.2 255.255.255.0//为vlan99添加IP;Switch<config-subif>#no shutdown //启用vlan99;Switch<config-subif>#exit //退回全局配置模式;Switch<config>#interface fasethernet 0/1 //进入F0/1口;Switch<config-if>#switch access vlan 99 //将F0/1口划入vlan99;Switch<config-if>#exit //退回全局配置模式;这时,如果能够在超级终端界面上Ping通192.168.0.1,就表明交换机和TFTP服务器(电脑)连接正常了。

思科MDS光纤交换机IOS升级步骤

思科MDS光纤交换机IOS升级步骤
以上是在正在升级第二台的情况
CN_setx#[/]powermt display
Symmetrix logical device count=0
CLARiiON logical device count=4
==============================================================================
43620221 Jan 01 00:03:11 1980 m9100-s1ek9-mz.1.3.4a.bin
44270742 Nov 11 08:44:49 2005 m9100-s1ek9-mz.2.0.4a.bin
Usage for bootflash://sup-local
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
1 loader 1.2(2) 1.2(2) no
Do you want to continue with the installation (y/n)? [n] y
安装完成后光纤交换机重起
14 0/6/1/0.225.1.239.0 optimal 4 0 - 0 0
以上是在有一台已经升级好了的情况
CN_setx#[/]powermt display
Symmetrix logical device count=0
------ ---------- -------------------- -------------------- ------------

CISCO IOS升级详细步骤汇总

CISCO IOS升级详细步骤汇总

一、以3750为例:(适用于大部分接入层网络设备,TFTP最好使用tftp32,可以支持大文件)1、查看3750IOS信息WH-KJY-HJ-B16-3750-01#sh flashDirectory of flash:/2 -rwx 1036 Feb 7 2012 13:39:20 +08:00 vlan.dat3 -rwx 5 Oct 25 2012 16:11:52 +08:00 private-config.text5 -rwx 7691 Oct 25 2012 16:11:52 +08:00 config.text6 drwx 192 Mar 1 1993 08:07:03 +08:00 c3750-ipservices-mz.122-35.SE5 15998976 bytes total (5480960 bytes free)2、由于flash空间不够无法导入新版本的IOS,所以只能删除旧的IOS版本WH-KJY-HJ-B16-3750-01#cd flash:/c3750-ipservices-mz.122-35.SE5//进入旧的目录下删除WH-KJY-HJ-B16-3750-01#dirDirectory of flash:/c3750-ipservices-mz.122-35.SE5/7 -rwx 8054867 Mar 1 1993 08:05:34 +08:00 c3750-ipservices-mz.122-35.SE5.bin8 drwx 4224 Mar 1 1993 08:05:57 +08:00 html509 -rwx 616 Mar 1 1993 08:07:03 +08:00 info15998976 bytes total (5480960 bytes free)#delete flash:/c3750-ipservices-mz.122-35.SE5/c3750-ipservices-mz.122-35.SE5.bin//删除旧IOS 版本(注意在操作这步前,将之前的IOS备份一份保存,以便出现问题可以回退)Delete filename [/c3750-ipservices-mz.122-35.SE5/c3750-ipservices-mz.122-35.SE5.bin]? Delete flash:/c3750-ipservices-mz.122-35.SE5/c3750-ipservices-mz.122-35.SE5.bin? [confirm]删除完成后查看flash信息:WH-KJY-HJ-B16-3750-01#sh flashDirectory of flash:/c3750-ipservices-mz.122-35.SE5/8 drwx 4224 Mar 1 1993 08:05:57 +08:00 html509 -rwx 616 Mar 1 1993 08:07:03 +08:00 info15998976 bytes total (13536256 bytes free)3、导入新的IOS#copy tftp: c3750-ipservicesk9-mz.122-40.SE.bin flash: c3750-ipservicesk9-mz.122-40.SE.bin4、查看新的IOS导入后flash信息WH-KJY-HJ-B16-3750-01#sh flashDirectory of flash:/2 -rwx 1036 Feb 7 2012 13:39:20 +08:00 vlan.dat3 -rwx 5 Oct 25 2012 16:11:52 +08:00 private-config.text4 -rwx 9975530 Mar5 2013 17:59:01 +08:00 c3750-ipservicesk9-mz.122-40.SE.bin5 -rwx 7691 Oct 25 2012 16:11:52 +08:00 config.text6 drwx 128 Mar 5 2013 17:53:23 +08:00 c3750-ipservices-mz.122-35.SE5 //不带bin后缀这种事目录)15998976 bytes total (3560448 bytes free)WH-KJY-HJ-B16-3750-01#sh bootBOOT path-list : flash:c3750-ipservices-mz.122-35.SE5/c3750-ipservices-mz.122-35.SE5.binConfig file : flash:/config.textPrivate Config file : flash:/private-config.textEnable Break : noManual Boot : noHELPER path-list :Auto upgrade : yesAuto upgrade path :5、更改设备IOS启动顺序,并保存WH-KJY-HJ-B16-3750-0(config)#boot sys flash:/c3750-ipservicesk9-mz.122-40.SE.binWH-KJY-HJ-B16-3750-0(config)#endWH-KJY-HJ-B16-3750-01#wrBuilding configuration...[OK]6、查看设备IOS启动项是否是新升级的ios名称WH-KJY-HJ-B16-3750-01#sh bootBOOT path-list : flash:/c3750-ipservicesk9-mz.122-40.SE.binConfig file : flash:/config.textPrivate Config file : flash:/private-config.textEnable Break : noManual Boot : noHELPER path-list :Auto upgrade : yesAuto upgrade path :7、启动项正常后,重启网络设备WH-KJY-HJ-B16-3750-01#reload二、堆叠设备的IOS升级(以C3750为例)1、相关配置信息WH-KJY-HJ-B14-3750-01#sh verCisco 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 nachenImage text-base: 0x00003000, data-base: 0x01080000ROM: Bootstrap program is C3750 boot loaderBOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(25r)SEE3, RELEASE SOFTWARE (fc1)WH-KJY-HJ-B14-3750-01 uptime is 51 weeks, 6 days, 7 hours, 13 minutesSystem returned to ROM by power-onSystem restarted at 10:23:38 beijing Wed Mar 7 2012System image file is "flash:c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin"cisco WS-C3750G-12S (PowerPC405) processor (revision W0) with 118784K/12280K bytes of memory.Processor board ID FDO1334Y12VLast reset from power-on2 Virtual Ethernet interfaces24 Gigabit Ethernet interfacesThe password-recovery mechanism is enabled.512K bytes of flash-simulated non-volatile configuration memory.Base ethernet MAC Address : 00:26:CA:A5:9A:00Motherboard assembly number : 73-9678-11Power supply part number : 341-0048-03Motherboard serial number : FDO13340G0JPower supply serial number : DTN1330301JModel revision number : W0Motherboard revision number : A0Model number : WS-C3750G-12S-SSystem serial number : FDO1334Y12VTop Assembly Part Number : 800-25856-09Top Assembly Revision Number : A0Version ID : V11CLEI Code Number : COMX310ARAHardware Board Revision Number : 0x06Switch Ports Model SW Version SW Image------ ----- ----- ---------- ----------* 1 12 WS-C3750G-12S 12.2(35)SE5 C3750-IPBASE-M2 12 WS-C3750G-12S 12.2(35)SE5 C3750-IPBASE-M Switch 02---------Switch Uptime : 51 weeks, 6 days, 7 hours, 11 minutesBase ethernet MAC Address : 00:26:CB:75:22:00Motherboard assembly number : 73-9678-11Power supply part number : 341-0048-03Motherboard serial number : FDO13340J4SPower supply serial number : LIT133203Y3Model revision number : W0Motherboard revision number : A0Model number : WS-C3750G-12S-SSystem serial number : FDO1334Y16UTop assembly part number : 800-25856-09Top assembly revision number : A0Version ID : V11CLEI Code Number : COMX310ARAConfiguration register is 0xFWH-KJY-HJ-B14-3750-01#sh bootBOOT path-list : flash:c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin Config file : flash:/config.textPrivate Config file : flash:/private-config.textEnable Break : noManual Boot : noHELPER path-list :Auto upgrade : yesAuto upgrade path :-------------------Switch 2-------------------BOOT path-list : flash:c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin Config file : flash:/config.textPrivate Config file : flash:/private-config.textEnable Break : noManual Boot : noHELPER path-list :Auto upgrade : noAuto upgrade path :WH-KJY-HJ-B14-3750-01#dirDirectory of flash:/2 -rwx 856 Mar 1 1993 08:01:03 +08:00 vlan.dat4 -rwx 6287 Oct 25 2012 16:07:34 +08:00 config.text5 -rwx 5 Oct 25 2012 16:07:34 +08:00 private-config.text510 drwx 192 Mar 1 1993 08:09:18 +08:00 c3750-ipbase-mz.122-35.SE515998976 bytes total (6363136 bytes free)2、删除旧的IOS#delete flash1:/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.binDelete filename [/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin]?Delete flash:/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin? [confirm]#delete flash2:/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.binDelete filename [/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin]?Delete flash2:/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin? [confirm]3、拷贝新的IOS到flash中#copy tftp: c3750-ipservicesk9-mz.122-40.SE.bin flash1: c3750-ipservicesk9-mz.122-40.SE.bin 4、查看导入新的IOS后flash信息WH-KJY-HJ-B14-3750-01#sh flashDirectory of flash:/2 -rwx 856 Mar 1 1993 08:01:03 +08:00 vlan.dat3 -rwx 9975530 Mar 5 2013 17:41:13 +08:00 c3750-ipservicesk9-mz.122-40.SE.bin4 -rwx 6287 Oct 25 2012 16:07:34 +08:00 config.text5 -rwx 5 Oct 25 2012 16:07:34 +08:00 private-config.text510 drwx 128 Mar 5 2013 17:36:02 +08:00 c3750-ipbase-mz.122-35.SE515998976 bytes total (3562496 bytes free)WH-KJY-HJ-B14-3750-01#sh flash1Directory of flash:/2 -rwx 856 Mar 1 1993 08:01:03 +08:00 vlan.dat3 -rwx 9975530 Mar 5 2013 17:41:13 +08:00 c3750-ipservicesk9-mz.122-40.SE.bin4 -rwx 6287 Oct 25 2012 16:07:34 +08:00 config.text5 -rwx 5 Oct 25 2012 16:07:34 +08:00 private-config.text510 drwx 128 Mar 5 2013 17:36:02 +08:00 c3750-ipbase-mz.122-35.SE515998976 bytes total (3562496 bytes free)WH-KJY-HJ-B14-3750-01#sh flash2Directory of flash2:/2 -rwx 856 Mar 1 1993 08:01:06 +08:00 vlan.dat3 -rwx 6287 Oct 25 2012 16:07:34 +08:00 config.text4 -rwx5 Oct 25 2012 16:07:34 +08:00 private-config.text6 drwx 128 Mar 5 2013 17:36:37 +08:00 c3750-ipbase-mz.122-35.SE515998976 bytes total (13538304 bytes free)5、上面flash2中无新的ios,重新拷贝#copy tftp: c3750-ipservicesk9-mz.122-40.SE.bin flash2: c3750-ipservicesk9-mz.122-40.SE.bin然后在查看:WH-KJY-HJ-B14-3750-01#sh flash2Directory of flash2:/2 -rwx 856 Mar 1 1993 08:01:06 +08:00 vlan.dat3 -rwx 6287 Oct 25 2012 16:07:34 +08:00 config.text4 -rwx5 Oct 25 2012 16:07:34 +08:00 private-config.text5 -rwx 9975530 Mar 5 2013 17:44:11 +08:00 c3750-ipservicesk9-mz.122-40.SE.bin6 drwx 128 Mar 5 2013 17:36:37 +08:00 c3750-ipbase-mz.122-35.SE515998976 bytes total (3562496 bytes free)6、更改启动项(新的IOS启动)WH-KJY-HJ-B14-3750-0(config)#boot sys switch all flash:/c3750-ipservicesk9-mz.122-40.SE.bin 7、保存并查看启动项WH-KJY-HJ-B14-3750-01#wrBuilding configuration...[OK]WH-KJY-HJ-B14-3750-01#sh bootBOOT path-list : flash:/c3750-ipservicesk9-mz.122-40.SE.binConfig file : flash:/config.textPrivate Config file : flash:/private-config.textEnable Break : noManual Boot : noHELPER path-list :Auto upgrade : yesAuto upgrade path :-------------------Switch 2-------------------BOOT path-list : flash:/c3750-ipservicesk9-mz.122-40.SE.binConfig file : flash:/config.textPrivate Config file : flash:/private-config.textEnable Break : noManual Boot : noHELPER path-list :Auto upgrade : noAuto upgrade path :8、重启网络设备WH-KJY-HJ-B14-3750-01# reload三、6509交换机IOS升级1、导出原有IOS镜像(使用tftp32软件进行导入导出IOS,导出IOS主要是备份,以便由于bootflash空间不够,需要删除原有IOS)#copy sup-bootflash: tftpAddress or name of remote host []? 10.1.1.2Source filename []? s3223-ipbasek9-mz.122-18.SXF6.bin(拷入的IOS名称)Destination filename [s3223-ipbasek9-mz.122-18.SXF6.bin]?Accessing tftp://10.1.1.2/s3223-ipbasek9-mz.122-18.SXF6.bin...Loading s3223-ipbasek9-mz.122-18.SXF6.bin from 10.1.1.2(via FastEthernet1/1):!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 27966916 bytes]27966916 bytes copied in 222.684 secs (125590 bytes/sec)Verifying compressed IOS image checksum...Verified compressed IOS image checksum for sup-bootflash:/s3223-ipbasek9-mz.122-18.SXF6.bin2、删除原有IOS,保障新的IOS有足够的空间#delete sup-bootflash:s72033-pk9sv-mz.122-14.SX1.bin然后再传。

CISCO路由器IOS升级方法总结

CISCO路由器IOS升级方法总结

CISCO路由器IOS升级方法总结概述在网络设备中,CISCO路由器是一种常见且广泛使用的设备。

为了保持设备的正常运行和维护安全性,定期升级路由器的操作系统(IOS)是必要的。

本文将总结CISCO路由器IOS升级的方法,以帮助用户顺利完成相关操作。

准备工作在开始升级路由器IOS之前,需要完成以下准备工作: 1. 确定当前路由器的型号和支持的IOS版本。

2. 下载最新的IOS版本文件,确保文件的完整性和正确性。

3. 使用一个TFTP(Trivial File Transfer Protocol)服务器,用于从服务器传输IOS文件到路由器上。

确保服务器能够正常工作,并连接到路由器所在的网络。

步骤一:备份当前的配置在进行任何升级操作之前,最重要的是备份当前的路由器配置。

这样,在升级过程中出现问题时,可以恢复到之前的配置状态。

以下是备份配置的步骤: 1. 连接到路由器的控制台界面或使用SSH(Secure Shell)进行远程登录。

2. 输入以下命令进入特权模式:enable3.进入全局配置模式:configure terminal4.输入以下命令将路由器配置保存到TFTP服务器上:copy running-config tftp:5.根据提示输入TFTP服务器的IP地址和备份文件保存的位置。

6.验证备份文件是否成功保存。

步骤二:升级IOS完成备份操作后,接下来是升级路由器的IOS。

根据下载的IOS版本文件以及路由器型号,执行以下步骤: 1. 确认当前IOS版本:show version2.通过TFTP服务器将新的IOS版本文件上传到路由器上:copy tftp: flash:3.根据提示输入TFTP服务器的IP地址和IOS文件的名称。

4.确认升级文件的完整性和正确性。

5.设置路由器引导文件指向新的IOS版本:boot system flash <IOS文件名>6.保存配置并重新启动路由器:write memoryreload7.确认路由器已经成功升级并正常运行。

交换机IOS升级

交换机IOS升级

交换机IOS升级首先需要有IOS文件,如果没有备份原文件的话,可以找个同一版本的IOS来替代。

第一种方法:X-Modem以前我曾经尝试过一种方法,就是当Flash被删除后,启动无法进入系统,可以用X-Modem来恢复它。

当时我不小心删除了一台Cisco2950交换机的Flash IOS,导致系统无法启动,在查过不少资料后得到一个结论:唯一的方法通过X-Modem来恢复。

我的恢复方法如下:1、用控制线连接交换机console口与计算机串口1,用带有xmodem功能的终端软件连接(win2000 and xp的超级终端就带这功能)。

2、设置连接方式为串口1(如果连接的是其他串口就选择其他串口),速率9600,无校验,无流控,停止位1。

或者点击默认设置也可以。

3、连接以后计算机回车出现交换机无ios的界面,一般的提示符是:switch:4、拔掉交换机后的电源线重新启动交换机5、在超级终端输入:switch:flash_init会出现如下提示:Initializing Flash...6:输入拷贝指令:switch:copy xmodem: flash:image_filename.bin出现如下提示:Begin the Xmodem or Xmodem-1K transfer now...7、系统提示不断出现C这个字母就可以开始传文件了8、点击超级终端菜单:传送---发送文件,在协议选项中选择Xmodem或者Xmodem-1K协议,然后选择ios的影像文件(*.bin),开始传送。

9、因为不能改速率,所以传送得很慢,我的大概传送了80分钟左右,请耐心等待。

10、传送完毕后提示:File "xmodem:" successfully copied to ....switch:11、在提示符下输入switch:boot启用新的ios系统12、重新加电完成恢复工作。

这个是我恢复的方法,现在看来非常的不科学,效率低。

Cisco 升级IOS的四种简单方法

Cisco 升级IOS的四种简单方法

在“为什么要升级Cisco IOS”一文中为大家讲述了Cisco网络设备升级IOS的意义和作用,接下来我们就为大家介绍四种Cisco 升级IOS的方法,供大家参考!Cisco升级IOS的四种简单方法1、最简单的:向思科购买IOS升级包把购买到的IOS升级包直接解压到思科网络设备的Flash中,这是最正式和最简单的一种升级IOS的方法。

当需要升级IOS时,我们可以向山东思科总代理购买相应的IOS(一般是一个IOS的压缩包),其中包括操作系统文件和其他的一套配套文件(如支持网页化管理的文件)。

把这个压缩包直接解压释放到Cisco网络设备的Flash中,就可以完成升级。

2、最常用的:直接复制新版的IOS到Flash芯片中,替换老版IOS具体操作是:通过TFTP服务器,直接将IOS文件复制到Cisco设备的Flash芯片中替换原有的IOS文件。

大多有经验的思科网络工程师都喜欢用这种方式升级IOS。

对于资深的网络工程师,即使在购买了IOS升级包的情况下,他们也喜欢用这种方式来进行Cisco IOS升级。

3、最慢的:通过XMODEM升级IOS这种升级是利用Cisco设备的AUX接口来升级IOS。

与通过以太网接口升级不同的是,这种方法传输文件的速度是相当的慢!因为它是通过AUX(实际上属于COM口)来进行的,其速度受到串行接口的限制。

这种升级IOS的方法只有在以下情况才用的到:1)设备以太网端口无法使用或损坏;2)异地操作,网络中没有TFTP服务器。

这种情况下的具体操作是:在Cisco路由器的AUX口上连一台MODEM,通过远程连接到设备上,然后进行IOS的升级操作,很慢哦:)升级IOS一般是为了使用思科网络设备更高性能,但有些时候却是不得已而为之。

大家有没有遇到过这种情况:思科网络设备启动后自动进入了rommon monitor配置模式,这时出现的提示符为"rommon"。

这是怎么回事呢?这说明你的IOS被误删了。

cisco6509-IOS备份与升级步骤

cisco6509-IOS备份与升级步骤

Cisco6509 IOS备份、升级操作步骤及其相关注意事项目录Cisco6509 IOS备份、升级操作步骤及其相关注意事项 (1)目录 (2)Cisco6509 IOS备份步骤: (3)准备材料: (3)操作步骤: (3)Cisco6509 IOS升级步骤 (4)准备材料: (4)操作步骤: (4)Cisco6509 IOS备份步骤:准备材料:PC机一台,以太网线一根,console线一根所需软件:T或者T(传输大容量数据),CRT操作步骤:1.将console线连接交换机的console口,打开CRT对交换机进行操作;2.用网线连接PC和交换机,将PC和交换机的以太网接口都配置一个同网段的一个地址;3.“sh boot”查看当前使用的IOS存放位置、IOS文件名及其寄存器值;4.打开TFTP服务器,如下图所示进行配置,即可将IOS备份到TFTP服务器根目录下;Cisco6509 IOS升级步骤准备材料:PC机一台,以太网线一根,console线一根所需软件:T或者T(传输大容量数据),CRT操作步骤:1.按照下面链接在官网下载合适的IOS文件,并将该文件拷贝至t根目录下;2.将console线连接交换机的console口,打开CRT对交换机进行操作;3.用网线连接PC和交换机,将PC(eg:172.16.0.1)和交换机的以太网接口(eg:172.16.0.2)都配置一个同网段的一个地址,打开t;4.查看本地内存空间;备注:Cisco6509不支持从bootflash中的IOS启动;5.如果发现sup-bootflash中的内存空间不足,则可删除原来的IOS文件,并释放内存空间,具体操作如下图所示:6.按下图操作,即可将新IOS上传至交换机的sup-bootflash文件中;在配置模式下,用“long6509A(config)#boot system flashsup-bootflash:s72033-ipservicesk9-mz.151-2.SY9.bin”命令选择相应的IOS启动文件,并保存重启;7.若正常重启,则升级完成;若因断电、IOS文件受损等原因导致升级失败,交换机进入remmom模式,此时交换机上不存在任何的IOS文件,则有以下几种办法来重新导入新的IOS 文件:A.通过t来上传IOS文件1)将计算机串口和路由器console口相连一定将计算机网口与路由器第一个以太口f0/0相连.2) 启动TFTP服务器,并将要下载的版本放于指定目录下面3) 冷启动路由器,在开机的前60秒之内,按住“Ctrl+Break”键4) 这时系统会进入灾难恢复模式,其提示符为“Rommon1>”5) Rommon1>IP_ADDRESS=192.168.1.2 (设置f0/0口的IP地址为192.168.1.2)6) Rommon2>IP_SUBNET_MASK=255.255.255.0 (设置子网掩码255.255.255.0)7) Rommon3>DEFAULT_GATEWAY=192.168.1.254 (缺省网关随便设置)8) Rommon4>T (设置TFTP服务器的IP地址192.168.1.254)9) Rommon5>T (即TFTP服务器上备份IOS的文件名)10) Rommon6> t (准备复制IOS映像,注意:前面的几条命令必须使用大写,而最后的t 则要用小写,而且保证TFTP是打开的)Do you wish to continue? y/n: [n]: yReceiving c2600-ik8o3s-mz.122-11.T.bin from 192.168.1.1Rommon8>reset又回到了熟悉的IOS模式下输。

10 升级CISCO交换机IOS

10 升级CISCO交换机IOS

交换机IOS的灾难恢复和用TFTP升级IOS相比,Xmodem速度更慢,操作相对会复杂一点。

如果你的交换机还能进系统,推荐使用TFTP方式升级IOS,当IOS被别人误删之后,那只能用Xmodem 方式恢复IOS。

1、使用SecureCRT新建会话在新建会话中注意把波特率改为9600,在XON/XOFF前打勾。

2、要执行的命令switch:flash_initswitch:load_helperswitch: format flash: 格式化flash, 可不做Are you sure you want to format "flash:" (all data will be lost) (y/n)?yflashfs[0]: 0 files, 1 directoriesflashfs[0]: 0 orphaned files, 0 orphaned directoriesflashfs[0]: Total bytes: 15998976flashfs[0]: Bytes used: 1024flashfs[0]: Bytes available: 15997952flashfs[0]: flashfs fsck took 8 seconds.Filesystem "flash:" formatted3、发送文件在发送XModem的时候选中交换机的IOS,这个过程要经过几个小时。

switch: copy xmodem: flash:c3550-i9q3l2-mz.121-13.EA1a.binBegin the Xmodem or Xmodem-1K transfer now...CC正在开始xmodem 传输。

按Ctrl+C 取消。

正在传输c3550-i9q3l2-mz.121-13.EA1a.bin...7% 223 KB 0 KB/s 01:03:53 ETA 0 错误4、Boot启动交换机switch: boot flash:c3550-ipservicesk9-mz.122-25.SEE2.bin说明:为了加快速度,可以先用XMODEM灌一个小的IOS,进行系统后,再用tftp 或ftp 进行升级。

Cisco Catalyst 2950、2960、3550、4006、4506交换机IOS升级

Cisco Catalyst 2950、2960、3550、4006、4506交换机IOS升级

Cisco Catalyst 2950、2960、3550、4006、4506交换机IOS升级[复制链接]一、对于正常联网使用的交换机,可以通过Telent登录交换机并通过TFTP升级IOS。

(1)假设网管计算机的IP地址为192.168.1.2/255.255.255.0(2)在网管计算机上运行TFTP Server,配置目录位置并将新IOS拷贝到相关目录,配置允许发送和接收。

(3)网管计算机使用Telnet登录交换机。

(4)升级//备份原IOSSwitch#copy flash:/c2950-*.bin tftpAddress or name of remote host[]?192.168.1.2Destination filename [c2950-*.bin]?//删除原IOSSwitch#delete flash:/c2950-*.bin//释放存储空间Switch#squeeze//上传新IOSSwitch#copy t ftp://192.168.1.2/c2950-*.bin flash:(5)上传完成后可以使用reload命令重启交换机,或关机重新加电开机。

二、对于Cisco Catalyst 2950、2960、3550、4006、4506等交换机,如果未联网使用而作为冗余备用交换机时,也可以通过TFTP升级IOS。

(1)将管理计算机的IP地址设置为192.168.1.2/255.255.255.0。

(2)网管计算机的COM1口使用控制线连接交换机的Console口;网口使用普通网线连接交换机的Fa0/1口。

如果是4006或4506,则可以使用其WS-X4548-GB-RJ45或WS-X4232-GB-RJ45模块上的RJ45口。

(3)在网管计算机上运行TFTP Server,配置目录位置并将新IOS拷贝到相关目录,配置允许发送和接收。

(4)交换机加电开机,在网管计算机上运行超级终端并登录交换机。

Cisco CRS-1 IOSXR软件升级步骤

Cisco CRS-1 IOSXR软件升级步骤

Cisco CRS-1-MC IOS XR软件离线升级步骤(IOS XR 3.6.3)(内部参考)2009-12-21升级前的准备工作●准备好相关的升级软件(VM、PIE、SMU);●准备好TFTP Server软件;●准备好空Flash卡;●准备好Console、直通线和小改锥(十字和一字)等工具;●记录LCC和FCC的机箱序列号;⏹Location of the Serial Number(Write)⏹Displaying the Chassis Serial Numbers(Show)◆RP/0/RP0/CPU0:router(admin)# show diag chassis◆ommon B5 > dumpplaneeeprom2LCC1 RP0引擎升级2.1启动前先将LCC1上的备RP(RP1)拔出2.2启动后按Ctrl+C,进入ROM Monitor2.3检查RP0上的disk0状态rommon B2 > dir disk0:2.4设置管理接口、TFTP参数和Turboboot变量rommon B3 > setrommon B4 > IP_ADDRESS=10.0.0.2rommon B5 > IP_SUBNET_MASK=255.255.255.0rommon B6 > DEFAULT_GATEWAY=10.0.0.1rommon B7 > TURBOBOOT=on,disk0,formatrommon B8 > TFTP_BLKSIZE=512rommon B9 > sync2.5检查配置参数是否正确rommon B11 > setIP_ADDRESS=10.0.0.2IP_SUBNET_MASK=255.255.255.0DEFAULT_GATEWAY=10.0.0.1TURBOBOOT=on,disk0,formatTFTP_BLKSIZE=5122.6加载新的vm imagerommon B12 > boot tftp://10.0.0.1/comp-hfr-mini.vm-3.6.32.7配置系统管理账户及口令--- Administrative User Dialog ---Enter root-system username: rootEnter secret:Enter secret again:2.8登录系统User Access VerificationUsername: rootPassword:RP/0/RP0/CPU0:ios#2.9进入管理模式进行检查adminRP/0/RP0/CPU0:ios(admin)#sh install requestRP/0/RP0/CPU0:ios(admin)#sh install activeRP/0/RP0/CPU0:ios(admin)#install commitRP/0/RP0/CPU0:ios(admin)#sh install act sum2.10检查RP0上Disk0RP/0/RP0/CPU0:ios#dir disk0:2.11TURBOBOOT过程完成TURBOBOOT: Resetting TURBOBOOT rommon variable to (TURBOBOOT=). TURBOBOOT: Setting config-register to autoboot the router and disable send break. TURBOBOOT: Turboboot completed successfully: the router will now reload from diskTURBOBOOT: *** RESETTING IN 30 SECONDS ***2.12系统自动重启rebooting .........................2.13按Ctrl+C,进入ROM Monitor2.14删除管理接口、TFTP配置参数并重启系统rommon B12 > unset IP_ADDRESSrommon B13 > unset IP_SUBNET_MASKrommon B14 > unset DEFAULT_GATEWAYrommon B15 > unset TFTP_BLKSIZErommon B16 > unset TURBOBOOTrommon B18 > syncrommon B19 > reset2.15进入ROM Monitor修改LCC1 Rack NUM(目前为RACK0)rommon B8 > RACK_NUM=1rommon B9 > SYNC2.16配置 LCC1、FCC0、FCC1的Rack NUMRP/1/RP0/CPU0:ios#adminRP/1/RP0/CPU0:ios(admin)#conf tRP/0/RP0/CPU0:ios(admin-config)#dsc serial TBM13374007 rack 1RP/0/RP0/CPU0:ios(admin-config)#dsc serial TBA13340004 rack 240RP/0/RP0/CPU0:ios(admin-config)#dsc serial TBA13390034 rack 241RP/0/RP0/CPU0:ios(admin-config)#commit2.17配置LCC1的交换平面RP/0/RP0/CPU0:ios(admin-config)#controllers fabric plane 0RP/0/RP0/CPU0:ios(admin-config-plane-0)# oim count 1RP/0/RP0/CPU0:ios(admin-config-plane-0)# oim width 1RP/0/RP0/CPU0:ios(admin-config-plane-0)# oim instance 0 location F0/SM0/FMRP/0/RP0/CPU0:ios(admin-config-plane-0)#!RP/0/RP0/CPU0:ios(admin-config-plane-0)#controllers fabric plane 1RP/0/RP0/CPU0:ios(admin-config-plane-1)# oim count 1RP/0/RP0/CPU0:ios(admin-config-plane-1)# oim width 1RP/0/RP0/CPU0:ios(admin-config-plane-1)# oim instance 0 location F0/SM9/FM RP/0/RP0/CPU0:ios(admin-config-plane-1)#!RP/0/RP0/CPU0:ios(admin-config-plane-1)#controllers fabric plane 2RP/0/RP0/CPU0:ios(admin-config-plane-2)# oim count 1RP/0/RP0/CPU0:ios(admin-config-plane-2)# oim width 1RP/0/RP0/CPU0:ios(admin-config-plane-2)# oim instance 0 location F0/SM12/FM RP/0/RP0/CPU0:ios(admin-config-plane-2)#!RP/0/RP0/CPU0:ios(admin-config-plane-2)#controllers fabric plane 3RP/0/RP0/CPU0:ios(admin-config-plane-3)# oim count 1RP/0/RP0/CPU0:ios(admin-config-plane-3)# oim width 1RP/0/RP0/CPU0:ios(admin-config-plane-3)# oim instance 0 location F0/SM21/FM RP/0/RP0/CPU0:ios(admin-config-plane-3)#RP/0/RP0/CPU0:ios(admin-config-plane-3)#controllers fabric plane 4RP/0/RP0/CPU0:ios(admin-config-plane-4)# oim count 1RP/0/RP0/CPU0:ios(admin-config-plane-4)# oim width 1RP/0/RP0/CPU0:ios(admin-config-plane-4)# oim instance 0 location F1/SM0/FM RP/0/RP0/CPU0:ios(admin-config-plane-4)#!RP/0/RP0/CPU0:ios(admin-config-plane-4)#controllers fabric plane 5RP/0/RP0/CPU0:ios(admin-config-plane-5)# oim count 1RP/0/RP0/CPU0:ios(admin-config-plane-5)# oim width 1RP/0/RP0/CPU0:ios(admin-config-plane-5)# oim instance 0 location F1/SM9/FMRP/0/RP0/CPU0:ios(admin-config-plane-5)#!RP/0/RP0/CPU0:ios(admin-config-plane-5)#controllers fabric plane 6RP/0/RP0/CPU0:ios(admin-config-plane-6)# oim count 1RP/0/RP0/CPU0:ios(admin-config-plane-6)# oim width 1RP/0/RP0/CPU0:ios(admin-config-plane-6)# oim instance 0 location F1/SM12/FMRP/0/RP0/CPU0:ios(admin-config-plane-6)#!RP/0/RP0/CPU0:ios(admin-config-plane-6)#controllers fabric plane 7RP/0/RP0/CPU0:ios(admin-config-plane-7)# oim count 1RP/0/RP0/CPU0:ios(admin-config-plane-7)# oim width 1RP/0/RP0/CPU0:ios(admin-config-plane-7)# oim instance 0 location F1/SM21/FMRP/0/RP0/CPU0:ios(admin-config-plane-7)#RP/1/RP0/CPU0:ios(admin-config-plane-7)#commit2.18检查所有板卡运行状态RP/1/RP0/CPU0:ios(admin)#sh plat3FFC SCGE引擎升级Note:开始下面步骤前请确定LLC和FCC间的控制平面光纤和交换平面光纤已正确连接Note:升级过程中可能需要调换控制平面光纤的收发顺序3.1修改FC0和FC1上的SC0引擎启动变量rommon B111 > confreg 0x102rommon B112 > reset3.2SC0重启并自动和LCC的RP进行同步3.3修改FC0和FC1上的SC1引擎启动变量rommon B111 > confreg 0x102rommon B112 > reset3.4SC1重启并自动和本机箱SC0进行同步(LCC RP1此时还未插入)4LCC和FCC升级后检查●RP/1/RP0/CPU0:ios(admin)#sh dsc all●RP/1/RP0/CPU0:ios(admin)#sh controllers fabric plane all detail●RP/1/RP0/CPU0:ios(admin)#sh controllers fabric connectivity all detail●RP/1/RP0/CPU0:ios(admin)#sh controllers fabric bundle all detail●LLC1 RP0状态为:●LLC1 RP1状态为:●FCC SC0状态为:●FCC SC1状态为:●LCC和FCC上其它板卡(MSC、SFC、OIM-LED)状态为:5LCC1 RP1引擎升级●将LCC1的备用RP(RP1)插入,自动同步6LCC1上配置管理端口RP/1/RP0/CPU0:ios(config)#int MgmtEth1/RP0/CPU0/0RP/1/RP0/CPU0:ios(config-if)#no shutRP/1/RP0/CPU0:ios(config-if)#ipv4 add 10.0.0.2/24RP/1/RP0/CPU0:ios(config-if)#commit7安装PIERP/1/RP0/CPU0:ios#install add tftp://10.0.0.1/hfr-mgbl-p.pie-3.6.3 activate synRP/1/RP0/CPU0:ios(admin)#sh install ac sumRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-mpls-p.pie-3.6.3 activate syn RP/1/RP0/CPU0:ios(admin)#sh install ac sumRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-diags-p.pie-3.6.3 activate syn RP/1/RP0/CPU0:ios(admin)#sh install ac sumRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-k9sec-p.pie-3.6.3 activate syn RP/1/RP0/CPU0:ios(admin)#sh install ac sumRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-fpd.pie-3.6.3 activate syn RP/1/RP0/CPU0:ios(admin)#sh install ac sumRP/1/RP0/CPU0:ios(admin)#sh install active summaryRP/1/RP0/CPU0:ios(admin)#install commitRP/1/RP0/CPU0:ios(admin)#sh install committed summary8安装SMUNote:某些SMU会造成系统重启RP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-admin-3.6.3.CSCsu88589.pietftp://10.0.0.1/hfr-base-3.6.3.CSCsz74287.pie tftp://10.0.0.1/hfr-base-3.6.3.CSCta28023.pietftp://10.0.0.1/hfr-base-3.6.3.CSCtb32805.pie activate syncRP/1/RP0/CPU0:ios(admin)#install commitRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-lc-3.6.3.CSCsr92045.pie activate synchronous RP/1/RP0/CPU0:ios(admin)#install commitRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-lc-3.6.3.CSCta58404.pie activate synchronousRP/1/RP0/CPU0:ios(admin)#install commitRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-lc-3.6.3.CSCtb05707.pie activate synchronousRP/1/RP0/CPU0:ios(admin)#install commitRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-lc-3.6.3.CSCtc64545.pie activate synchronous RP/1/RP0/CPU0:ios(admin)#install commitRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-mcast-3.6.3.CSCta18474.pie activate synchronousRP/1/RP0/CPU0:ios(admin)#install commitRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-mpls-3.6.3.CSCsz41238.pie activate synchronousRP/1/RP0/CPU0:ios(admin)#install commitRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-rout-3.6.3.CSCtb18562.pie activate synchronousRP/1/RP0/CPU0:ios(admin)#install commitRP/1/RP0/CPU0:ios(admin)#install add tftp://10.0.0.1/hfr-base-3.6.3.CSCta04679.pie activate synchronousRP/1/RP0/CPU0:ios(admin)#install commit9状态检查●RP/1/RP0/CPU0:ios(admin)#sh dsc all●RP/1/RP0/CPU0:ios(admin)#sh install active summary●RP/1/RP0/CPU0:ios(admin)#sh install committed summary●RP/1/RP0/CPU0:ios(admin)#sh controllers fabric plane all detail●RP/1/RP0/CPU0:ios(admin)#sh controllers fabric connectivity all detail ●RP/1/RP0/CPU0:ios(admin)#sh controllers fabric bundle all detail●RP/1/RP0/CPU0:ios(admin)#sh plat。

路由器或交换机IOS升级

路由器或交换机IOS升级

在路由器操作系统可用的情况下:上次给一个客户升级了7206路由器的ios,这里的把大致的步骤写一下,供朋友们参考1.当然要先确定升级后ios版本了,没有目标怎么升级呢?如果你的客户都明确告诉你ios版本了,那你就太幸运了,省了好多事。

但是,大部分时候客户都是很糊涂的,当然要你自己搞定,所以要上cco去查了。

我的碰到情况是:原来的版本太低了,不支持8口的CE1的卡,上cco查了一下,确定了新的版本。

cco网址看这里/kobayashi/sw-center/sw-ios.shtml2。

其实这一步和上一步是紧密结合的呀,每一个ios的版本都需要一定的硬件支持。

这里的硬件主要是flash和内存(DRAM)的容量大小了,Cisco的网站都有具体的说明。

然后,看一下要升级的路由器的硬件配置:flash和内存(DRAM)的容量大小,用命令:show ver 就行了。

如果现有的flash和内存(DRAM)的容量大于要求的容量,就可以进入下一步了。

否则,要么换一个版本,要么升级的要升级的路由器的硬件了。

:(3。

下载新的ios版本,这里需要cco帐号了。

PR的帐号权限还不够,要Cisco金、银牌代理商的cco帐号就行了。

4。

把你的计算机连到路由器的fastethernet口上,设计算机的IP和路由器连的接口在同一个子网,在计算机上运行tftp软件。

开始备份现有的ios和Nvram里的配置,在7206上执行命令:copy flash tftp和copy run tftp。

就OK了。

COPY完了之后,为了保险,你在计算机上看看路由器的文件是不是COPY 过来呢。

5。

然后,就是很关键的一步了,把7206升级到新的IOS。

在计算机上运行tftp软件,把新的IOS放在tftp软件按装目录的根目录下,执行命令:copy tftp flash 。

如果一切顺利,那就差不多了。

你可以在终端仿真软件(我用的是CRT,很好用的,本站就有下载)看到一路的“!!!!!”符号。

……Cisco 升级IOS的四种简单方法

……Cisco 升级IOS的四种简单方法

在“为什么要升级Cisco IOS”一文中为大家讲述了Cisco网络设备升级IOS的意义和作用,接下来我们就为大家介绍四种Cisco 升级IOS的方法,供大家参考!Cisco升级IOS的四种简单方法1、最简单的:向思科购买IOS升级包把购买到的IOS升级包直接解压到思科网络设备的Flash中,这是最正式和最简单的一种升级IOS的方法。

当需要升级IOS时,我们可以向山东思科总代理购买相应的IOS(一般是一个IOS的压缩包),其中包括操作系统文件和其他的一套配套文件(如支持网页化管理的文件)。

把这个压缩包直接解压释放到Cisco网络设备的Flash中,就可以完成升级。

2、最常用的:直接复制新版的IOS到Flash芯片中,替换老版IOS具体操作是:通过TFTP服务器,直接将IOS文件复制到Cisco设备的Flash芯片中替换原有的IOS文件。

大多有经验的思科网络工程师都喜欢用这种方式升级IOS。

对于资深的网络工程师,即使在购买了IOS升级包的情况下,他们也喜欢用这种方式来进行Cisco IOS升级。

3、最慢的:通过XMODEM升级IOS这种升级是利用Cisco设备的AUX接口来升级IOS。

与通过以太网接口升级不同的是,这种方法传输文件的速度是相当的慢!因为它是通过AUX(实际上属于COM口)来进行的,其速度受到串行接口的限制。

这种升级IOS的方法只有在以下情况才用的到:1)设备以太网端口无法使用或损坏;2)异地操作,网络中没有TFTP服务器。

这种情况下的具体操作是:在Cisco路由器的AUX口上连一台MODEM,通过远程连接到设备上,然后进行IOS的升级操作,很慢哦:)升级IOS一般是为了使用思科网络设备更高性能,但有些时候却是不得已而为之。

大家有没有遇到过这种情况:思科网络设备启动后自动进入了rommon monitor配置模式,这时出现的提示符为"rommon"。

这是怎么回事呢?这说明你的IOS被误删了。

交换机-IOS升级方法

交换机-IOS升级方法
2013-3-1 7
超级终端的发送文件设置
2013-3-1
8
交换机IOS的恢复
• 交换机的IOS丢失或者损坏,会进入switch: • 首先执行命令:switch:flash_init • 然后执行: switch:dir flash: 这时候是看 不到IOS文件的 • 执行如下命令: switch:copy xmodem flash:ios文件名 • 在超级终端中用xmodem发送文件
2013-3-1 5
Rommon模式下的参数设置
Router启动时按Ctrl+Break进入Rommon监视器模式 rommon 1 >IP_ADDRESS=172.16.1.2(路由的IP如果 没有可在confreg对话框下设置) rommon 2 >IP_SUBNET_MASK=255.255.255.0 rommon 3 >DEFAULT_GATEWAY=172.16.1.1 rommon 4 >TFTP_SERVER=172.16.1.1 (存放ISO的 主机) rommon 5 >TFTP_FILE=c3640-jk9o3s-mz.12416a.bin(ISO文件名) rommon 6 >set(查看一下) rommon 7 >tftpdnld
19216812f0019216811填入ios文件存放的路径填入ios文件存放的路径点击按钮设置cisco点击按钮设置ciscotftpserver软件tftp服务器ip地址tftp服务器ip地址拷贝的源文件名拷贝的源文件名拷贝到设备上的文件名首先设置路由器和ftp服务器建立连接iso文件放在指定的用户名根目录下在路由器上配置ftp密码和用户名routerconfigipftpusernameciscoa101routerconfigipftppassword123456789routercopyftp

交换机升级步凑

交换机升级步凑

交换机IOS升级步凑总体流程:1. 寻找适合IOS及备份;2.确定交换机空间是否充足;3.IOS升级。

一、寻找适合IOS及备份1.寻找升级的IOS根据要升级Cisco交换机的型号,去寻找适合的IOS版本。

现版本为12.2(50)SE5,如上图找到一个更高版本,如上图2.备份现有的IOS2.1交换机端口配置IP地址将交换机第24口IP设置为10.110.210.98 255.255.255.128与电脑处于同一个网段,电脑可以与交换机直连。

2.2查看IOS文件位置及相关信息2.3 架设tftp环境可以用3CDaemon软件或Tftpd32软件来架设tftp环境3CDaemon软件界面设置好存放路径,copy交换机IOS时,输入电脑ip地址文件就会保存到D:\bf 这个文件夹内。

也可以把升级文件放到这个文件夹中进行升级操作。

2.4备份IOS到电脑升级前可以把交换机的IOS进行备份swish#copy/c3750-ipbasek9-mz.122-50.SE5/c3750-ipbasek9-mz.122-50.SE5.bin tftp2.5拷贝IOS到电脑将找到的IOS 拷贝到电脑上,我是在自己管理的其他交换机上找的,也可以去网上找。

3750G-***#copy/c3750-ipservicesk9-mz.122-55.SE4.bin tftp备份和拷贝好的IOS如下图:二、确定交换机空间是否充足1.查看原IOS文件相关信息剩余空间不到15M,而新IOS文件超过15M,所以需先将原IOS文件删除以释放flash空间。

2.空间不够,删除IOSswitch#delete c3750-ipbasek9-mz.122-50.SE5/c3750-ipbasek9-mz.122-50.SE5.bin剩余空间已超过新IOS文件大小,可以进行升级三、IOS升级1.将新IOS文件上传至交换机flashswitch#copy tftp flash2.设置启动IOS为新IOSswitch(config)#boot system flash:c3750-ipservicesk9-mz.122-55.SE4.bin3.保存重启后有效switch#wrswitch#reload。

CISCO 3750升级IOS实例

CISCO 3750升级IOS实例
7 drwx 4224 Mar 1 1993 00:06:04 +00:00 html
508 -rwx 598 Mar 1 1993 00:06:42 +00:00 info
15998976 bytes total (6364160 bytes free)
R1(config-if)#no switchport
R1(config-if)#ip address 10.1.1.2 255.255.255.252
2、架设tftp环境(本次以3CDaemon为例)
将3CDaemon安装在本地计算机C盘根目录下,运行3CDaemon.EXE并进行相关设置。
15998976 bytes total (6364160 bytes free)
R1#cd c3750-ipbase-mz.122-35.SE5(注意文件名区分大小写)
R1#dir
Directory of flash:/c3750-ipbase-mz.122-35.SE5/
6 -rwx 7175078 Mar 1 1993 00:05:41 +00:00 c3750-ipbase-mz.122-35.SE5.bin
R1#wr
Building configuration...
然后重启后有效
R1ctory of flash:/
2 -rwx 5 Mar 1 1993 02:10:54 +00:00 private-config.text
3 -rwx 1612 Apr 1 1993 22:19:01 +00:00 vlan11.dat
Address or name of remote host []? 10.1.1.1

升级cisco3750G的IOS

升级cisco3750G的IOS

升级cisco3750G的IOS第一篇:升级cisco 3750G的IOS升级cisco 3750G的IOS支持高级路由与ssh功能为了能让cisco交换的远程连接对于账号密码的安全性有所提高,可以用ssh方式连接终端,但是很多出厂的交换机默认的ios是不支持ssh这个功能的,为了能让cisco交换机支持ssh,必须升级带“K9”的IOS.下面是出厂cisco 3750G-24TS默认ios的截图3750交换机支持SSH需要12.1(11)EA1以上版本软件。

emi是增强型多层镜像,也就是对路由协议的支持更全;而smi 是标准多层镜像。

特性集共有三种:IP BASE、IP Services和Advanced IP Services。

•• IP BASE:支持第2层转发和基本的第3层路由,包括EIGRP stub模式。

IP Services:包括IP BASE特性集,支持高级第3层路由,如OSPF和组播路由。

• Advanced IP Services:包括IP Services,支持IPv6功能。

解决方案步骤:1.从cisco官网下载ios2.升级ios3.配置交换机支持ssh从cisco官网下载ios打开cisco官网这里以CISCO Server TFTP升级方式,如下图拷贝c3750-ipservicesk9-mz.122-50.SE3.bin 到TFTP目录下面升级ios3750G(config)#interface vlan 1 3750G(config-if)#ip add3750G(config-if)#ip address 192.168.100.2 255.255.255.0 3750G(config-if)#end 3750G#ping 192.168.100.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.100.1, timeout is 2 seconds:!!!Success rate is 100 percent(5/5), round-trip min/avg/max =1/1/1 ms 3750G#dirDirectory of flash:/3-rwx 1754 Feb 5 2010 16:40:45 +00:00 config.text 4-rwx 5 Feb 5 2010 16:40:45 +00:00 private-config.text 7 drwx 192 Mar 1 1993 00:07:31 +00:00 c3750-ipbase-mz.122-35.SE532514048 bytes total(22883840 bytes free)3750G#delete/force(不再询问确认)/recursive(删除目录下的子目录和文件)c3750-ipbase-mz.122-35.SE53750G#copy tftp flash(从tftp下载ios)Address or name of remote host 192.168.100.1 输入tftp地址Source filename c3750-ipservicesk9-mz.122-50.SE3.bin ios名称Destination filename [c3750-ipservicesk9-mz.122-50.SE3.bin]回车Accessing tftp://192.168.100.1/c3750-ipservicesk9-mz.122-50.SE3.bin...Loading c3750-ipservicesk9-mz.122-50.SE3.bin from 192.168.100.1(viaVlan1):![OKRestricted 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 DriveSan Jose, California 95134-1706Cisco IOS Software, C3750 Software(C3750-IPSERVICESK9-M), Version 12.2(50)SE3, RELEASE SOFTWARE(fc1)Initializing flashfs...flashfs[1]: 501 files, 7 directoriesflashfs[1]: 0 orphaned files, 0 orphaned directories flashfs[1]: Total bytes: 32514048 flashfs[1]: Bytes used: 21870080 flashfs[1]: Bytes available: 10643968 flashfs[1]: flashfs fsck took 2 seconds.flashfs[1]: Initialization complete....done Initializing flashfs.Checking for Bootloader upgrade..upgrading..writing boot sectors..done.The system will now restartBoot Sector Filesystem(bs)installed, fsid: 2 Base ethernet MAC Address: 3c:df:1e:c4:a1:00 Xmodem file system is available.The password-recovery mechanism is enabled.Initializing Flash...……………………………………………………………….中间省略Switch Ports Model SW Version SW Image------------------------------------* 1 28 WS-C3750G-24TS-1U 12.2(50)SE3 C3750-IPSERVICESK9-M 说明升级成功了Press RETURN to get started!配置交换机支持ssh3750G(config)# enable secret viong3750G(config)#username viong password 1234563750G(config)# line vty 0 4 3750G(config-line)#login local 3750G(config-line)#transport input ssh 设置让cisco交换机支持SSH连接第二篇:升级演讲稿(本站推荐)My favorite season Hollo,I am Lucy.Today I will talk about my favorite season.There are four kind of season in a year : spring ,summer ,autumn and winter.my favorite season is summer.I like summer because summer is hot ,and I can stay in the air conditioning room ,that is very cool.and I can eat many big icecreams.There is many kind of icecream :vanilla, strawberry flavor, blueberry flavor, chocolate flavor, taro taste, mango flavor, motcha taste ……when I see the becutiful sunshine outsid e the window feel very comfortable and very happy ,my mood was aroused and I want to do any thing :read books,study, draw ,listen to music ,do homework and housework.I will do well ,and I listen to the bird and cicada ,they can sing sweet songs, the sky is blue ,the cloud is white and the rive is clear……nature is very fair,so I like summer.Summer is a very changeable season it has a changeable climate.For example:a moment the sun is shiningbrightly,and then covered with dark clouds to rain cats and dogs.summer morning early, black late.the day is long and the night is shout.in summer ,all the plants grow lush ,and they are dark green.cicadas sing from day until night.many birds began in the summer to take off the plume.there are many animals also take off their purs.summer is the most busy season for farmers.They will harvest foods and grow foods in summer.people usually swim in summer.This is necessary.People often wear light and thin clothes,because wear dark color clothes absorb sunlight easily.in summer tadpoles into frogs.In the past, I went out to travel with my parents and friends.in 2014,we went to the us.We went to Los Angeles,Washington,NewYork,Lasvegas,Yellowstone national park.grand canyoun.In 2015,we drove a car along a west road.went straight on to the Qinghai lake.that was very interesting.the beginning was very hot,slowly slowly became very cold.And the above see level became more and more low.this summer holiday we went to Australia,we took the plane for eleven hours,that is very tired ,Australia was in winter.Because it is in the northern hemisphere.there were many koala and kangraroo, they were very cute.In summer ,we can go travel,we can go to the season and Instead of our country.So that it can be for the summer.If you are in china ,you can go to Australia,new Zealand,brazil,argentina……we can go to the seaside to swim to play water scooters,parachuting and all kind of water projects.we can also roll on the beach and pile of sand.and eat fruit:watermelon,greap,mango,peach,wax apple.we can learn to farmers ,grow some vegetables and fruit.listen to the cicada under the tree.enjoy plenty of sunbathing,or do more sports ,play basketball,play football,play volleyball.we can working hard insummer.In summer we can go to many interesting places in china:qingdao,dalian,shanghai,Beijing,Kaifeng,in xishuangbanna,jiu zhai gou.I prefer to see the landscape.of course,you can also go to the park or swimming pool,and stay in bed.I also like other season,spring is beautiful, everything is full of vitality,autumn is beautiful too ,everything chang the colour, become golden,it is very wonderful.winter is white,I like snow,it very lovely,I usually make a snowman with my friends.I like skiing too.I like summer best because it is even more fantastic.第三篇:升级整改措施(定稿)xx村党支部晋位升级整改措施为了扎实推进基层组织建设年活动,全面提高基层党建工作科学化水平,不断增强基层党组织的创造力、凝聚力和战斗力,结合工作实际,现就xx村党支部基层党组织建设晋位升级活动提出如下实施方案。

cisco3750升级ios

cisco3750升级ios
注:要注意ios的位置,有的可能会在一个目录里面。当dir时目录是的标识中有一个字母d
copy之前交换机的ip,笔记本上的tftp及ip当然是事先配好。
2、到要升级ios的交换机上dir一下,看是否有足够的空间存储新ios如果不足只能删除原来的ios,如果空间足够,直接copy tftp flash
3、设置启动ios为新ios:
conf t
boot system flash:c3750-ipservicesk9-mz.122-25.SEB4.bin
exit
wr mem
reload
完毕。
昨天出差加班遇到一台cisco3750交换机不能支持ospf为了能使他支持ospf特去网上搜索了相关内容下载了相关ios在这里跟大家分享一下升级ios详细步骤如下
cisco3750升级ios
cisco3750 升级ios
1、从其它cisco3750上备份下一份ios :
copy c3750-ipபைடு நூலகம்ervicesk9-mz.122-25.SEB4.bin tftp
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Cisco光纤交换机IOS升级步骤
一、 准备工作
1登录,
点击“support”
点击“select a task”
下载system software文件
下载kick start文件
下载完成后,使用md5校验工具校验是否文件是否正常。

2tftp工具(3CDaemon)
启动3CDaemon,
设置路径及重新启动TFTP服务。

二、 IOS的上传
Telnet进入交换机
显示当前的微码版本:show version
显示当前bootflash里的文件:dir bootflash:
上传文件,如果上传的过程中报错,试试重启tftp服务,可能解决问题
copy tftp://本机IP/m9200‐s2ek9‐kickstart‐mz.3.3.5.bin bootflash:
m9200‐s2ek9‐kickstart‐mz.3.3.5.bin
copy tftp://本机IP/m9200‐s2ek9‐mz.3.3.5.bin bootflash: m9200‐s2ek9‐mz.3.3.5.bin
dir bootflash
安装IOS
install all kickstart bootflash:m9200‐s2ek9‐kickstart‐mz.3.3.5.bin sys bootflash:
m9200‐s2ek9‐mz.3.3.5.bin
交换机将自动load文件,选择”y”,升级完毕后,将自动重启交换机,重启后,使用show
version显示IOS的版本是否已经升级正常。

相关文档
最新文档