Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

switch startup mode

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

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

switch startup mode

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:

  1. Issue the set MANUAL_BOOT no command at the switch: prompt.

    switch: set MANUAL_BOOT no
    switch:
  2. 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
    
  3. 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.

  1. 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
    
  2. 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]
  3. 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 ---
    
    
  4. Reload the switch.

Doc:

http://www.cisco.com/en/US/products/hw/switches/ps628/products_configuration_example09186a0080169627.shtml#concept13

Kind Regards,
Ivan

**Please grade this post if you find it useful.

Kind Regards, Ivan Shirshin **Please grade this post if you find it useful.
3 REPLIES
Cisco Employee

switch startup mode

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:

  1. Issue the set MANUAL_BOOT no command at the switch: prompt.

    switch: set MANUAL_BOOT no
    switch:
  2. 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
    
  3. 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.

  1. 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
    
  2. 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]
  3. 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 ---
    
    
  4. Reload the switch.

Doc:

http://www.cisco.com/en/US/products/hw/switches/ps628/products_configuration_example09186a0080169627.shtml#concept13

Kind Regards,
Ivan

**Please grade this post if you find it useful.

Kind Regards, Ivan Shirshin **Please grade this post if you find it useful.
New Member

switch startup mode

Great!

thanks for helping Ivan

frank

Cisco Employee

switch startup mode

welcome! Appreciate if you could grade useful posts and mark this thread as solved.

Kind Regards, Ivan Shirshin **Please grade this post if you find it useful.
350
Views
0
Helpful
3
Replies
CreatePlease to create content