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

2950 switch showing Switch: prompt

Hi,

I have deleted nvram file system and reloaded the switch.

switch is showing following message:

Switch#erase nv

Switch#erase nvram: ?

<cr>

Switch#erase nvram:

Erasing the nvram filesystem will remove all configuration files! Continue? [con

firm]

[OK]

Erase of nvram: complete

Switch#

05:27:50: %SYS-7-NV_BLOCK_INIT: Initalized the geometry of nvram

Switch#reload

Proceed with reload? [confirm]

05:27:55: %SYS-5-RELOAD: Reload requested

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950G-48-EI starting...

Base ethernet MAC Address: 00:14:69:dd:cd:80

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 0 files, 1 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 1024

flashfs[0]: Bytes available: 7740416

flashfs[0]: flashfs fsck took 4 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading ""...: permission denied

Error loading ""

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: ?

? -- 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_param -- Set system parameters in flash

trap -- Cause a software breakpoint to occur

type -- Concatenate (type) file(s)

-- MORE --

unset -- Unset one or more environment variables

version -- Display boot loader version

switch: lo

switch: reset

Are you sure you want to reset the system (y/n)?y

System resetting...

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Mon 22-Jul-02 17:18 by antonino

WS-C2950G-48-EI starting...

Base ethernet MAC Address: 00:14:69:dd:cd:80

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 0 files, 1 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 1024

flashfs[0]: Bytes available: 7740416

flashfs[0]: flashfs fsck took 4 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading ""...: permission denied

Error loading ""

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:

How to set the boot environment variables?

Required your suggestions.......

Regards

SKRAO

3 REPLIES
Hall of Fame Super Bronze

Re: 2950 switch showing Switch: prompt

sivakondalarao:

"The system is unable to boot automatically. The BOOT

environment variable needs to be set to a bootable

image. "

It seems your configuration file contains a reference to a boot image that no longer exist.

I recommend trying the following:

#rename flash:config.text flash:config.old

#boot

>enable

#rename flash:config.old flash:config.text

#copy flash:config.text system:running-config

#dir flash:

Write down the IOS image

#show run

replace the boot system variable to match the IOS image listed in the flash folder.

Re: 2950 switch showing Switch: prompt

Hi,

The switch is not having any IOS image files in the flash! [flashfs[0]: 0 files, 1 directories ] Or maybe you have one in the directory that you have there.

You need to copy an IOS image into the flash, so that you switch can boot with it! Copy a file into the flash and boot with it.

Have a look at the following link:

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

Hope this helps!

Regards,

AbhisheK

Please rate all helpful posts!!!

Re: 2950 switch showing Switch: prompt

SKRAO,

See the reason for the error below. Appears, you mayn't have a valid IOS and you can copy a valid image using xmodem function.

Getting "Error Loading Flash" error messages.

The error loading Flash message means that there is a problem loading the current image in Flash memory. The image could be corrupt or incorrect, or the image in Flash memory could be missing. If the system is unable to load a software image in Flash memory, the system will load the boot helper and bring up a switch prompt.

1. Enter the dir flash: command to verify if there is any bootable image on the Flash memory. The file with the .bin extension is the bootable image on the Flash memory.

If you see a bootable image on the Flash memory, continue to Step 2. If you do not see any bootable image in the Flash memory, download the IOS Image File by using X-Modem.

2. Enter the set BOOT flash: name of IOS file command to set the boot variable to the filename displayed in Step 1.

Note BOOT must be capitalized and make sure to include flash: before the filename.

3. Enter the boot command.

Note If the switch boots properly, enter the setting boot parameters global configuration command to verify and set the BOOT parameters (if needed), and proceed to Step 4. If the switch fails to boot properly, download the IOS Image File by using X-Modem.

4. After setting the BOOT parameters, reload the switch by entering the reload privileged EXEC command.

The switch boots up automatically with the correct image.

http://www.cisco.com/en/US/products/hw/switches/ps628/products_configuration_guide_chapter09186a008007e923.html#xtocid273064

HTH,

Sundar

3212
Views
0
Helpful
3
Replies
CreatePlease login to create content