07-05-2012 02:39 AM - edited 03-07-2019 07:36 AM
Hello,
After a power failure my cisco switch (c2950 , version 12.1(11)ea1) started in a mode which was not correct I think.
After logging in with Hyperterminal it showed: switch:
I typed boot and the switch started fine again.
What was that mode? What do I need to type in to boot in "normal" mode ?
tnx
frank
Solved! Go to Solution.
07-05-2012 05:38 AM
Hi,
This is a ROMMON mode of the switch. This may occur on power cycle if a boot mode is set to manual.
If the manual boot is disabled, the switch will automatically load the image in its flash file system and boot in IOS mode.
In order to confirm this setting, use these methods:
1. If you are at the ROMmon mode (switch: prompt), issue the set command and observe the output:
switch: set BOOT=flash:c2950-i6q4l2-mz.121-13.EA1.bin MANUAL_BOOT=yes
2. If you are at the regular switch# prompt, issue the show boot command and observe the output:
Switch#show boot BOOT path-list: flash:c2950-i6q4l2-mz.121-13.EA1.bin Config file: flash:config.text Enable Break: no Manual Boot: yes HELPER path-list: NVRAM/Config file buffer size: 32768
Solution:
If you are at the switch: prompt, perform these steps to allow the switch to boot automatically:
Issue the set MANUAL_BOOT no command at the switch: prompt.
switch: set MANUAL_BOOT no switch:
Issue the set command to confirm that the value for the MANUAL_BOOT variable is now no.
switch: set BOOT=flash:c2950-i6q4l2-mz.121-13.EA1.bin MANUAL_BOOT=no
Issue the boot command to reload the switch.
switch: boot flash:c2950-i6q4l2-mz.121-13.EA1.bin
Loading "flash:c2950-i6q4l2-mz.121-13.EA1.bin"...###########
###########################################################
!--- Output suppressed ---
If you are at the switch# prompt, perform these steps to allow the switch to boot automatically.
Enter the Global Configuration Mode. Issue the no boot manual to inform the switch to boot automatically.
Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#no boot manual
Go back to the privileged EXEC mode and save the configuration with the write memory command.
Switch(config)#end Switch# Switch#write memory Building configuration... [OK]
Verify the boot parameters with the show boot command, and verify whether Manual Boot is set to no.
Switch#show boot
BOOT path-list: flash:c2900XL-h-mz-112.8-SA5.bin
Config file: flash:config.text
Enable Break: no
Manual Boot: no
HELPER path-list:
!--- Output suppressed ---
Reload the switch.
Doc:
Kind Regards,
Ivan
**Please grade this post if you find it useful.
07-05-2012 05:38 AM
Hi,
This is a ROMMON mode of the switch. This may occur on power cycle if a boot mode is set to manual.
If the manual boot is disabled, the switch will automatically load the image in its flash file system and boot in IOS mode.
In order to confirm this setting, use these methods:
1. If you are at the ROMmon mode (switch: prompt), issue the set command and observe the output:
switch: set BOOT=flash:c2950-i6q4l2-mz.121-13.EA1.bin MANUAL_BOOT=yes
2. If you are at the regular switch# prompt, issue the show boot command and observe the output:
Switch#show boot BOOT path-list: flash:c2950-i6q4l2-mz.121-13.EA1.bin Config file: flash:config.text Enable Break: no Manual Boot: yes HELPER path-list: NVRAM/Config file buffer size: 32768
Solution:
If you are at the switch: prompt, perform these steps to allow the switch to boot automatically:
Issue the set MANUAL_BOOT no command at the switch: prompt.
switch: set MANUAL_BOOT no switch:
Issue the set command to confirm that the value for the MANUAL_BOOT variable is now no.
switch: set BOOT=flash:c2950-i6q4l2-mz.121-13.EA1.bin MANUAL_BOOT=no
Issue the boot command to reload the switch.
switch: boot flash:c2950-i6q4l2-mz.121-13.EA1.bin
Loading "flash:c2950-i6q4l2-mz.121-13.EA1.bin"...###########
###########################################################
!--- Output suppressed ---
If you are at the switch# prompt, perform these steps to allow the switch to boot automatically.
Enter the Global Configuration Mode. Issue the no boot manual to inform the switch to boot automatically.
Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#no boot manual
Go back to the privileged EXEC mode and save the configuration with the write memory command.
Switch(config)#end Switch# Switch#write memory Building configuration... [OK]
Verify the boot parameters with the show boot command, and verify whether Manual Boot is set to no.
Switch#show boot
BOOT path-list: flash:c2900XL-h-mz-112.8-SA5.bin
Config file: flash:config.text
Enable Break: no
Manual Boot: no
HELPER path-list:
!--- Output suppressed ---
Reload the switch.
Doc:
Kind Regards,
Ivan
**Please grade this post if you find it useful.
07-06-2012 02:51 AM
Great!
thanks for helping Ivan
frank
07-06-2012 05:21 AM
welcome! Appreciate if you could grade useful posts and mark this thread as solved.
05-24-2019 03:12 AM
hi
can u please tell me the commands for setting automatic boot of image for Cisco Nexus switch
05-24-2019 03:13 AM
hi
Can u please tell me the commands for setting automatic boot of image for Cisco Nexus switch
05-24-2019 05:49 AM
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