Wednesday, June 17, 2009

Cisco 3550 EMI image upgrade...

I've been journaling but not on my blog, which I know seems to defeat the purpose of a blog. However, I don't see a need to always rehash what is already abundantly spread across the www. I have read the first three chapters of CCIE Routing and Switching Exam Certification Guide (3rd Edition) and watched episodes and have finished the first 4 videos from CBT Nuggets. I am going to lab up this Narbik lab tonight (err, this morning): CCIE Foundation - Switching. Going through the nuggets last night I realized that I hadn't upgraded all of my Cisco 3550s with an EMI image. Hence, the point of this post.

Enjoy.

1) My PC is my tftp server, so I connected my 3550 to my Linksys router.

2) Configure the switch port as a router port, add an IP address, set speed 10 and duplex half.

en
conf t
!
ip routing
!
!
interface FastEthernet0/1
no switchport
ip address 192.168.5.25 255.255.255.0
duplex half
speed 10
end

3) Verify amount of free memory.

dir flash:

4) Issue the delete command in order to remove the old Cisco IOS Software Release.

delete flash:

ex: delete flash: c3550-ipservicesk9-mz.122-25.SEE4.bin

5) In order to delete an image directory and all the subdirectories and files in the image directory, issue the delete /force /recursive command.

delete /force /recursive flash:

ex: delete /force /recursive flash:c3550-i9q3l2-mz.121-13.EA1a

6) Issue the copy tftp flash: command, tftp location, and destination file name.


7) When the image has uploaded, check the directory to see the new image
then verify its checksum.

dir flash:
verify flash:c3550-ipservicesk9-mz.122-44.SE6.bin

8) Set a boot system statement so that the new image boots on the next reload.

boot system flash:c3550-ipservicesk9-mz.122-44.SE6.bin

9) Verify the boot path list.

show boot

10) Write memory and reload.

=============================================

Here it is in action:

SW3>en
SW3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW3(config)#!
SW3(config)#ip routing
SW3(config)#!
SW3(config)#!
SW3(config)#interface FastEthernet0/1
SW3(config-if)# no switchport
SW3(config-if)# ip address 192.168.5.25 255.255.255.0
SW3(config-if)# duplex half
SW3(config-if)# speed 10
SW3(config-if)#end
SW3#
00:02:20: %SYS-5-CONFIG_I: Configured from console by console
00:02:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed
state to down
SW3#
00:02:22: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to down
SW3#
00:02:24: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
00:02:25: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed
state to up
SW3#
SW3#
SW3#
SW3#! view amount of free memory
SW3#
SW3#dir flash:
Directory of flash:/

2 -rwx 344 Mar 01 1993 01:44:56 +00:00 system_env_vars
3 -rwx 556 Mar 01 1993 00:01:02 +00:00 vlan.dat
5 -rwx 3614 Mar 01 1993 00:47:17 +00:00 config.text
6 -rwx 5 Mar 01 1993 00:47:17 +00:00 private-config.text
8 drwx 192 Mar 01 1993 00:04:24 +00:00 c3550-i9q3l2-mz.121-19.EA1c
88 drwx 192 Mar 01 1993 01:44:56 +00:00 c3550-i9q3l2-mz.121-22.EA1a
174 -rwx 0 Mar 01 1993 01:44:56 +00:00 env_vars

