cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6758
Views
5
Helpful
9
Replies

IOS Install of 2811 - tftpdnld 32 MB limit?

inoc_noc
Level 1
Level 1

I'm attempting to install an IOS image (about 53 MB in size) on the flash of a 2811 router, however the transfer times out after 32 MB have been transferred. I've tried two different tftp server software packages with the same result. Does the tftpdnld have a 32 MB limit? I haven't seen this limit mentioned in any of the Cisco literature I've read.

If this limit exists, what would be the best method of getting the image on the flash? xmodem?

9 Replies 9

cisco24x7
Level 6
Level 6

Use Linux tftp built in and you will not have this issue. Sorry I am not familiar with Windows platform:

R2851-3#copy tftp: flash:

Address or name of remote host []? 10.109.114.10

Source filename []? c2800nm-advipservicesk9-mz.124-11.T4.bin

Destination filename [c2800nm-advipservicesk9-mz.124-11.T4.bin]?

Accessing tftp://10.109.114.10/c2800nm-advipservicesk9-mz.124-11.T4.bin...

Loading c2800nm-advipservicesk9-mz.124-11.T4.bin from 10.109.114.10 (via GigabitEthernet0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 41977164 bytes]

41977164 bytes copied in 172.848 secs (242856 bytes/sec)

R2851-3#dir flash:

Directory of flash:/

1 -rw- 38444260 Feb 20 2009 20:03:00 +00:00 c2800nm-advipservicesk9-mz.124-16.bin

2 -rw- 51133020 Feb 20 2009 20:09:02 +00:00 c2800nm-advipservicesk9-mz.124-15.T6.bin

3 -rw- 57637932 Mar 20 2009 21:43:40 +00:00 c2800nm-advipservicesk9-mz.124-24.T.bin

4 -rw- 4053 Mar 28 2009 16:18:04 +00:00 running.txt

5 -rw- 12699 Apr 17 2009 17:41:22 +00:00 http10.pdlm

6 -rw- 41977164 Jun 26 2009 14:59:52 +00:00 c2800nm-advipservicesk9-mz.124-11.T4.bin

256471040 bytes total (67252224 bytes free)

R2851-3#

Collin Clark
VIP Alumni
VIP Alumni

FTP is your best bet to transfer large files. Some TFTP applications are limited to 32MB, but there are also some w/o the limitation. Here's one-

http://tftpd32.jounin.net/tftpd32.html

Copying via FTP-

copy ftp flash:

Guys, thanks for the responses, but the crucial factor here is that I am using the tftpdnld command in ROMMON mode because I don't have an IOS on the flash, hence I don't have access to the 'copy' command.

You still need to use a Linux tftp version that will not have the 32MB limitation. That will be true regardless whether you use "copy" or "tftpdnld". here is a sample:

R2851-3#reload

Proceed with reload? [confirm]

System Bootstrap, Version 12.4(13r)T5, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 2007 by cisco Systems, Inc.

Initializing memory for ECC

..

c2851 platform with 524288 Kbytes of main memory

Main memory is configured to 64 bit mode with ECC enabled

Upgrade ROMMON initialized

PC = 0xbfcd0d54, Cause = 0x2000, Status Reg = 0x3040a803

rommon 1 >

rommon 5 > IP_ADDRESS=192.168.15.201

rommon 6 > IP_SUBNET_MASK=255.255.255.0

rommon 7 > DEFAULT_GATEWAY=192.168.15.1

rommon 8 > TFTP_SERVER=10.109.114.10

rommon 9 > TFTP_FILE=c2800nm-advipservicesk9-mz.124-24.T.bin

rommon 10 > tftpdnld

IP_ADDRESS: 192.168.15.201

IP_SUBNET_MASK: 255.255.255.0

DEFAULT_GATEWAY: 192.168.15.1

TFTP_SERVER: 10.109.114.10

TFTP_FILE: c2800nm-advipservicesk9-mz.124-24.T.bin

TFTP_VERBOSE: Progress

TFTP_RETRY_COUNT: 18

TFTP_TIMEOUT: 7200

TFTP_CHECKSUM: Yes

TFTP_MACADDR: 00:0a:b8:02:d4:c0

GE_PORT: Gigabit Ethernet 0

GE_SPEED_MODE: Auto

Invoke this command for disaster recovery only.

WARNING: all existing data in all partitions on flash: will be lost!

Do you wish to continue? y/n: [n]: y

.

Receiving c2800nm-advipservicesk9-mz.124-24.T.bin from 10.109.114.10 !!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

File reception completed.

Validating checksum.

Copying file c2800nm-advipservicesk9-mz.124-24.T.bin to flash:.

program load complete, entry point: 0x8000f000, size: 0xcb80

Format: All system sectors written. OK...

Format: Operation completed successfully.

Format of flash: complete

program load complete, entry point: 0x8000f000, size: 0xcb80

rommon 11 >

rommon 11 > boot

program load complete, entry point: 0x8000f000, size: 0xcb80

program load complete, entry point: 0x8000f000, size: 0xcb80

program load complete, entry point: 0x8000f000, size: 0x36f7a64

Self decompressing the image : ###################################################################################################################################################################################################################################################################################################################################### [OK]

Smart Init is enabled

smart init is sizing iomem

ID MEMORY_REQ TYPE

0003E9 0X00474800 C2851 Mainboard

0X00262B0A Onboard VPN

0X000021B8 Onboard USB

00014B 0X00016804 Virtual Private Network (VPN) Module

0X002C29F0 public buffer pools

0X00211000 public particle pools

TOTAL: 0X00BC36B6

Installed image archive

Cisco 2851 (revision 49.46) with 512000K/12288K bytes of memory.

Processor board ID FTX1032A20M

2 Gigabit Ethernet interfaces

1 Serial(sync/async) interface

2 Virtual Private Network (VPN) Modules

DRAM configuration is 64 bits wide with parity enabled.

239K bytes of non-volatile configuration memory.

250880K bytes of ATA CompactFlash (Read/Write)

Press RETURN to get started!

User Access Verification

Username: cciesec

Password:

R2851-3>en

Password:

R2851-3#

Make sense right?

pompeychimes
Level 4
Level 4

Use a smaller image (<32MB) to start then upgrade to the larger image via FTP.

I had the same problem with a 2811 router in ROMMON mode and an IOS image of 58 MB of size in a Flash memory of 64 MB. I tried with several TFTP server software (tftpd32 among others), but it always get stuck and timed out at around 60% of the TFTP transfer, by using the tftpdnld ROMMON mode command

In order to make it work, I did the following:

1. Transfered an IOS image of 16 MB using the tftpdnld ROMMON mode command. This time the TFTP transfer ended successfuly

2. Issued the boot command from ROMMON mode. The router booted the IOS

3. Delete the IOS image of 16 MB with the delete flash: IOS command

4. Used the copy tftp flash: IOS command to TFTP transfer the IOS image of 58 MB

5. Configured the boot system flash: IOS command

6. Issued the copy run start IOS command

7. Issued the reboot IOS command. The router finally booted with the IOS image of 58 MB

Leo Laohoo
Hall of Fame
Hall of Fame

Have you read Colin Clark's response? Use TFTP32.

I've used TFTP32 with TFTPDNLD combination (several times) and I've yet to see a failure.

Yes TFTPD32 is the best bet...

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:

Review Cisco Networking products for a $25 gift card