[c-nsp] 75MB native IOS image over tftp via OS X

Mike Lott lists.accounts at gmail.com
Wed Jan 9 17:30:01 EST 2008


Hi

>From the tftp (client) manpage on OS X:

    blksize blk-size
             Set the tftp blksize option to blk-size octets (8-bit
bytes).  Since the number of blocks in a tftp get or put is 65535, the
default block size of 512 bytes only allows a maximum of just under 32
megabytes to be transferred.  The value given for blk-size must be
between 8 and 65464, inclusive.  Note that many servers will not
respect this option.

It seems that might be your only option. In theory then, a blksize of
around 1280 might work (though maybe use 1536). Give it a go :)

Mike
On 09/01/2008, Jason.plank at comcast.net <Jason.plank at comcast.net> wrote:
> The problem isn't the sup its the tftp client. There may be settings you can change on the client or you may need to use a duffrent tftp server.
> Sent via BlackBerry from T-Mobile
>
> -----Original Message-----
> From: Jason Lixfeld <jason at lixfeld.ca>
>
> Date: Wed, 9 Jan 2008 00:49:50
> To:cisco-nsp at puck.nether.net
> Subject: Re: [c-nsp] 75MB native IOS image over tftp via OS X
>
>
> On 9-Jan-08, at 12:29 AM, Garry wrote:
>
> > Jason Lixfeld wrote:
> >> So I'm having a heck of a time trying to get a big file onto
> >> either  the bootflash or disk0 of a SUP720.  The tftp never
> >> finishes and spits  an error back (can't present the error message
> >> at the moment).
> >
> > I have something in the back of my mind where TFTP was limited to 32
> > megs ... can't remember though if it was the specific TFTP server
> > used, or a general limit in the tftp protocol ... does CatOS support
> > scp?
>
> Wikipedia - "The original protocol has a file size limit of 32 MB,
> although this was extended when RFC 2347 introduced option
> negotiation, which was used in RFC 2348 to introduce block-size
> negotiation in 1998 (allowing a maximum of 4 GB and potentially higher
> throughput). If the server and client support block number wraparound,
> file size is essentially unlimited."  I'd like to assume that Cisco
> and/or Apple aren't using the original protocol specifications from
> RFC783 or RFC1350, but based on some other feedback, it seems that one
> or the other may in fact be guilty, but I don't have the means to test
> that theory.
>
> Sadly, CatOS 8.5 doesn't seem to support scp.
>
> I managed to get rsh working on my laptop, which seemed at the time to
> be far easier than trying to figure out why the Sup wouldn't FTP the
> image off my laptop either *sigh*.
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>


More information about the cisco-nsp mailing list