From: Greg Ferro (gferro@xxxxxxxxxxxxxxxxxxx)
Date: Fri Apr 13 2001 - 03:40:45 GMT-3
True. And I had to use this in troubleshooting in many places too.
But you can't TFTP a config from the router you are consoled to, to another
router acting as a TFTP server. You can only TFTP _in_ to the flash when
you are consoled to that router. This is what daneyon was asking.
Out from the router works only for the filename specified.
Try it out, doesn't work. See the following, R1 is configured to be a TFTP
server for the IOS image, I want to copy the config from R2 to R1.
r2#sh cdp ne det
-------------------------
Device ID: 002670142
Entry address(es):
Platform: WS-C5000, Capabilities: Trans-Bridge Switch
Interface: Ethernet0, Port ID (outgoing port): 2/2
Holdtime : 172 sec
Version :
WS-C5000 Software, Version McpSW: 4.5(6) NmpSW: 4.5(6)
Copyright (c) 1995-2000 by Cisco Systems
-------------------------
Device ID: r1
Entry address(es):
IP address: 192.168.0.2
Platform: cisco 2500, Capabilities: Router
Interface: Serial1, Port ID (outgoing port): Serial1
Holdtime : 179 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-INS-L), Version 12.0(15), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Thu 28-Dec-00 00:03 by linda
r2#copy config tftp
Address or name of remote host []? 192.168.0.2
Destination filename [config]?
%Error opening flash:config (No such file or directory)
r2#
At 04:13 PM 13/04/2001, you wrote:
>Greg,
>
>If you have a few routers to play with give it a try. Usually what I do an
>analysis on a network I check for the most vulnerable points of failure. The
>lets say you have two 2610's with identical flash and nvram, I turn both
>routers into tftp servers. Why? you ask, I've seen instances where routers
>have
>lost the config, in un-manned locations. Meaning you're really, really
>screwed!
>But luckily I thought ahead and it was as simple as using the ip
>default-gateway and pointing it towards the router with the good image.
>
>-Cliff
>
>Greg Ferro wrote:
>
> > I'm pretty sure that the Cisco TFTP engine only lets you "copy from". That
> > is, it will act as a server for the file specified and send the file.
> >
> > You can copy a file _from_ a remote device, that is, you must be on the
> > console to copy into the router. Any error messages will appear on the
> > console.
> >
> > I do not believe that you can copy to a Cisco router using TFTP when you
> > are not on the console. Reason - if the file you are sending is to big
> > (bigger than the flash available), how do you get an error ?, the flash
> > clogs up, and then since you can't delete and squeeze you would have to
> > reformat the flash.
> >
> > At 02:26 PM 13/04/2001, you wrote:
> > >I am lost on setting up a router as a TFTP server. The docs I have say on
> > >the router that will act as a TFTP server do tftp-server from global
> > >config. I am tryin to practice auto install, and I am going NO
> > >where. From the remote router that I am tring to copy it's config so I
> > >can later pull it back via auto install, I used the ip helper address, and
> > >this is JUST over ethernet. When I try the copy this is what I get:
> > >
> > >r2#copy start tftp
> > >Address or name of remote host []? 10.0.92.9
> > >Destination filename [r2-confg]?
> > >TFTP: error code 2 received - Access denied
> > >
> > >%Error opening tftp://10.0.92.9/r2-confg (Undefined error)
> > >
> > >I then placed an ACL to per any, still the same thing?
> > >
> > >The far route R9 has this for the TFTP config:
> > >
> > >tftp-server nvram:
> > >
> > >Can someone please HELP!
> > >
> > >Daneyon
> > >
> > >
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:45 GMT-3