cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
47707
Views
38
Helpful
20
Replies

3560 tftp errors - what does O mean?

paul.matthews
Level 5
Level 5

Some colleagues are trying to upgrade a 3560 switch and are having problems. Instead of the nice !s to say all is going well, or the normal .s when there is a problem they are saying they are getting Os - anyone know what that means?

Ta.

20 Replies 20

jolmo
Level 4
Level 4

O indicates that a packet was received out of order and the copy process may fail.

HTH

I didn't think it was possible to get out of sequence packets on TFTP without a SW bug as it is a send and wait protocol just sending one 512 octet chunk at once, waiting for acknowledgement before sending the next!

Paul,

I have seen the same when upgrading images over low bandwidth or congested links.

I believe the O means the chunk has been lost, the sender will time out as it doesn't receive an ack and then resend the same block again.

Rgds

Paddy

I now this post is old but it ranks high on Google so I'm giving my two pence;

It may be something to do with the flash on the switch, look at the output below. I was trying to copy via TFTP a newer IOS image to a 3524-XL and I got 'O's two times running, them I realised that I hadn't emptied it's tiny flash as there isn't enough room for two iages, and then it worked strait away!

Switch#copy tftp://172.22.0.221/c3500xl-c3h2s-mz.120-5.WC17.bin flash:/

Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?

