Re: Copy via Http

From: Stephen Amaki <swamaki_at_gmail.com>
Date: Mon, 23 Aug 2010 09:24:49 -0400

Oh wait, are you running some type of hardware as in 3550/3560? If not, it
is not possible the image
c3550-ipservicesk9-mz.122-44.SE2.bin<http://150.1.8.8/c3550-ipservicesk9-mz.122-44.SE2.bin>is
in the flash unless you dumped it in there. Dynamips is virtual.

Do a "sh flash:" If you dont see
c3550-ipservicesk9-mz.122-44.SE2.bin<http://150.1.8.8/c3550-ipservicesk9-mz.122-44.SE2.bin>,
you cannot copy it. Think about it, you're copying a file that does not
exist.

Steve.

On Mon, Aug 23, 2010 at 8:59 AM, Bilal Hansrod <bilal.hansrod_at_gmail.com>wrote:

> Stephen,
>
> I wanted to pull config from SW2 back to R4. i was just wondering how is
> below example helps my task. Any suggestions!
>
> Regards,
>
> Bilal
>
>
>
> On Mon, Aug 23, 2010 at 11:02 AM, Stephen Amaki <swamaki_at_gmail.com> wrote:
>
>> Hi Bilal,
>>
>> Dynamips/dynagen/gns3 will not store the ios image in the flash. The
>> workaround this if you are looking to generate some http traffic is to
>> create an exception dump in the flash.
>>
>> You can then do a : copy http://cisco:cisco@150.1.6.6/R6-core.Z null:
>>
>> HTH
>> here's what you do:
>>
>> 1. Increase flash size for particular device in the GNS3
>> (= right click on the device-> configure-> Memories and disks - > PCMCIA
>> disk0 size: 99MB)
>>
>> 2. Use flash for Core Dumps:
>> R6(config)#exception flash all flash:
>>
>> 3. R6#reload
>>
>> [confirm] yes
>> Wait until process for core dump is finished and you just see something
>> like below constantly repeated in your terminal:
>>
>> %ALIGN-1-FATAL: Corrupted program......
>>
>> 4."Stop" the device in GNS3 and then "Start"
>>
>> 5.R6#show flash:
>>
>> System CompactFlash directory:
>> File Length Name/status
>> 1 151350 crashinfo_20020301-000729
>> 2 50640 R6-coreiomen.Z
>> 3 64737571 R6-core.Z
>>
>>
>>
>>
>>
>> On Sun, Aug 22, 2010 at 8:05 PM, Bilal Hansrod <bilal.hansrod_at_gmail.com>wrote:
>>
>>> Thanks David, i will try and let you know.
>>>
>>>
>>> Thanks & Regards,
>>> Bilal Hansrod
>>>
>>> Sent from my iPhone
>>>
>>>
>>> On 23/08/2010, at 8:42 AM, "David Prall" <dcp_at_dcptech.com> wrote:
>>>
>>> What happens if you do:
>>>> copy http://150.1.8.8/c3550-ipservicesk9-mz.122-44.SE2.bin null:
>>>>
>>>> From the prompts it is putting 150.1.8.8 as both the server and part of
>>>> the
>>>> filename.
>>>>
>>>> David
>>>>
>>>> --
>>>> http://dcp.dcptech.com
>>>>
>>>>
>>>> -----Original Message-----
>>>>> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf
>>>>> Of
>>>>> Bilal Hansrod
>>>>> Sent: Sunday, August 22, 2010 6:31 PM
>>>>> To: ccielab_at_groupstudy.com
>>>>> Subject: Fwd: Copy via Http
>>>>>
>>>>> Any expert advise? Thanks in advance
>>>>>
>>>>> Thanks & Regards,
>>>>> Bilal Hansrod
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>>
>>>>> Begin forwarded message:
>>>>>
>>>>> From: Bilal Hansrod <bilal.hansrod_at_gmail.com>
>>>>>> Date: 23 August 2010 1:21:51 AM AEST
>>>>>> To: Cisco certification <ccielab_at_groupstudy.com>
>>>>>> Subject: Copy via Http
>>>>>>
>>>>>>
>>>>> Hello Guys,
>>>>>>
>>>>>> I am trying to copy a file from switch using http protocol. I am
>>>>>> using GNS3 and was working on INE Workbook 1, task 3.15 (PfR)
>>>>>>
>>>>>> The configuration done on router as below:
>>>>>>
>>>>>> no ip http server
>>>>>> no ip http secure-server
>>>>>> ip http client source-interface Loopback0
>>>>>> ip http client username cisco
>>>>>> ip http client password 0 cisco
>>>>>>
>>>>>>
>>>>>> The switch configuration as below:
>>>>>>
>>>>>> ip http server
>>>>>> no ip http secure-server
>>>>>> ip http path flash:
>>>>>>
>>>>>>
>>>>>> The command running on router as below:
>>>>>> copy http:150.1.8.8/c3550-ipservicesk9-mz.122-44.SE2.bin null:
>>>>>>
>>>>>> Unfortunately, I am getting error as below:
>>>>>>
>>>>>> Address or name of remote host [150.1.8.8]?
>>>>>> Source filename [150.1.8.8/c3550-ipservicesk9-mz.122-44.SE2.bin]?
>>>>>> %Error opening http://150.1.8.8/150.1.8.8/c3550-ipservicesk9-mz.122-
>>>>>>
>>>>> 44.SE2.bin
>>>>>
>>>>>> (No such file or directory)
>>>>>>
>>>>>>
>>>>>> Any help would be highly appreciated!
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Bilal
>>>>>>
>>>>>
>>>>>
>>>>> 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 Mon Aug 23 2010 - 09:24:49 ART

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