08-28-2006 07:33 AM - edited 03-03-2019 04:42 AM
Scenario: Te customer has two 3750 switches and for further redundancy + speed they decided to use the stackwise tech.
I was asked to install the stack wise cables so waht I did was
port 1 on Switch1 > port 2 on Swtich2
port 2 on Switch1 > port 1 on Switch2
restarted both switches to configure them from scratch i.e. cluster + ip and etc switch 2 was in a hung state so decided to upgrade the IOS on switch 2 as it did not match switch 1.
I got my hands on a tar file for this switch and like a idiot "copy tftp flash" the tar to the flash instead of following the follwoing command :
***************************************
archive download-sw /leave-old-sw tftp://11.11.11.11/c3750-i5-tar.122-20.SE.tar
***************************************
The old IOS was erased by me and here I am stcuk with the 3750 on the promt where it sasy
switch:
I can barely run any commands on this mode.
What I need to do is install/ extract the tar file as it comes up with a message saying no boot file system found etc...
Can anyone pelase advise.
Now I will need to two things from any expert
1) How to fix this IOS issue I caused which is embarassing
2) Did I patch the stackwise cables correctly ?
please respond any help will be greatly aprpeciated.
cheers
AJ
08-28-2006 07:50 AM
Responding your first question:
You can transfer a new IOS to this switch by using XMODEM or TFTPdnld
Please check these links for either method.
http://www.cisco.com/warp/public/130/xmodem_generic.html
Your second question:
The cables are connected correctly.
Please rate helpful posts.
Thanks
08-28-2006 10:25 AM
EdisonOrtiz,
Thnak you for responding it is indeed kind of you.
Let me elaborate a little more on this.
The problem is I dont even get into the rommon mode to use the links above..
All I get with a prompt which the rotuer is switched on is
---------------
switch:
----------------
I surely tried the xmodem command in that mode and it seems to not work.
So is there a way I can change the "configure register" from the prompt I am in currently I dont even know what that prompt is called to be honest??
Am I being blind or am I looking for spoon feeding which is neither the case trust me...
I think I am under a lot of pressure to get that switch working as all the servers redundant cables were plugged into that switch.
Any help will be greatly apprecaited.
cheers
AJ
08-28-2006 10:31 AM
If you type
?
What commands are available to you ?
08-28-2006 10:33 AM
If memory serves me right
" ? "
does not work in that mode
neither does help
all I get is
switch:
08-28-2006 10:31 AM
let me add further to this
I think I did run the command
dir flash:
and it list the .tar file only in the flash whcih is clear the result of my wrong doing.
The switch is not with me as it is onsite but I wsih I could have connected to it right now and given you the output whcih I can do tommorow if it helps.
cheers
AJ
08-28-2006 10:41 AM
You need the .bin file as well. That's your IOS image.
EDIT: I see you went with the archive approach, nothing wrong with that but I usually download the BIN and go with the copy tftp flash :)
08-28-2006 11:17 AM
I completely agree should have done that but the customer was a novice to cisco switches and required a funky web int so I decided to go down that route and in haste messed the whole thing up :(
I agree the commanf you have suggested but I think you will need that output when the switch starts which will enable any of the experts to help me..
So I will get back to you tommorow once I have access to the switch once again.
cheers
AJ
08-29-2006 06:59 AM
As promised.
switch:
Base ethernet MAC Address: 00:18:19:60:81:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash..
*** some text missing *****
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 7837184
flashfs[0]: Bytes available: 8161792
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin"...fl
ash:c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin: no such file or
directory
Error loading "flash:c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin
"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.
switch:
switch: dir flah:
unable to stat flah:/: no such device
switch: dir flash:
Directory of flash:/
2 -rwx 7834112
3 -rwx 1493
4 -rwx 5
8161792 bytes available (7837184 bytes used)
switch: ?
? -- Present list of available commands
boot -- Load and boot an executable image
cat -- Concatenate (type) file(s)
copy -- Copy a file
delete -- Delete file(s)
dir -- List files in directories
flash_init -- Initialize flash filesystem(s)
format -- Format a filesystem
fsck -- Check filesystem consistency
help -- Present list of available commands
load_helper -- Load and initialize a helper image
memory -- Present memory heap utilization information
mkdir -- Create dir(s)
more -- Concatenate (display) file(s)
rename -- Rename a file
reset -- Reset the system
rmdir -- Delete empty dir(s)
set -- Set or display environment variables
set_bs -- Set attributes on a boot sector filesystem
set_param -- Set system parameters in flash
sleep -- Pause (sleep) for a specified number of seconds
trap -- Cause a software breakpoint to occur
type -- Concatenate (type) file(s)
unset -- Unset one or more environment variables
version -- Display boot loader version
08-29-2006 07:07 AM
As mentioned earlier I dont even see the XMODEM command listed under the help.
can I not extract that tar file which is already in the flash?
or simply erase it and than reboot the switch?
than I might get a different prompt?
Please advise.
cheers
AJ
08-29-2006 07:25 AM
AJ,
Reboot the device and perform the CRTL+BREAK sequence to get into ROM Mode and then follow the steps from this URL (XModem or TFTPDLND).
Make sure to download a .bin file instead of a .tar and also delete the .tar in order to create more space in the flash.
Good luck.
08-29-2006 07:36 AM
Hi graeme,
Try the following commands and check
switch: flash_init
switch: load_helper
switch: boot
HTH
Narayan
08-29-2006 07:41 AM
Narayan,
He doesn't have a valid image to boot from ...
08-29-2006 08:04 AM
Thank you both for responding to the post much appreciated.
I have tried the break sequence .i.e ctrl < break >
it refuses to work
all I get is this
*****************************
switch: < AJ : powered off >
Base ethernet MAC Address: 00:18:19:60:81:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 15997952
flashfs[0]: flashfs fsck took 8 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin"...fl
ash:c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin: no such file or
directory
Error loading "flash:c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin
"
Interrupt within 5 seconds to abort boot process.
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.
switch: ?
*******************************************
If there is a another alternative please advise as the engineer onsite has just left for the day as well and that means I will have to wait until tommrow if he can again power cycle it for me.
Thank you once again so much for this help.
cheers
AJ
08-29-2006 08:09 AM
The sequence may vary depending upon the workstation you are running.
Read this link for various ways of ctrl break
http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a0080174a34.shtml
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide