cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4057
Views
40
Helpful
28
Replies

3750 Upgrading IOS

WillaBamm
Level 1
Level 1

I am trying to upgrade my 3750 IOS. I have reset the switch already. I am following this tutorial. I can not connect to the tftp however... I do have the TFTP server on and set up the way the instructions say to set it up.  Here is a copy/paste from PuTTY:

  1.  Switch#config t
     Enter configuration commands, one per line. End with CNTL/Z.
  2. Switch(config)#int vlan1
  3. Switch(config-if)#ip add 10.10.10.1 255.255.255.0
  4. Switch(config-if)#no shut
  5. Switch(config-if)#end
  6. Switch#
  7. Switch#ping 10.10.10.5
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.10.10.5, timeout is 2 seconds: 
    ..... 
    Success rate is 0 percent (0/5)

  8. Switch#ping 10.10.10.1

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

  10. Switch#copy flash tftp

  11. Source filename []? c3750-ipservicesk9-mz.122-35.SE5.bin

  12. Address or name of remote host []? 10.10.10.1

  13. Destination filename [c3750-ipservicesk9-mz.122-35.SE5.bin]?
    .....
    %Error opening tftp://10.10.10.1/c3750-ipservicesk9-mz.122-35.SE5.bin (Timed out)

28 Replies 28

Can you share from the switch:

show run int vlan 1

BTW your switch not liking the pipe operator ("|") above was because you omitted the necessary space preceding it.

I am just copying everything you post and right clicking/pasting into putty. :-)


Switch#
Switch#show run int vlan 1
Building configuration...

Current configuration : 62 bytes
!
interface Vlan1
ip address 192.168.1.99 255.255.255.0
end

Switch#


Switch#
show ip int br | ex una
Interface IP-Address OK? Method Status Protocol
Vlan1 192.168.1.99 YES manual up up
Switch#

Switch#
show ip int br | ex una
Interface IP-Address OK? Method Status Protocol
Vlan1 192.168.1.99 YES manual up up
Switch#show int status | i 1/0/29
Fa1/0/29 connected 1 a-full a-100 10/100BaseTX
Switch#show spann int fa1/0/29

Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0001 Desg FWD 19 128.33 Edge P2p
Switch#

OK. It all looks correct. I cannot say why you are not able to even ping the switch from the directly connected PC.

The PC's configured IP address is in the same subnet as the switch's VLAN 1 interface. Both subnet masks match. The PC is connected to a port on the default VLAN 1 with spanning tree actively forwarding traffic to it. There is no host-based firewall running. There is no access-list on the switch.

Sorry but the solution to this one eludes me. If I was troubleshooting it locally I' run Wireshark on the PC and see what if any traffic is observed when sending traffic outbound to the switch or inbound to the PC (from the switch).


copy tftp://192.168.1.99/c3750-ipservicesk9-mz.122-35.SE5.bin flash:c3750-ipservicesk9-mz.122-35.SE5.bin

The switch vLan is 192.168.1.99, my PC is 192.168.1.126... I can ping them both. From PuTTY, I pinged my PC IP, from the PC, I used the CMD Prompt to ping the vLan switch ip. Both pings work. But when I tried to copy the file, it says it already exists... 

[[{"type":"media","fid":"1277856","view_mode":"default","link_text":null,"attributes":{"alt":"Copy Flash File","title":"Copy Flash File SE5","height":"376","width":"790","class":"image-style-none media-element file-default"}}]]

Ping the Switch

Oh - so you now do have connectivity.

So to upgrade the IOS you need to copy over a newer version than the one you have. You may or may not have to delete the current version first since the older smaller switches don't always have room in flash to store both binaries at once.

Do a "dir" on the switch to check for adequate space, comparing it to the size of the upgraded IOS image.

15998976 bytes total (7359488 bytes free), the new IOS is 12.4Mb.

So with 7.3 or so MB free, you would need to:

1. Delete the existing IOS image from flash

At that point the switch will be running IOS strictly from DRAM and will need a new valid IOS image in flash to be able to reload successfully. So be VERY careful to verify the image you copy over is correct for that hardware. In your case it would normally be one that has almost exactly the same file name except the last couple of numbers indicating the version.

So then:

2. copy the new image to flash

and

3. Reload the switch

Watch the boot process via console and see it come back up running the new IOS version.

I think the issue came from right clicking and copy/pasting... I won't be so lazy next time. 

switch#
copy flash tftp
c3750-ipservicesk9-mz.122-35.SE5.bin
192.168.1.126
switch#




So; I deleted, verified the install (or so I thought), and rebooted. The switch didn't load the new IOS and now I don't know what to do. How do I re-install the IOS when I can't enter "engage" mode, or even access the vlan to re-up the old or new IOS?

Here is the list of my steps that I did:

# delete /f /r flash1:c3750-ipservicesk9-mz.122-35.SE5.bin

# dir flash1:

# copy tftp flash1
>Address or name of remote host? 192.168.1.XXX
>source filename? c3750-ipservicesk9-mz.122-55.SE10.bin
>Destination filename? c3750-ipservicesk9-mz.122-55.SE10.bin

# dir flash1:

# show boot

# config t

# boot system switch all flash:c3750-ipservicesk9-mz.122-55.SE10.bin

#end

# show boot

# write mem

# reload


Error loading "flash:/c3750-ipservicesk9-mz.122-55.SE10.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.


switch: en
Unknown cmd: en

switch:

switch: dir

List of filesystems currently registered:

flash[0]: (read-write)
xmodem[1]: (read-only)
null[2]: (read-write)
bs[3]: (read-only)


switch: version
C3750 Boot Loader (C3750-HBOOT-M) Version 12.1(14r)EA1a, RELEASE SOFTWARE (fc1)
Compiled Thu 22-Jan-04 14:17 by antonino

switch:

switch: flash
Initializing Flash...
...The flash is already initialized.
Setting console baud rate to 9600...

What's the "flash1" you copied to? Normally we would expect to copy to "flash" (no number "1").

When you did the " copy tftp" did you see the file transferring and did you verify it was in the target filesystem on the switch? That's part of what I was referring to when I noted to be VERY careful.

If you end up needing to recover you can put a new image in via rommon. If it's a newer 3750-X you can tftp directly from rommon/

Otherwise you need to transfer it more slowly via xmodem using this procedure:

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41845-192.html

Also see: 

http://www.mostlynetworks.com/2011/03/recovering-a-cisco-fixed-switch-from-the-boot-loader/

Okay, I fixed it, I think. I used TeraTerm to XMODEM it, or what ever it is called. Now, I hope this is over with, but before I issue the #reload command, what all can I do to verify that the IOS is installed? 

Also, how do I verify an MD5? I know the command, "#verify /md5 flash1:c3750-ipservicesk9-mz.122-55.SE10.bin", and I did it. It ran and just said "Done!", followed by the checksum string. How do I verify this string is correct? 



P.S. To hell with PuTTY, TeraTerm is 100% BETTER!!!

Leo Laohoo
Hall of Fame
Hall of Fame

I do have the TFTP server on and set up the way the instructions say to set it up.

Add to Marvin's post. 

What is the TFTP server running on?  

Is the TFTP server a Windows box with FW turned ON? 

And what happens if the command "copy tftp://10.10.10.5/c3750-ipservicesk9-mz.122-35.SE5.bin flash:c3750-ipservicesk9-mz.122-35.SE5.bin" was used?  What is the result?

Review Cisco Networking for a $25 gift card