Re: Implementing TFTP Server on router

From: Roman Rodichev <romangs_at_iementor.com>
Date: Sun, 8 Aug 2010 09:05:56 -0500

correct, you cannot

Sent from my iPhone

On Aug 8, 2010, at 3:59 AM, Taufik Kurniawan <ktaufik_at_gmail.com> wrote:

> Hi Roman,
> So we cannot make a router as a tftp server to upload the file ?
>
> thanks,
> taufik
>
> On 8 August 2010 10:33, Roman Rodichev <romangs_at_iementor.com> wrote:
>
>> cisco ios tftp server is read only and doesn't allow uploading
>>
>> Roman Rodichev
>> 6xCCIE #7927 (R&S, Security, Voice, Storage, Service Provider, Wireless)
>> Instructor, Content Developer, CEO
>> ieMentor Corporation
>> http://www.iementor.com
>> Y!M: roman7927
>>
>> On Aug 8, 2010, at 2:19 AM, Taufik Kurniawan wrote:
>>
>>> Hi Ryan,
>>> thanks for the reply.
>>> WHy I got theses errors ?
>>>
>>> tftp-server(config)#tftp
>>> tftp-server(config)#tftp-server nvram:myfilename.txt
>>> Warning: nvram:myfilename.txt does not exist. Command retained.
>>> tftp-server(config)#tftp-server nvram:?
>>> nvram:ifIndex-table nvram:private-config nvram:startup-config
>>>
>>> tftp-server(config)#tftp-server nvram:startup-config
>>> tftp-server(config)#
>>> tftp-server(config)#
>>> tftp-server(config)#
>>> tftp-server(config)#do debug tftp
>>> debug tftp
>>> % Incomplete command.
>>>
>>> tftp-server(config)#do debug tftp pa
>>> TFTP Packet debugging is on
>>> tftp-server(config)#do debug tftp ev
>>> TFTP Event debugging is on
>>> tftp-server(config)#do sh ip int brie
>>> Interface IP-Address OK? Method Status
>>> Protocol
>>> FastEthernet0/0 10.0.0.249 YES DHCP up
>>> up
>>> FastEthernet0/1 unassigned YES unset administratively
>> down
>>> down
>>> tftp-server(config)#
>>> *Mar 1 00:07:20.063: TFTP: Server request for port 54094, socket_id
>>> 0x661339E8 for process 71
>>> *Mar 1 00:07:20.063: TFTP: write request from host 10.0.0.250(54094) via
>>> FastEthernet0/0
>>> *Mar 1 00:07:20.063: TFTP: Sending error 2 Access denied
>>>
>>>
>>>
>>>
>>>
>>> Router#conf t
>>> Enter configuration commands, one per line. End with CNTL/Z.
>>> Router(config)#int f0/0
>>> Router(config-if)#ip add dhcp
>>> Router(config-if)#no shut
>>> Router(config-if)#do wr mem
>>> Building configuration...
>>> [OK]
>>> Router(config-if)#
>>> *Mar 1 00:03:50.311: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed
>>> state to up
>>> *Mar 1 00:03:51.311: %LINEPROTO-5-UPDOWN: Line protocol on Interface
>>> FastEthernet0/0, changed state to up
>>> *Mar 1 00:04:02.839: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0
>>> assigned DHCP address 10.0.0.250, mask 255.255.254.0, hostname Router
>>>
>>> Router(config-if)#
>>> Router(config-if)#
>>> Router(config-if)#
>>> Router(config-if)#host tftp-client
>>> tftp-client(config)#do wr mem
>>> Building configuration...
>>> [OK]
>>> tftp-client(config)#end
>>> tftp-client#debug t
>>> *Mar 1 00:06:19.959: %SYS-5-CONFIG_I: Configured from console by
>> consoleftp
>>> pa
>>> TFTP Packet debugging is on
>>> tftp-client#debug tftp eve
>>> TFTP Event debugging is on
>>> tftp-client#copy run tftp
>>> Address or name of remote host []? 10.0.0.249
>>> Destination filename [tftp-client-confg]? startup-config
>>>
>>> *Mar 1 00:07:06.807: TFTP: Sending write request (retry 0), socket_id
>>> 0x661339E8.
>>> TFTP: error code 2 received - 16739
>>>
>>> %Error opening tftp://10.0.0.249/startup-config (Permission denied)
>>> tftp-client#
>>> *Mar 1 00:07:09.807: TFTP: Sending write request (retry 1), socket_id
>>> 0x661339E8
>>>
>>>
>>> On 8 August 2010 09:48, Ryan West <rwest_at_zyedge.com> wrote:
>>>
>>>> Tftp-server flash:myfilename.txt
>>>>
>>>> Sent from handheld
>>>>
>>>> On Aug 8, 2010, at 2:45 AM, "Taufik Kurniawan" <ktaufik_at_gmail.com>
>> wrote:
>>>>
>>>>> thanks,
>>>>>
>>>>> this link is not working
>>>>>
>>>>
>> http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hcf_r/cfn_12h.htm#wp1039250
>>>>> I check also here
>>>>>
>>>>
>> http://www.google.com/search?hl=en&q=Implementing+TFTP+Server+on+router&aq=f&aqi=g10&aql=&oq=&gs_rfai=
>>>>>
>>>>>
>>>>> Router(config)#tftp?
>>>>> tftp-server
>>>>>
>>>>> Router(config)#tftp
>>>>> Router(config)#tftp ?
>>>>> archive: Allow URL file TFTP load requests
>>>>> flash: Allow URL file TFTP load requests
>>>>> null: Allow URL file TFTP load requests
>>>>> nvram: Allow URL file TFTP load requests
>>>>> slot0: Allow URL file TFTP load requests
>>>>> slot1: Allow URL file TFTP load requests
>>>>> system: Allow URL file TFTP load requests
>>>>> xmodem: Allow URL file TFTP load requests
>>>>> ymodem: Allow URL file TFTP load requests
>>>>>
>>>>> Router(config)#tftp flash: ?
>>>>> <1-99> IP access list of requesting hosts
>>>>> <1300-1999> IP expanded access list of requesting hosts
>>>>> alias file alias
>>>>> <cr>
>>>>>
>>>>> Router(config)#tftp flash: 1 ?
>>>>> <cr>
>>>>>
>>>>> Router(config)#tftp flash: 1
>>>>> Specify the filename.
>>>>>
>>>>> Router(config)#
>>>>>
>>>>>
>>>>> Blogs and organic groups at http://www.ccie.net
>>>>>
>>>>> _______________________________________________________________________
>>>>> Subscription information may be found at:
>>>>> http://www.groupstudy.com/list/CCIELab.html
>>>
>>>
>>> Blogs and organic groups at http://www.ccie.net
>>>
>>> _______________________________________________________________________
>>> Subscription information may be found at:
>>> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Sun Aug 08 2010 - 09:05:56 ART

This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART