• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Show version Trên Switch

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Show version Trên Switch

    hi all,
    Đây là một đoạn khi show version trong Catalyst 3550

    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:03:6B:22:42:80
    Motherboard assembly number: 73-4100-09
    Power supply part number: 34-0851-02
    Motherboard serial number: FAA0433AE3B
    Power supply serial number: PAC040302V8
    Model revision number: N0
    Motherboard revision number: B0
    Model number: WS-C3512-XL-EN
    System serial number: FAA0435X05A
    Configuration register is 0xF

    Mong các bạn trả lời giúp mình dong này "Configuration register is 0xF" có ý nghĩa ra sao? ta có thể thay đổi qua các giá trị nào.
    Cám ơn các bạn nhiều
    Thân chào

  • #2
    Re: Show version Trên Switch

    Thiet bi 3550 khong cho phep thay doi Config-Register.

    Changing the Config-Register and Setting Boot Statements
    Unlike some other Catalyst switches, there is no config-register command on the 3550. The configuration register value cannot be changed from the default.


    Comment


    • #3
      Anh cloud9 có thể gởi nội dung link lên đây luôn được không?

      Thanks

      Comment


      • #4
        Introduction
        Before You Begin
        Conventions
        Prerequisites
        Components Used
        Preparing to Upgrade
        Understanding File Extensions: bin vs tar files
        Understanding 3550 Software Image Naming Conventions: SMI vs EMI
        Understanding the 3550 Flash File System and Memory Requirements
        Changing the Config-Register and Setting Boot Statements
        Download Software Image
        Install TFTP Server
        Backup Configuration and Software Image
        Software Upgrade Procedure for 3550 Series Switches
        Step-by-Step Procedure for the 3550 using only the IOS image (.bin file)
        Step-by-Step Procedure for the 3550 using the CMS image (.tar file)
        Verify
        Troubleshoot
        Image Transfer from TFTP Server Failed
        Software Upgrade Failed / Switch: Prompt is Displayed / Switch is Rebooting Continuously
        Related Information

        Introduction

        This document explains the step-by-step procedure for upgrading the software image on Catalyst 3550 series switches using the Command Line Interface (CLI).

        This document does not cover the upgrade procedure using the Cluster Management Suite (CMS). For detailed instructions on this procedure, launch the CMS application, select Administration > Software Upgrade, and select Help from the menu bar.

        A software image upgrade may be necessary for many reasons:

        *

        You want to implement new features in your network that are available in the new software release.
        *

        You want to install a new line card that is not supported by the current software version.
        *

        Your switch has been affected by a known bug that is resolved in the next software release.

        Before You Begin
        Conventions

        For more information on document conventions, see the Cisco Technical Tips Conventions.
        Prerequisites

        If you are not already familiar with Catalyst 3550 naming conventions, feature sets, file systems and boot parameters, or how to setup a TFTP server and backup your configuration, it is recommended that you read the Preparing to Upgrade section of this document before attempting the software upgrade.

        Otherwise, you can skip any or all of theses topics and go directly to the Software Upgrade Procedure for 3550 Series Switches section of this document.
        Components Used

        This document is not restricted to specific software and hardware versions.

        The information presented in this document was created from devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If you are working in a live network, ensure that you understand the potential impact of any command before using it.
        Preparing to Upgrade
        Understanding File Extensions: bin vs tar files

        There are two types of files or file extensions you will see when downloading 3550 software from the LAN Switching software page of the Software Center (registered customers only) :

        *

        The .bin file is the IOS image. If you only want to use the CLI to manage the switch, this is the only file you will need to download.
        *

        The .tar file is an archive file from which both the IOS image and the CMS files are extracted during the upgrade process. If you want to manage switches or clusters of switches through a web interface (HTML), this is the only file you need to download.

        Note: When you download a .tar image, the file will be saved by whatever archive utility is installed on your PC. This could be WinZip or some other third-party software. There is no need to manually extract the archived files. This will be done automatically during the upgrade process.

        Note: For more information on the CMS, refer to the Multimedia Presentation .
        Understanding 3550 Software Image Naming Conventions: SMI vs EMI

        The 3550 is either a Layer 2 (L2) or Layer 3 (L3) switch, depending on the software version and feature set you install.

        The naming conventions for 3550 images begin with either of the following:

        The differences between the two are explained below.

        *

        The SMI image is essentially a L2 only image. In software version 121-8.EA1b, however, enhancements to the L2 feature set were made. Consequently, you may see the term Layer2+ used for this and later SMI releases. In software version 121-11.EA1, basic L3 functionality was added to the SMI image with static unicast routing, the Routing Information Protocol (RIP), and other features. Consequently, you will see the phrase basic Layer 3 routing features used for this and later SMI releases.
        *

        The EMI image is a L2 image combined with a full L3 feature set, including Interior Gateway Routing Protocol (IGRP) and Enhanced IGRP (EIGRP), Open Shortest Path First (OSPF), Border Gateway Protocol (BGP) Version 4, Hot Standby Router Protocol (HSRP), Protocol-Independent Multicast (PIM), and other advanced services.

        Note: For more information on SMI and EMI features, please refer to the Catalyst 3550 Multilayer Switch Software Configuration Guide under the Release Notes for your version of 3550 software.

        Note: All Catalyst 3550 Gigabit Ethernet (GE) switches are shipped with the EMI installed. Catalyst 3550 FastEthernet switches are shipped with either the SMI or the EMI installed. You can order the Enhanced Multilayer Software Image Upgrade kit (CD-3550-EMI=) to upgrade any Catalyst 3550 FastEthernet switch from the SMI to the EMI. Keep in mind, however, that unless your 3550 was purchased with the EMI image pre-installed, you must purchase the upgrade kit before downloading the EMI image.

        You can verify which version of software you are are running, where the image is installed, which feature set you are running, and the model of 3550 you have by issuing the show version command. A sample command output is shown below.

        3550#sh ver
        Cisco Internetwork Operating System Software
        IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE
        (fc1)


        !--- The I5Q3L2 in the beginning of the image name tells
        !--- you this is an EMI.
        !--- If you see I9Q3L2 instead, this means you are
        !--- running a SMI.
        !--- The version of software you are currently running is 12.1(12c)EA1.

        Copyright (c) 1986-2002 by cisco Systems, Inc.
        Compiled Mon 25-Nov-02 00:07 by antonino
        Image text-base: 0x00003000, data-base: 0x0075FE48
        ROM: Bootstrap program is C3550 boot loader
        3550 uptime is 2 weeks, 1 day, 3 hours, 0 minutes
        System returned to ROM by power-on
        System image file is "flash:c3550-i5q3l2-mz.121-12c.EA1/c3550-i5q3l2-mz.121-12c.
        EA1.bin"


        !--- The image is installed in the
        !--- flash/c3550-i5q312-mz.121-12c.EA1 directory.



        --- output suppressed ---

        Model revision number: 03
        Motherboard revision number: 03
        Model number: WS-C3550-24PWR-SMI


        !--- This is a WS-C3550-24PWR-SMI.
        !--- Note the SMI at the end of the model number.
        !--- This is the factory configuration and does not change
        !--- even if you upgrade to an EMI.

        System serial number: CSJ0644U00Y
        Configuration register is 0x10F
        3550#

        Understanding the 3550 Flash File System and Memory Requirements
        3550 Flash File System

        The 3550 ships from the factory with a CMS image (.tar file) installed in the flash: directory. The extraction process that takes place with a .tar file creates an IOS image directory that has the same name as the IOS image (.bin file), but without the file extension. The IOS image (.bin file) is stored in this directory along with an HTML subdirectory that contains the CMS files.

        You can view the 3550 Flash file system by issuing the dir flash: command. A sample command output is shown below.

        3550#dir flash:
        Directory of flash:/
        2 -rwx 796 Mar 01 1993 00:00:36 vlan.dat
        3 -rwx 0 Mar 01 1993 00:04:17 env_vars
        4 -rwx 1637 Mar 07 1993 14:34:06 config.text
        5 -rwx 348 Mar 01 1993 00:04:17 system_env_vars
        6 -rwx 5 Mar 07 1993 14:34:06 private-config.text
        7 drwx 192 Mar 01 1993 00:18:55 c3550-i5q3l2-mz.121-12c.EA1


        !--- Notice the d in the permissions indicating that
        !--- c3550-i5q312-mz.121-12c.EA1 is a directory.
        !--- This is where both the IOS image (.bin file) and
        !--- the HTML subdirectory are located.

        15998976 bytes total (10415104 bytes free)

        If you upgrade using just the IOS image (bin file), you will issue the copy tftp command, which is fully explained in the Step-by-Step Procedure for the 3550 using only the IOS image (.bin file) section of this document.

        If you upgrade using the CMS image ( .tar file), you will issue the archive download-sw command, which is fully explained in the Step-by-Step Procedure for the 3550 using the CMS image (.tar file) section of this document.
        3550 Memory Requirements

        DRAM Memory

        The SDRAM configuration on all 3550s is 64 MB. There are no minimum DRAM requirements to consider before upgrading software on the 3550.

        FLASH Memory

        All 3550s have 16 MB of internal Flash memory. The Flash memory is not upgradeable.

        You can only store a limited number of images in Flash. Always check the size (in bytes) of the image on the LAN Switching Software page of the Software Center (registered customers only) before upgrading software. Compare the size of this image with the free space in Flash by issuing the dir flash: command. A sample command output is shown below.

        3550#dir flash:
        Directory of flash:/
        2 -rwx 796 Mar 01 1993 00:00:36 vlan.dat
        3 -rwx 346 Mar 01 1993 00:21:36 system_env_vars
        6 drwx 192 Mar 01 1993 00:21:34 c3550-i5q3l2-mz.121-13.EA1
        7 drwx 192 Mar 01 1993 00:18:55 c3550-i5q3l2-mz.121-12c.EA1
        42 -rwx 0 Mar 01 1993 00:21:35 env_vars
        15998976 bytes total (4416512 bytes free)


        !--- This is the free memory in Flash.

        If necessary, issue the delete flash: <filename> command to delete a single IOS image (.bin file), or the delete /force /recursive command to delete a directory and all the files in it.

        If you are upgrading using a CMS image (.tar file), the upgrade procedure uses the archive download-sw command. This command has a few options, including archive download-sw /overwrite, which overwrites or replaces the old software, and archive download-sw /leave-old-sw, which leaves the old software, but consequently requires more Flash space.

        Issuing the delete command and the archive download-sw command are covered in detail in the Software Upgrade Procedure for the 3550 Series Switches section of this document.
        Changing the Config-Register and Setting Boot Statements

        Unlike some other Catalyst switches, there is no config-register command on the 3550. The configuration register value cannot be changed from the default.

        The 3550 will automatically search for a valid software image to boot from, even if a boot system statement is not set. It is still recommended, however, to set the boot statement anyway as a precaution. The command to set a boot system statement is boot system flash:<filename> .

        Multiple images can be specified in the boot statement by separating them with a semicolon. The command would be boot system flash:<file1;file2>

        If you are using a CMS image on the 3550, the IOS image (.bin file) will be extracted into its own directory. The boot system command becomes boot system flash:<directory/filename> .

        Issuing the boot system command is covered in detail in the Software Upgrade Procedure for the 3550 Series Switches section of this document.
        Download Software Image

        The 3550 software image must be downloaded onto the PC that will act as the TFTP server prior to actual image upgrade. Download the software image from the LAN Switching Software section of the Software Center (registered customers only) . To download the software image, you must be a registered user and you must be logged in. If you do not understand which image to download, review the Preparing to Upgrade section of this document.
        Install TFTP Server

        For sample output for this document, a third-party TFTP server is installed on a PC running Microsoft Windows 2000 Professional. You can use any TFTP server installed on any platform. It is not necessary that you use a PC with a Windows OS.

        1.

        Download and install any shareware TFTP software from the Internet on the PC that you will be using to copy the 3550 software image to the switch. The TFTP server root directory must be the directory to which the software image is downloaded. You can download the images to the default root directory of the TFTP server or change the root directory path to the directory in which the software image is stored.
        2.

        Access the switch CLI by connecting a console cable between the switch console port and the PC. Refer to Connecting a Terminal to the Console Port on Catalyst Switches to access the CLI using the hyperterminal.

        Note: The switch can be upgraded using remote Telnet access. You will, however, loose Telnet connectivity when the switch is reloaded during the software upgrade. The Telnet can be re-established once it is loaded with the new image, however, to troubleshoot in case of failure, it is essential to have local console access. A switch upgrade using console access is preferred.
        3.

        For best results, configure a VLAN interface on the switch to be in the same VLAN (subnet) as your directly connected TFTP server. If it is not possible to have your TFTP server directly connected to the switch, issue either the ip default-gateway or the ip route command to set a default gateway to reach the TFTP server.

        On the 3550, you can configure a VLAN interface with an IP address and with L2 physical interfaces as members of that VLAN. Alternately, you can configure a physical interface as a L3 interface with its own IP address, similar to a router.

        In the example below, a VLAN interface with a FastEthernet L2 physical interface in that VLAN is used. In this example, the 3550 and TFTP server are not in the same subnet, so a default route is configured.

        3550#conf t
        3550(config)#int vlan 1


        !--- A FastEthernet interface is in VLAN 1.

        3550(config-if)#ip address 10.10.10.1 255.255.255
        3550(config-if)#no shut
        3550(config-if)#exit
        3550(config)#ip route 0.0.0.0 0.0.0.0 10.10.10.129


        !--- Issue this command as one way to establish
        !--- connectivity to a TFTP server on a different subnet or network.

        3550(config)#end
        3550#
        3550#ping 20.20.20.2


        !--- Ping the IP address of the TFTP server
        !--- from the switch to verify connectivity.

        Type escape sequence to abort.
        Sending 5, 100-byte ICMP Echos to 20.20.20.2, timeout is 2 seconds:
        !!!!!
        Success rate is 100 percent (5/5), round-trip min/avg/max = 1/202/1000 ms
        3550#

        Backup Configuration and Software Image

        Perform a backup of the switch configuration to the PC running TFTP server. If you loose the switch configuration for any reason, you can always restore it from the TFTP server.

        Issue the copy startup-config tftp command on the 3550 to back up your current configuration to a TFTP server. A sample command output is shown below.

        3550#copy startup-config tftp
        Address or name of remote host []? 20.20.20.2


        !--- Type your TFTP server IP.
        !--- Press Return or Enter.

        Destination filename [3550-confg]?


        !--- Press Return or Enter.
        !--- The file 3550-confg will be saved in the
        !--- TFTP server root directory.

        !!
        1622 bytes copied in 3.656 secs (444 bytes/sec)
        3550#

        Software Upgrade Procedure for 3550 Series Switches

        There are two upgrade procedures available for the 3550:

        1.

        If you want to use the CLI only and do not intend to use Cisco's CMS software, follow the Step-by-Step Procedure for the 3550 using only the IOS image (.bin file) .
        2.

        If you want to use the latest version of Cisco's CMS software, follow the Step-by-Step Procedure for the 3550 using the CMS image (.tar file).

        Note: For more information on the CMS, refer to the Multimedia Presentation.
        Step-by-Step Procedure for the 3550 using only the IOS image (.bin file)

        For this example, the software on a 3550 is upgraded from version 12.1(12c)EA1 to version 121-13.EA1 using only the IOS image (.bin file). The procedure is the same no matter which version of software you use.

        1.

        Issue the show version command to view the current version of software that you are running. A sample command output is shown below.

        3550#sh ver
        Cisco Internetwork Operating System Software
        IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE
        (fc1)


        !--- The current software version is 12.1(12c)EA1.

        2.

        Go to the LAN Switching Software section of the Software Center (registered customers only) .

        Select Catalyst 3550 software and find the image you want to download. Note the size of the image in bytes. In this example, the c3550-i5q3l2-mz.121-13.EA1.bin file is used. The i5q3l2 in the beginning of the filename tells us this is an EMI. The image size is 3993612 bytes, or approximately 4 MB. Download the image you want.

        Note: The upgrade procedure is the same for the SMI. The SMI image has i9q3l2 in the beginning of the filename. It is a smaller image and will take up less room in Flash. If you still have questions about whether to use an SMI or EMI image, refer to the Understanding 3550 Software Image Naming Conventions: SMI vs EMI section of this document.
        3.

        Issue the dir flash: command on the 3550 to verify how much free memory you have for the upgrade. A sample command output is shown below.

        3550#dir flash:
        Directory of flash:/
        2 -rwx 556 Mar 01 1993 00:02:13 vlan.dat
        3 -rwx 3384393 Mar 01 1993 00:32:58 c3550-i5q3l2-mz.121-9.EA1c.bin
        4 drwx 192 Mar 01 1993 00:10:15 c3550-i5q3l2-mz.121-11.EA1a


        !--- Notice the d for dir4ectory in the permissions statement.

        38 -rwx 0 Mar 01 1993 00:10:15 env_vars
        7 -rwx 348 Mar 01 1993 00:10:15 system_env_vars
        12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1


        !--- Notice the d for directory in the permissions statement.

        15998976 bytes total (1949184 bytes free)


        !--- There is just under 2 MB of memory left, which is not enough.
        !--- One of the old images or possibly a directory will
        !--- have to be deleted in order to upgrade.

        3550#

        Note: If you already have enough room in Flash for the upgrade, you can proceed directly to Step 5 .
        4.

        Issue the delete command to remove the old 121-9.EA1c IOS image (.bin file). This will free up enough room for the upgrade. A sample command output is shown below.

        3550#delete flash:c3550-i5q3l2-mz.121-9.EA1c.bin
        Delete filename [c3550-i5q3l2-mz.121-9.EA1c.bin]?


        !--- Press Return or Enter.

        Delete flash:c3550-i5q3l2-mz.121-9.EA1c.bin? [confirm]


        !--- Press Return or Enter.

        3550#
        3550#dir flash:
        Directory of flash:/
        2 -rwx 556 Mar 01 1993 00:02:13 vlan.dat
        4 drwx 192 Mar 01 1993 00:10:15 c3550-i5q3l2-mz.121-11.EA1a
        38 -rwx 0 Mar 01 1993 00:10:15 env_vars
        7 -rwx 348 Mar 01 1993 00:10:15 system_env_vars
        12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
        15998976 bytes total (5334016 bytes free)


        !--- After deleting the old IOS image file, there is now over
        !--- 5 MB of free memory. This is enough for the upgrade.

        3550#

        You may need to free up even more space for an upgrade depending on how many images you have stored in Flash. You can delete an old image directory to accomplish this.

        Note: Keep in mind this is where the old IOS image (.bin file) as well as the files needed for the CMS are stored. If you do not use the web interface to manage the switch or you have a newer image directory, this is not a problem.

        Issue the delete /force /recursive command to delete an image directory and all the subdirectories and files in it. A sample command output is shown below.

        3550#delete /force /recursive flash:c3550-i5q3l2-mz.121-11.EA1a
        Delete filename [c3550-i5q3l2-mz.121-11.EA1a]?


        !--- Press Return or Enter.

        3550#
        3550#dir flash:
        Directory of flash:/
        2 -rwx 556 Mar 01 1993 00:02:13 vlan.dat
        38 -rwx 0 Mar 01 1993 00:10:15 env_vars
        7 -rwx 348 Mar 01 1993 00:10:15 system_env_vars
        12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
        15998976 bytes total (10417664 bytes free)


        !--- Freeing up more room was not necessary in this case,
        !--- however, you can see you now have over 10 MB of free space.

        3550#

        5.

        Perform the upgrade by issuing the copy tftp flash: command.

        3550#copy tftp flash:
        Address or name of remote host []? 20.20.20.2


        !--- This is TFTP server IP. Press Return or Enter.

        Source filename []? c3550-i5q3l2-mz.121-13.EA1.bin


        !--- Press Return or Enter.

        Destination filename [c3550-i5q3l2-mz.121-13.EA1.bin]?
        Accessing tftp://20.20.20.2/c3550-i5q3l2-mz.121-13.EA1.bin...
        Loading c3550-i5q3l2-mz.121-13.EA1.bin from 20.20.20.2 (via Vlan1): !!!!!!!!!!
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        [OK - 3993612 bytes]


        !--- The image was copied successfully.

        3993612 bytes copied in 107.992 secs (36981 bytes/sec)
        3550#dir flash:
        Directory of flash:/
        2 -rwx 556 Mar 01 1993 00:02:13 vlan.dat
        3 -rwx 3993612 Mar 01 1993 01:11:07 c3550-i5q3l2-mz.121-13.EA1.bin


        !--- The new image is installed in the flash: directory.

        38 -rwx 0 Mar 01 1993 00:10:15 env_vars
        7 -rwx 348 Mar 01 1993 00:10:15 system_env_vars
        12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
        15998976 bytes total (6423552 bytes free)
        3550#
        3550#verify flash:c3550-i5q3l2-mz.121-13.EA1.bin
        Verified flash:c3550-i5q3l2-mz.121-13.EA1.bin
        3550#


        !--- Issue the verify command to verify the
        !--- image checksum is correct.

        6.

        Set a boot system statement so the new image boots on the next reload. A sample command output is shown below.

        3550#conf t
        Enter configuration commands, one per line. End with CNTL/Z.
        3550(config)#boot system flash:c3550-i5q3l2-mz.121-13.EA1.bin
        3550(config)#end
        3550#
        3550#sh boot
        BOOT path-list: flash:c3550-i5q3l2-mz.121-13.EA1.bin


        --- output suppressed ---
        !--- The boot system statement will not show up in the config.
        !--- Issue the show boot command to verify the new image
        !--- will boot on the next reload of the switch.

        7.

        Issue the wr mem command to save your changes and reload the switch. A sample command output is shown below.

        3550#wr mem
        Building configuration...
        [OK]
        3550#reload
        Proceed with reload? [confirm]


        !--- Press Return or Enter.

        01:21:53: %SYS-5-RELOAD: Reload requested


        --- output suppressed ---

        Press RETURN to get started!


        !--- Press Return or Enter.



        --- output suppressed ---

        8.

        Verify you are running the new image by issuing the show version command. A sample command output is shown below.

        3550#sh ver
        Cisco Internetwork Operating System Software
        IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE
        (fc1)


        !--- The c3550-I5Q3L2 means that you are running the EMI.
        !--- The current software version is 12.1(13)EA1.




        --- output suppressed ---

        This completes the upgrade procedure on a 3550 using only the IOS image (.bin file).

        Step-by-Step Procedure for the 3550 using the CMS image (.tar file)

        For this example, the software on a 3550 is upgraded from version 12.1(12c)EA1 to verison 121-13.EA1 using the CMS image (.tar file).

        1.

        Issue the show version command to view the current version of software that you are running. A sample command output is shown below.

        3550#sh ver
        Cisco Internetwork Operating System Software
        IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE
        (fc1)


        !--- The current software version is 12.1(12c)EA1.

        2.

        Go to the LAN Switching Software section of the Software Center (registered customers only) .

        Select Catalyst 3550 software and find the image you want to download. Note the size of the image in bytes. In this example, the c3550-i5q3l2-tar.121-13.EA1.tar file is used. The i5q3l2 in the beginning of the filename tells us this is an EMI. The image size is 6011904 bytes or approximately 6 MB. Download the image you want.

        Note: The upgrade procedure is the same for the SMI. The SMI image has i9q3l2 in the beginning of the filename. It is a smaller image and will take up less room in Flash. If you still have questions about whether to use an SMI or EMI image, refer to the Understanding 3550 Software Image Naming Conventions: SMI vs EMI section of this document.
        3.

        Issue the dir flash: command on the 3550 to verify how much free memory you have for the upgrade. A sample command output is shown below.

        3550#dir flash:
        Directory of flash:/
        2 -rwx 556 Mar 01 1993 00:00:35 vlan.dat
        3 -rwx 3384393 Mar 01 1993 19:46:37 c3550-i5q3l2-mz.121-9.EA1c.bin


        !--- Notice there is one IOS image (.bin file) and
        !--- two image directories installed.

        4 -rwx 1595 Mar 01 1993 19:52:41 config.text
        5 -rwx 0 Mar 01 1993 19:52:33 env_vars
        8 drwx 192 Mar 01 1993 19:42:50 c3550-i5q3l2-mz.121-11.EA1
        12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1


        !--- Notice the d in the permissions indicating that these are directories.
        !--- These directories contain the IOS image(.bin file) and CMS files,
        !--- which were extracted from the .tar image during the upgrade.

        38 -rwx 316 Mar 01 1993 19:52:33 system_env_vars
        15998976 bytes total (1948160 bytes free)


        !--- There is under 2 MB of free memory in Flash, which
        !--- may not be enough for the upgrade.

        3550#

        Note: If you already have enough room in Flash for the upgrade, you can proceed directly to Step 5 .
        4.

        If you need to free up memory on the 3550, you have the following options:
        *

        If you do not want to keep the current version of software, you can overwrite or replace it during the upgrade procedure. Proceed to Step 5 if this is what you want to do.
        *

        If you want to leave the current version of software as a backup, you may need to manually delete an older image or directory.

        If you want to leave the current version of software, and you do not have enough space in Flash, issue the delete command to remove an old IOS image or directory in order to make room for the upgrade. A sample command output is shown below.

        3550#delete flash:c3550-i5q3l2-mz.121-9.EA1c.bin
        Delete filename [c3550-i5q3l2-mz.121-9.EA1c.bin]?


        !--- Press Enter or Return.

        Delete flash:c3550-i5q3l2-mz.121-9.EA1c.bin? [confirm]


        !--- Press Enter or Return.

        3550#
        3550#dir flash:
        Directory of flash:/
        2 -rwx 556 Mar 01 1993 00:00:35 vlan.dat
        4 -rwx 1595 Mar 01 1993 19:52:41 config.text
        5 -rwx 0 Mar 01 1993 19:52:33 env_vars
        8 drwx 192 Mar 01 1993 19:42:50 c3550-i5q3l2-mz.121-11.EA1


        !--- Notice the d in the permissions indicating these are directories.

        12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
        38 -rwx 316 Mar 01 1993 19:52:33 system_env_vars
        15998976 bytes total (5332992 bytes free)


        !--- In this case, although additional memory is
        !--- created by deleting an old IOS image (.bin file),
        !--- there is still not enough free memory for the new 6 MB image.
        !--- You will need to delete one of the image directories.

        3550#

        The image directory on a 3550 is where the IOS image (.bin file) and the CMS files are extracted from the .tar image and installed during the upgrade. The image directory is named with the IOS image name (excluding the .bin extension). A sample command output is shown below.

        3550#dir c3550-i5q3l2-mz.121-11.EA1
        Directory of flash:/c3550-i5q3l2-mz.121-11.EA1/
        9 drwx 704 Mar 01 1993 19:40:57 html


        !--- The html subdirectory contains the CMS files
        !--- needed for web management.

        36 -rwx 3703698 Mar 01 1993 19:42:50 c3550-i5q3l2-mz.121-11.EA1.bin


        !--- This is the IOS image (.bin file) for this image directory.

        37 -rwx 252 Mar 01 1993 19:42:50 info
        15998976 bytes total (5332992 bytes free)
        3550#

        Issue the delete /force /recursive command to delete an image directory and all the files in it. A sample command output is shown below.

        3550#delete /force /recursive c3550-i5q3l2-mz.121-11.EA1
        Delete filename [c3550-i5q3l2-mz.121-11.EA1]?


        !--- Press Enter or Return.

        3550#
        3550#dir flash:
        Directory of flash:/
        2 -rwx 556 Mar 01 1993 00:00:35 vlan.dat
        4 -rwx 1595 Mar 01 1993 19:52:41 config.text
        5 -rwx 0 Mar 01 1993 19:52:33 env_vars
        12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
        38 -rwx 316 Mar 01 1993 19:52:33 system_env_vars
        15998976 bytes total (10415616 bytes free)


        !--- There is now enough room to proceed with the upgrade.

        5.

        Issue the archive download-sw command to copy over the .tar file and extract all the files inside it.

        There are two options to consider with this command. The options are /leave-old-sw or /overwrite.

        The upgrade procedure is exactly the same no matter which option you choose, but the results are different.

        If you choose to leave the current version of software as a backup, the command syntax is archive download-sw /leave-old-sw tftp://<tftp server ip>/<filename> . As discussed in Step 4, make sure you have enough space in Flash to use this option.

        If you choose to overwrite or replace the current version of software with the newer version, the command syntax is archive download-sw /overwrite tftp://<tftp server ip>/<filename> . This is the option used in this document.

        Note: There are other options that can be used in addition to these, however, they are not covered in this document. For more details, refer to Working with the IOS File System, Configuration Files, and Software Images for your release of 3550 software.

        Issue the dir flash: command. A sample command output is shown below.

        3550#dir flash:
        Directory of flash:/
        2 -rwx 916 Mar 01 1993 00:00:48 vlan.dat
        3 -rwx 1554 Mar 01 1993 02:53:42 config.text
        4 -rwx 5 Mar 01 1993 02:53:42 private-config.text
        6 -rwx 0 Mar 01 1993 00:02:21 env_vars
        5 drwx 192 Mar 01 1993 02:49:44 c3550-i5q3l2-mz.121-12c.EA1


        !--- This is the current version of software.

        8 -rwx 277 Mar 01 1993 00:02:21 system_env_vars
        15998976 bytes total (10415104 bytes free)
        3550#

        Issue the archive download-sw command with the /overwrite option to replace the current version of software 121-12c.EA1 with a newer version of software 121-13.EA1. A sample command output is shown below.

        3550#archive download-sw /overwrite tftp://20.20.20.2/c3550-i5q3l2-tar.121-13.EA1.tar
        examining image...
        Loading c3550-i5q3l2-tar.121-13.EA1.tar from 20.20.20.2 (via Vlan1): !!!!!!!!!
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        extracting info (252 bytes)!
        [OK - 6011904 bytes]
        Image info:
        Version Suffix: i5q3l2-121-13.EA1
        Image Name: c3550-i5q3l2-mz.121-13.EA1.bin
        Version Directory: c3550-i5q3l2-mz.121-13.EA1
        Ios Image Size: 3996160
        Total Image Size: 6010880
        Image Feature: LAYER_3|MIN_DRAM_MEG=64
        Image Family: C3550
        Extracting files...
        Loading c3550-i5q3l2-tar.121-13.EA1.tar from 171.71.79.73 (via Vlan1): !
        c3550-i5q3l2-mz.121-13.EA1/ (directory)
        c3550-i5q3l2-mz.121-13.EA1/html/ (directory)


        !--- The CMS files are being extracted into
        !--- the c3550-i5q3l2-mz.121-13.EA1/html/ directory.

        extracting c3550-i5q3l2-mz.121-13.EA1/html/homepage.htm (3992 bytes)!
        extracting c3550-i5q3l2-mz.121-13.EA1/html/not_supported.html (1392 bytes)
        extracting c3550-i5q3l2-mz.121-13.EA1/html/common.js (9529 bytes)!!
        extracting c3550-i5q3l2-mz.121-13.EA1/html/cms_splash.gif (22152 bytes)!!!!!
        extracting c3550-i5q3l2-mz.121-13.EA1/html/cms_13.html (1211 bytes)


        --- output suppressed ---

        extracting c3550-i5q3l2-mz.121-13.EA1/c3550-i5q3l2-mz.121-13.EA1.bin (3993612 by
        tes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


        --- output suppressed ---



        !--- The IOS image (.bin file) is being extracted into
        !--- the c3550-i5q3l2-mz.121-13.EA1 directory.

        [OK - 6011904 bytes]
        Deleting current version...
        Deleting flash:c3550-i5q3l2-mz.121-12c.EA1...done.


        !--- The current version of software has been deleted.

        New software image installed in flash:c3550-i5q3l2-mz.121-13.EA1


        !--- The current version of software has been
        !--- replaced with the newer version.

        Configuring system to use new image...done.
        3550#
        3550#verify c3550-i5q3l2-mz.121-13.EA1/c3550-i5q3l2-mz.121-13.EA1.bin
        Verified c3550-i5q3l2-mz.121-13.EA1/c3550-i5q3l2-mz.121-13.EA1.bin
        3550#


        !--- Verify the image checksum.

        3550#dir flash:
        Directory of flash:/
        2 -rwx 916 Mar 01 1993 00:00:48 vlan.dat
        3 -rwx 1554 Mar 01 1993 02:53:42 config.text
        4 -rwx 5 Mar 01 1993 02:53:42 private-config.text
        6 -rwx 346 Mar 01 1993 00:17:35 system_env_vars
        24 drwx 192 Mar 01 1993 00:17:24 c3550-i5q3l2-mz.121-13.EA1


        !--- The .tar file extraction process created a new IOS image directory.

        5 -rwx 0 Mar 01 1993 00:17:35 env_vars
        15998976 bytes total (9992704 bytes free)
        3550#
        3550#dir flash:c3550-i5q3l2-mz.121-13.EA1
        Directory of flash:/c3550-i5q3l2-mz.121-13.EA1/
        25 drwx 832 Mar 01 1993 00:15:22 html


        !--- The CMS files have been extracted into the html subdirectory.

        40 -rwx 3993612 Mar 01 1993 00:17:24 c3550-i5q3l2-mz.121-13.EA1.bin


        !--- The IOS image (.bin file) is installed in the image directory.

        41 -rwx 252 Mar 01 1993 00:17:24 info
        15998976 bytes total (9992704 bytes free)
        3550#
        3550#dir flash:c3550-i5q3l2-mz.121-13.EA1/html
        Directory of flash:c3550-i5q3l2-mz.121-13.EA1/html/
        27 -rwx 3992 Mar 01 1993 00:14:25 homepage.htm
        28 -rwx 1392 Mar 01 1993 00:14:25 not_supported.html
        29 -rwx 9529 Mar 01 1993 00:14:25 common.js
        30 -rwx 22152 Mar 01 1993 00:14:26 cms_splash.gif
        31 -rwx 1211 Mar 01 1993 00:14:26 cms_13.html


        --- output suppressed ---



        !--- These are the CMS files.

        6.

        The archive download-sw command with the /overwrite option automatically configures a boot system statement so that the new image boots on the next reload of the switch. Issue the show boot command to confirm this. A sample command output is shown below.

        3550#sh boot
        BOOT path-list: flash:c3550-i5q3l2-mz.121-13.EA1/c3550-i5q3l2-mz.121-13.EA1.bin


        --- output suppressed ---

        If for some reason the boot statement is not set, you can configure it by issuing the boot system command. A sample command output is shown below.

        3550#conf t
        Enter configuration commands, one per line. End with CNTL/Z.
        3550(config)#boot system flash:c3550-i5q3l2-mz.121-13.EA1/c3550-i5q3l2-mz.121-13.EA1.bin


        !--- The boot system statement is set by using the directory/filename.

        3550(config)#end
        3550#

        7.

        Issue the wr mem command to save your changes and reload the switch. A sample command output is shown below.

        3550#wr mem
        Building configuration...
        [OK]
        3550#reload
        Proceed with reload? [confirm]


        !--- Press Return or Enter.

        00:56:01: %SYS-5-RELOAD: Reload requested


        --- output suppressed ---

        Press RETURN to get started!


        !--- Press Return or Enter.

        8.

        Verify you are running the new image by issuing the show version command. A sample command output is shown below.

        3550#sh ver
        Cisco Internetwork Operating System Software
        IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE


        !--- You are now running C3550-I5Q3L2 EMI
        !--- and software version 12.1(13)EA1.

        (fc1)
        Copyright (c) 1986-2003 by cisco Systems, Inc.


        --- output suppressed ---

        This completes the upgrade procedure for a 3550 using the CMS image (.tar file).

        Verify

        The commands necessary to verify that your configuration is working properly are included in the Software Upgrade Procedure for 3550 Series Switches section of this document.
        Troubleshoot

        This section provides information you can use to troubleshoot your configuration.
        Image Transfer from TFTP Server Failed

        If you find that image transfer from TFTP server is failing continuously, refer to the following document for known issues with the TFTP server:

        *

        Common Problems in Installing Images Using TFTP or an RCP Server

        Software Upgrade Failed / Switch: Prompt is Displayed / Switch is Rebooting Continuously

        Your software upgrade may fail due to reasons such as IP connectivity problems between the switch and TFTP server, or incorrectly set boot statements. These issues may cause your switch to boot in the switch: mode. If your 3550 displays the switch: prompt or is continuously rebooting, refer to the following document for software recovery procedures:

        *

        Recovery From Corrupt or Missing Software Image on Cisco Catalyst 2900XL and 3500XL Series Switches

        Comment


        • #5
          cám ơn các bạn rất nhiều
          thân chào

          Comment

          Working...
          X