> -----Original Message-----
> From: Jean-Christophe Varaillon [mailto:[EMAIL PROTECTED]]
> Sent: 06 March 2001 10:57
> Subject: RE: - TFTP: Time out -
>
>
> Hi Andy,
>
> Do you know if it is possible to creat a blank file on the directory
> Flash: of a cisco router 3640 ?
I think "router> copy null flash:filename" should do the trick.
Make use of the cisco online help. For example, using the ? char
as below will provide you with most of what you need on ciscos.
router> copy ?
/erase Erase destination file system.
flash: Copy from flash: file system
ftp: Copy from ftp: file system
null: Copy from null: file system
nvram: Copy from nvram: file system
rcp: Copy from rcp: file system
running-config Copy from current system configuration
slot0: Copy from slot0: file system
slot1: Copy from slot1: file system
startup-config Copy from startup configuration
system: Copy from system: file system
tftp: Copy from tftp: file system
xmodem: Copy from xmodem: file system
ymodem: Copy from ymodem: file system
router> copy null ?
flash: Copy to flash: file system
ftp: Copy to ftp: file system
lex: Copy to lex: file system
null: Copy to null: file system
nvram: Copy to nvram: file system
rcp: Copy to rcp: file system
running-config Update (merge with) current system configuration
startup-config Copy to startup configuration
system: Copy to system: file system
tftp: Copy to tftp: file system
router> copy null
I used one of the Cisco 3660's here for these examples
(rather than a 3640 you have) but the results will be
pretty much the same.
Regards
Andy
>
> Regards,
> Jean-Christophe.
>
> On Tue, 6 Mar 2001, Andy [TECC NOPS] wrote:
>
> > I always had these kinda problems both with
> > FreeBSD, Linux, etc etc. Found various ways
> > around them in the end but the best way is if
> > you are running a version of IOS 12.0 or later
> > on the Cisco then use the newer copy commands
> > in IOS that allow ftp eg:-
> >
> > router> copy ftp://user:[EMAIL PROTECTED]/config.cond startup-config
> >
> > much better than :-
> >
> > router> copy tftp startup-config
> >
> > Regards
> > Andy
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Alfred Perlstein
> > > Sent: 05 March 2001 18:23
> > > To: Jean-Christophe Varaillon
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: - TFTP: Time out -
> > >
> > >
> > > * Jean-Christophe Varaillon <[EMAIL PROTECTED]> [010305 10:17] wrote:
> > > >
> > > > +-----------+ +------------+
> > > > |FreeBSD 4.1|<--------->| Cisco 3640 |
> > > > +-----------+ +------------+
> > > >
> > > > I want to transfer a file from the FreeBSD machine to the Cisco.
> > > > My machine is configured as a TFTP server and the cisco is
> "configured"
> > > > as a client.
> > > >
> > > > The TFTP communication is stopped because of a timeout.
> > > >
> > > > Why should I have a timeout ?
> > >
> > > Because afaik tftp has a really terrible client/server notion,
> > > there's no good way to tell if a client has 'gone away'. Without
> > > the timeout, if a client was to disappear the tftpd server would
> > > hang around forever.
> > >
> > > > BUT, I can transfer a files from the Cisco to my machine witout any
> > > > trouble. at this moment, the cisco is configured as a TFTP
> > > Server, and I
> > > > think that my machine also, but it reacts as a client.
> > >
> > > You should probably be able to fix this by changing the value of
> > > "TIMEOUT" in /usr/src/libexec/tftpd/tftpd.c, then doing this in
> > > /usr/src/libexec/tftpd:
> > >
> > > make ; make install
> > >
> > > --
> > > -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
> > >
> > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > with "unsubscribe freebsd-net" in the body of the message
> > >
> >
> >
>
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message