From: Alexei Monastyrnyi (alexeim@orcsoftware.com)
Date: Tue Jun 17 2008 - 16:54:38 ART
Looks like it is both :-)
Mohammad,
you may find this URL helpful in a way.
http://cciepursuit.wordpress.com/2007/06/29/completely-clearing-a-cisco-switchkinda/
You may also find it helpful to check the MD5 sum for your .bin file.
Your sum should be 8b18362e5927654d1861ca3a8a88f559 - just to be on the
safe side. I have downloaded the same c3560-ipbase-mz.122-25.SEE4 file
from cisco.com and it happens to be 6433223 bytes vs yours 6433280 (from
dir flash:). Though it may be a just a sort of size alignment on the
file system level, but still.
I'll try to cable up my lab this week (planned to do that anyway, it's
been collecting dust for almost 6 months after we moved to a new office
:-) ), so I'll have a look at some ROMMON stuff on my 3560 one.
A.
Tyson Scott wrote:
> Muhammad is right. The password recovery proceedure is to delete the
> file config.text in the flash. If you have done this and it is still
> not booting then I hope you have the switch under a support contract.
>
> On Tue, Jun 17, 2008 at 8:12 AM, Muhammad Nasim
> <muhammad.nasim@gmail.com> wrote:
>
>> how to see NVRAM or delete the inital config from NVRAM using ROMMON?
>>
>> dir flash which I did was in ROMMON mode
>>
>> Thanks
>>
>>
>> 2008/6/17 Farrukh Haroon <farrukhharoon@gmail.com>:
>>
>>
>>> As others have stated, the config file is in the NVRAM:
>>>
>>> SW-F3#dir nvram:
>>> Directory of nvram:/
>>> 495 -rw- 15447 <no date> startup-config
>>> 496 ---- 5 <no date> private-config
>>> 524288 bytes total (508784 bytes free)
>>>
>>> Regards
>>>
>>> Farrukh
>>>
>>> On Tue, Jun 17, 2008 at 2:11 PM, Muhammad Nasim <muhammad.nasim@gmail.com>
>>> wrote:
>>>
>>>
>>>> Following is the only file in my FLASH
>>>>
>>>> switch: dir flash:
>>>> Directory of flash:/
>>>>
>>>> 2 -rwx 6433280 <date> c3560-ipbase-mz.122-25.SEE4.bin
>>>>
>>>> 9564672 bytes available (6434304 bytes used)
>>>>
>>>> so no config files are present
>>>>
>>>>
>>>> 2008/6/17 Muhammad Nasim <muhammad.nasim@gmail.com>:
>>>>
>>>>
>>>>> The following is the link in which Passoword recovery is there.
>>>>>
>>>>>
>>>>>
>>>> http://www.cisco.com/en/US/products/hw/switches/ps628/products_password_recovery09186a0080094184.shtml
>>>>
>>>>> I deleted all the files from FLASH. when I went to ROMMON. that means I
>>>>> delted all the config files and it should go into the Initial config
>>>>>
>>>> dialog
>>>>
>>>>> but it is not it is hanging .
>>>>>
>>>>> after reading the above link i think the startup config stored in FLASH
>>>>> which no more there in the flash
>>>>>
>>>>> I tried with this procesure to install the new image via XMODEM. Image
>>>>> installation went well but still it is hanging on the same place
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2008/6/17 Alexei Monastyrnyi <alexeim@orcsoftware.com>:
>>>>>
>>>>> the config files are actually in NVRAM
>>>>>
>>>>>> did you try it with password recovery procedure to avoid loading your
>>>>>> current config?
>>>>>>
>>>>>> once you are there in enable mode you can try to "write erase" to wipe
>>>>>> out the NVRAM content
>>>>>>
>>>>>> HTH
>>>>>> A.
>>>>>>
>>>>>> Muhammad Nasim said the following on 6/17/2008 10:33 AM:
>>>>>>
>>>>>> Actually I format my flash before re-imaging the software. so there is
>>>>>>
>>>> no
>>>>
>>>>>>> config files or any other files in Flash except the image
>>>>>>>
>>>>>>>
>>>>>>> 2008/6/17 Steve <threeseashells@googlemail.com>:
>>>>>>>
>>>>>>>
>>>>>>> Have you tried dropping to ROMMON and manually deleting any startup
>>>>>>>
>>>>>>>> config
>>>>>>>> text files? From your output it seems to be powering up ok and
>>>>>>>>
>>>> failing
>>>>
>>>>>>>> on
>>>>>>>> the config. Changing the image won't help as that's loading ok.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2008/6/16 Muhammad Nasim <muhammad.nasim@gmail.com>:
>>>>>>>>
>>>>>>>> I re-imaged the switch but still no luck
>>>>>>>>
>>>>>>>> any more ideas
>>>>>>>>
>>>>>>>>> 2008/6/16 Tyson Scott <tscott@ipexpert.com>:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> You could still try to do a password recovery to see if it can
>>>>>>>>>
>>>>>>>>>> recover. Where you are is the last step befor the nvram is loaded
>>>>>>>>>>
>>>> so
>>>>
>>>>>>>>>> it is worth testing.
>>>>>>>>>>
>>>>>>>>>> On Sun, Jun 15, 2008 at 11:13 AM, Muhammad Nasim
>>>>>>>>>> <muhammad.nasim@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>> It was a power shut down in the building and then after few
>>>>>>>>>>
>>>> mintues
>>>>
>>>>>>>>>>> power
>>>>>>>>>>>
>>>>>>>>> was up before that the switch was working fine.
>>>>>>>>>
>>>>>>>>>>> Right now there is no configuration on the switch so confgiuration
>>>>>>>>>>> can
>>>>>>>>>>>
>>>>>>>>>>> not
>>>>>>>>>>>
>>>>>>>>>> be a issue
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 2008/6/15 L Pham <ccie17030@gmail.com>:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> What happen BEFORE the restart ?
>>>>>>>>>>>
>>>>>>>>>>>> On Sun, Jun 15, 2008 at 7:58 AM, Muhammad Nasim
>>>>>>>>>>>> <muhammad.nasim@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Dear All,
>>>>>>>>>>>>
>>>>>>>>>>>>> I have switch 3560 with 48 ports with POE. It was working fine
>>>>>>>>>>>>>
>>>> but
>>>>
>>>>>>>>>>>>> now
>>>>>>>>>>>>>
>>>>>>>>> after
>>>>>>>>>
>>>>>>>>>>>> a restart it is hang and below is the output where it hangs.
>>>>>>>>>>>>
>>>> Does
>>>>
>>>>>>>>>>>>> this
>>>>>>>>>>>>>
>>>>>>>>> happens to anyone. I already changed the image even formated the
>>>>>>>>>
>>>>>>>>>>>>> flash
>>>>>>>>>>>>>
>>>>>>>>> and
>>>>>>>>>
>>>>>>>>>>>> copy new image and boot but no luck still hanging on the same
>>>>>>>>>>>>
>>>>>>>>>>>>> output.
>>>>>>>>>>>>>
>>>>>>>>> Below is the output.
>>>>>>>>>
>>>>>>>>>>>>> Initializing flashfs...
>>>>>>>>>>>>>
>>>>>>>>>>>>> flashfs[1]: 1 files, 1 directories
>>>>>>>>>>>>> flashfs[1]: 0 orphaned files, 0 orphaned directories
>>>>>>>>>>>>> flashfs[1]: Total bytes: 15998976
>>>>>>>>>>>>> flashfs[1]: Bytes used: 6434304
>>>>>>>>>>>>> flashfs[1]: Bytes available: 9564672
>>>>>>>>>>>>> flashfs[1]: flashfs fsck took 1 seconds.
>>>>>>>>>>>>> flashfs[1]: Initialization complete....done Initializing
>>>>>>>>>>>>>
>>>> flashfs.
>>>>
>>>>>>>>>>>>> POST: CPU MIC register Tests : Begin
>>>>>>>>>>>>> POST: CPU MIC register Tests : End, Status Passed
>>>>>>>>>>>>>
>>>>>>>>>>>>> POST: PortASIC Memory Tests : Begin
>>>>>>>>>>>>> POST: PortASIC Memory Tests : End, Status Passed
>>>>>>>>>>>>>
>>>>>>>>>>>>> POST: CPU MIC PortASIC interface Loopback Tests : Begin
>>>>>>>>>>>>> POST: CPU MIC PortASIC interface Loopback Tests : End, Status
>>>>>>>>>>>>>
>>>>>>>>>>>>> Passed
>>>>>>>>>>>>>
>>>>>>>>> POST: PortASIC RingLoopback Tests : Begin
>>>>>>>>>
>>>>>>>>>>>>> POST: PortASIC RingLoopback Tests : End, Status Passed
>>>>>>>>>>>>>
>>>>>>>>>>>>> POST: Inline Power Controller Tests : Begin
>>>>>>>>>>>>> POST: Inline Power Controller Tests : End, Status Passed
>>>>>>>>>>>>>
>>>>>>>>>>>>> POST: PortASIC CAM Subsystem Tests : Begin
>>>>>>>>>>>>> POST: PortASIC CAM Subsystem Tests : End, Status Passed
>>>>>>>>>>>>>
>>>>>>>>>>>>> POST: PortASIC Port Loopback Tests : Begin
>>>>>>>>>>>>> POST: PortASIC Port Loopback Tests : End, Status Passed
>>>>>>>>>>>>>
>>>>>>>>>>>>> Waiting for Port download...Complete
>>>>>>>>>>>>>
>>>>>>>>>>>>> cisco WS-C3560-48PS (PowerPC405) processor (revision N0) with
>>>>>>>>>>>>>
>>>>>>>>>>>>> 118784K/12280K
>>>>>>>>>>>>>
>>>>>>>>>>>> byt
>>>>>>>>>>>>
>>>>>>>>>>>>> es of memory.
>>>>>>>>>>>>> Processor board ID FDO1132Z6AS
>>>>>>>>>>>>> Last reset from power-on
>>>>>>>>>>>>> 1 Virtual Ethernet interface
>>>>>>>>>>>>> 48 FastEthernet interfaces
>>>>>>>>>>>>> 4 Gigabit Ethernet interfaces
>>>>>>>>>>>>> The password-recovery mechanism is enabled.
>>>>>>>>>>>>>
>>>>>>>>>>>>> 512K bytes of flash-simulated non-volatile configuration memory.
>>>>>>>>>>>>> Base ethernet MAC Address : 00:1D:45:69:CD:80
>>>>>>>>>>>>> Motherboard assembly number : 73-9676-12
>>>>>>>>>>>>> Power supply part number : 341-0029-05
>>>>>>>>>>>>> Motherboard serial number : FDO113202PW
>>>>>>>>>>>>> Power supply serial number : LIT11300B61
>>>>>>>>>>>>> Model revision number : N0
>>>>>>>>>>>>> Motherboard revision number : B0
>>>>>>>>>>>>> Model number : WS-C3560-48PS-S
>>>>>>>>>>>>> System serial number : FDO1132Z6AS
>>>>>>>>>>>>> SFP Module assembly part number : 73-7757-03
>>>>>>>>>>>>> SFP Module revision Number : A0
>>>>>>>>>>>>> SFP Module serial number : FDO11310AM7
>>>>>>>>>>>>> Top Assembly Part Number : 800-25859-03
>>>>>>>>>>>>> Top Assembly Revision Number : J0
>>>>>>>>>>>>> Version ID : V04
>>>>>>>>>>>>> CLEI Code Number : CNMV3N0CRC
>>>>>>>>>>>>> Hardware Board Revision Number : 0x01
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Switch Ports Model SW Version SW
>>>>>>>>>>>>>
>>>> Image
>>>>
>>>>>>>>>>>>> ------ ----- ----- ----------
>>>>>>>>>>>>>
>>>>>>>>>>>>> ----------
>>>>>>>>>>>>>
>>>>>>>>> * 1 52 WS-C3560-48PS 12.2(25)SEE4
>>>>>>>>>
>>>>>>>>>>>>> C3560-IPBASE-M
>>>>>>>>>>>>>
>>>>>>>>>> It hangs here and after that not going any further.
>>>>>>>>>>
>>>>>>>>>>>>> Any help and inputs required.
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Muhammad Nasim
>>>>>>>>>>>>> Network Engineer
>>>>>>>>>>>>> Saudi Arabia
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>> _______________________________________________________________________
>>>>
>>>>>>>>>> Subscription information may be found at:
>>>>>>>>>>
>>>>>>>>>>>>> http://www.groupstudy.com/list/CCIELab.html
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Muhammad Nasim
>>>>>>>>>>> Network Engineer
>>>>>>>>>>> Saudi Arabia
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Tyson Scott - CCIE #13513 R&S and Security
>>>>>>>>>> Technical Instructor - IPexpert, Inc.
>>>>>>>>>>
>>>>>>>>>> Telephone: +1.810.326.1444
>>>>>>>>>> Fax: +1.810.454.0130
>>>>>>>>>> Mailto: tscott@ipexpert.com
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Muhammad Nasim
>>>>>>>>> Network Engineer
>>>>>>>>> Saudi Arabia
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>> --
>>>>>>> Muhammad Nasim
>>>>>>> Network Engineer
>>>>>>> Saudi Arabia
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>> _______________________________________________________________________
>>>>
>>>>>>> Subscription information may be found at:
>>>>>>> http://www.groupstudy.com/list/CCIELab.html
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> This e-mail is confidential and may contain legally privileged
>>>>>> information. It is intended only for the addressees. If you have
>>>>>>
>>>> received
>>>>
>>>>>> this e-mail in error, kindly notify us immediately by telephone or
>>>>>>
>>>> e-mail
>>>>
>>>>>> and delete the message from your system.
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Muhammad Nasim
>>>>> Network Engineer
>>>>> Saudi Arabia
>>>>>
>>>>>
>>>>
>>>> --
>>>> Muhammad Nasim
>>>> Network Engineer
>>>> Saudi Arabia
>>>>
>>>>
>>>> _______________________________________________________________________
>>>> Subscription information may be found at:
>>>> http://www.groupstudy.com/list/CCIELab.html
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>> --
>> Muhammad Nasim
>> Network Engineer
>> Saudi Arabia
>>
>>
>>
>
>
>
> --
> Tyson Scott - CCIE #13513 R&S and Security
> Technical Instructor - IPexpert, Inc.
>
> Telephone: +1.810.326.1444
> Fax: +1.810.454.0130
> Mailto: tscott@ipexpert.com
>
> Join our free online support and peer group communities:
> http://www.IPexpert.com/communities
>
> IPexpert - The Global Leader in Self-Study, Classroom-Based, Video On
> Demand and Audio Certification Training Tools for the Cisco CCIE R&S
> Lab, CCIE Security Lab, CCIE Service Provider Lab , CCIE Voice Lab and
> CCIE Storage Lab Certifications.
This archive was generated by hypermail 2.1.4 : Tue Jul 01 2008 - 06:23:22 ART