15998976 bytes total (2581504 bytes free)
SW3#delete flash:c3550-i9q3l2-mz.121-19.EA1c
Delete filename [c3550-i9q3l2-mz.121-19.EA1c]?
Delete flash:c3550-i9q3l2-mz.121-19.EA1c? [confirm]
%Error deleting flash:c3550-i9q3l2-mz.121-19.EA1c (Is a directory)
SW3#
SW3#
SW3#!Issue the delete /force /recursive
SW3#
SW3#
SW3#delete /force /recursive flash:c3550-i9q3l2-mz.121-19.EA1c
Delete filename [c3550-i9q3l2-mz.121-19.EA1c]?
SW3#delete /force /recursive flash:c3550-i9q3l2-mz.121-22.EA1a
Delete filename [c3550-i9q3l2-mz.121-22.EA1a]?
SW3#
SW3#
SW3#
SW3#! Issue the copy tftp flash: command
SW3#
SW3#copy tftp flash:
Address or name of remote host []? 192.168.5.101
Source filename []? c3550-ipservicesk9-mz.122-44.SE6.bin
Destination filename [c3550-ipservicesk9-mz.122-44.SE6.bin]?
Accessing tftp://192.168.5.101/c3550-ipservicesk9-mz.122-44.SE6.bin...
Loading c3550-ipservicesk9-mz.122-44.SE6.bin from 192.168.5.101 (via FastEthernet0/1):

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! {output abbreviated}
[OK - 9707290 bytes]

9707290 bytes copied in 198.404 secs (48927 bytes/sec)
SW3#
SW3#
SW3#! check directory
SW3#dir flash:
Directory of flash:/

2 -rwx 344 Mar 01 1993 01:44:56 +00:00 system_env_vars
3 -rwx 556 Mar 01 1993 00:01:02 +00:00 vlan.dat
4 -rwx 9707290 Mar 01 1993 00:12:08 +00:00 c3550-ipservicesk9-mz.122-

44.SE6.bin
5 -rwx 3614 Mar 01 1993 00:47:17 +00:00 config.text
6 -rwx 5 Mar 01 1993 00:47:17 +00:00 private-config.text
174 -rwx 0 Mar 01 1993 01:44:56 +00:00 env_vars

15998976 bytes total (6284288 bytes free)
SW3#
SW3#! Issue the verify command to verify that the
SW3#! image checksum is correct:
SW3#
SW3#verify flash:c3550-ipservicesk9-mz.122-44.SE6.bin
Verified flash:c3550-ipservicesk9-mz.122-44.SE6.bin
SW3#
SW3#
SW3#! Set a boot system statement so that the new
SW3#! image boots on the next reload.
SW3#
SW3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW3(config)#boot system flash:c3550-ipservicesk9-mz.122-44.SE6.bin
SW3(config)#^Z
SW3#
00:14:17: %SYS-5-CONFIG_I: Configured from console by console
SW3#
SW3#! Issue show boot
SW3#
SW3#show boot
BOOT path-list: flash:c3550-ipservicesk9-mz.122-44.SE6.bin
Config file: flash:/config.text
Private Config file: flash:/private-config.text
Enable Break: no
Manual Boot: no
HELPER path-list:
NVRAM/Config file
buffer size: 393216
SW3#
SW3# ! Write mem and reload
SW3#
SW3#write memory
Building configuration...
[OK]
SW3#reload
Proceed with reload? [confirm]

00:14:44: %SYS-5-RELOAD: Reload requested


=================================

Citation:

http://www.cisco.com/en/US/products/hw/switches/ps646/products_configuration_example09186a0080169623.shtml#concept9

IOS location:


IOS download page: reqiures login
http://tools.cisco.com/support/downloads/go/ImageList.x?relVer=12.2.44-SE6&mdfid=275935237&sftType=IOS+Software&optPlat=&nodecount=2&edesignator=ED&modelName=Cisco+Catalyst+3550+48+EMI+Switch&treeMdfId=268438038&treeName=Switches&modifmdfid=null&imname=&hybrid=Y&imst=N&lr=Y


IP SERVICES
c3550-ipservicesk9-mz.122-44.SE6.bin
Release Date: 17/Mar/2009
Size: 9479.78 KB (9707290 bytes)
Minimum Memory: DRAM:64 MB Flash:16 MB

4 comments:

  1. After reading your information i be your die-hard fan. thanks for shearing it.
    ccna training

    ReplyDelete
  2. thank you for taking the time to do this.
    Why is TFTP so slow......

    ReplyDelete
  3. This blog is having the general information. Got a creative work and this is very different one.We have to develop our creativity mind.This blog helps for this. Thank you for this blog. This is very interesting and useful.
    CCNA Training in Chennai

    ReplyDelete