Accessing tftp://172.22.0.221/c3500xl-c3h2s-mz.120-5.WC17.bin...

Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 172.22.0.221 (via VLAN1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!O!!!!!O!!!!!O

%Error reading tftp://172.22.0.221/c3500xl-c3h2s-mz.120-5.WC17.bin (Transfer aborted)

Switch#copy tftp://172.22.0.221/c3500xl-c3h2s-mz.120-5.WC17.bin flash:/

Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?

Accessing tftp://172.22.0.221/c3500xl-c3h2s-mz.120-5.WC17.bin...

Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 172.22.0.221 (via VLAN1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!O!!!!O

%Error copying flash:/c3500xl-c3h2s-mz.120-5.WC17.bin (No space left on device)

Switch#dir flash:

Directory of flash:/

  2  -rwx     1811507   Oct 31 2006 18:13:46  c3500xl-c3h2s-mz.120-5.WC16.bin

  4  drwx       10176   Mar 01 1993 00:07:51  html

  6  -rwx         111   Mar 01 1993 00:02:57  info

166  -rwx         111   Mar 01 1993 00:07:51  info.ver

168  -rwx        2641   Jan 01 1970 00:00:57  config.old

169  -rwx        1642   Jan 01 1970 00:01:03  config.text.old

170  -rwx         315   Oct 31 2006 18:18:56  env_vars

3612672 bytes total (508928 bytes free)

Switch#delete flash:/c3500xl-c3h2s-mz.120-5.WC16.bin

Delete filename [c3500xl-c3h2s-mz.120-5.WC16.bin]?

Delete flash:/c3500xl-c3h2s-mz.120-5.WC16.bin? [confirm]

Switch#dir flash:

Directory of flash:/

  4  drwx       10176   Mar 01 1993 00:07:51  html

  6  -rwx         111   Mar 01 1993 00:02:57  info

166  -rwx         111   Mar 01 1993 00:07:51  info.ver

168  -rwx        2641   Jan 01 1970 00:00:57  config.old

169  -rwx        1642   Jan 01 1970 00:01:03  config.text.old

170  -rwx         315   Oct 31 2006 18:18:56  env_vars

3612672 bytes total (2320896 bytes free)

Switch#copy tftp://172.22.0.221/c3500xl-c3h2s-mz.120-5.WC17.bin flash:/

Destination filename [c3500xl-c3h2s-mz.120-5.WC17.bin]?

Accessing tftp://172.22.0.221/c3500xl-c3h2s-mz.120-5.WC17.bin...

Loading c3500xl-c3h2s-mz.120-5.WC17.bin from 172.22.0.221 (via VLAN1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 1811552 bytes]

1811552 bytes copied in 53.511 secs (34180 bytes/sec)

Switch#

So while I know the thread is ancient I wound up here while upgrading an old switch and getting O's that had me worried... so to sum up the above...

1.  There's no room in the flash and the switch is trying it's best to put it in; and

2. Slow LAN/WAN link

3. Fast LAN link.. too fast for the switch to write the data.. nicely the tftp server will resend

and things will end well.. (and relatively quickly).. just run verify to be sure...

Deleting flash: files doesnt' always work.  Format flash: does.

Leo Laohoo
Hall of Fame
Hall of Fame

Two reasons happen when you get a "O":

1.  There's no room in the flash and the switch is trying it's best to put it in; and

2.  Slow LAN/WAN link.

There must be a third posibility - I just formatted the flash on a 3560, then in a lab (via a 1Gbps link) I got this:

PoEswitch#archive download-sw tftp://192.168.0.23/c3560-ipbasek9-tar.122-55.SE11.tar
Loading c3560-ipbasek9-tar.122-55.SE11.tar from 192.168.0.23 (via Vlan1): !!!!!O!OOOOOO!O.!!O!OO!OOOO!OO!O!OOO!O!!!!O!OOOOO!!!!!!!!!!!!!O!!!!!O!!O!!O!!!!!!!!!OOO!!!!!!!!!!!O

Post the complete output to the command "dir". 

Files copied over just fine - software image verified ok, no problems - despite all the "O" messages.

Then did the same thing to a 2960 switch, got a LOT less "O" messages.

Conclusion - The data was coming in faster than the flash could write, thus it dropped packets and the next TFTP data segment was "out of order"

luis.rosello
Level 1
Level 1

I believe this could be due to slow flash, the sw is receiving data faster than it can write it.  I tried an upgrade on an older 3550 that just kept erroring out with nothing in flash, but it did complete the xfer:

Directory of flash:/

No files in directory

15998976 bytes total (15997952 bytes free)

Switch#copy tftp: flash:

Address or name of remote host [1.1.1.111]?

Source filename [c3550-ipservicesk9-mz.122-44.SE6.bin]?

Destination filename [c3550-ipservicesk9-mz.122-44.SE6.bin]?

Accessing tftp://1.1.1.111/c3550-ipservicesk9-mz.122-44.SE6.bin...

Loading c3550-ipservicesk9-mz.122-44.SE6.bin from 1.1.1.111 (via Vlan1): !!!!!!!!!!!!!O!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!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!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!O!

[OK - 9707290 bytes]

9707290 bytes copied in 215.140 secs (45121 bytes/sec)

Switch#

Hi Guys,

Just to say that I think its regarding slow WAN/LAN link.

I have a few KB Radio WAN link, whenever I try to copy something remotely I get lots of 0s at the end its says copied successfully. I have not tested yet as having error while verifying the bin file, it says there is no such file or directory but it says same for the running one.

Anyone?

output:

verify flash:/ies-lanbasek9-mz.122-58.SE2/ies-lanbasek9-mz.122-58.SE2.bin
File system hash verification failed for file flash:/ies-lanbasek9-mz.122-58.SE2/ies-lanbasek9-mz.122-58.SE2.bin(No such file or directory).

Joseph W. Doherty
Hall of Fame
Hall of Fame

I recall (?) seeing that documented somewhere in Cisco's documentation, but unable to find it.

 

Did find: https://community.cisco.com/t5/switching/tftp-image-file-tranfer-out-of-sequence/td-p/1986184

 

BTW, if the forgoing is correct about an exclaimation point representing 10 packets, then the out-of-sequence makes more sense.

Hi All, just tried to update 5 switches and got a lot of O's on just one of them as described here. Realized the only difference was that one of the switches already had the files i was TFTPing. The O's likely represent the error that it cannot overwrite the file. Deleted the file named the same and re-ran with no Os.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: