cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2568
Views
0
Helpful
7
Replies

Cisco 2950 cannot load IOS, permission denied

Michael Durham
Level 4
Level 4

II got some 2950 switches that had the IOS deleted and I am trying to load an IOS on them so we can use them.  When I try to load an IOS on the switch via the copy command, I get an error saying "Permission Denied".

These switches do not have an xmodem or tftpdnld option.  I did try load_helper but that did nothing.  Any ideas?

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)
unset -- Unset one or more environment variables
version -- Display boot loader version

 

switch: dir flash:
Directory of flash:/

8 drwx 4032 <date> html

6181888 bytes available (1559552 bytes used)

 

switch: copy -b 1024 c2950-i6q4l2-mz.121-22.EA13.bin flash:/c2950-i6q4l2-mz.121-22.EA13.bin
c2950-i6q4l2-mz.121-22.EA13.bin: permission denied

 

switch: ver
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)
Compiled Mon 22-Jul-02 17:18 by antonino
switch:

As you can see, I can issue the DIR command and get good results.

7 Replies 7

Leo Laohoo
Hall of Fame
Hall of Fame
flash_init
load_helper

I have tried that, no luck


@Michael Durham wrote:

switch: copy -b 1024 c2950-i6q4l2-mz.121-22.EA13.bin flash:/c2950-i6q4l2-mz.121-22.EA13.bin


That's the wrong command.  Try "copy xmodem: flash:IOS_filename.bin".

Read this:  Recovering Catalyst Fixed Configuration Switches from a Corrupted or Missing Image

I tried format flash, did not solve the problem

 

Then I tried: 

switch: copy xmodem c2950-i6q4l2-mz.121-22.EA13.bin c2950-i6q4l2-mz.121-22.EA13.bin

 

the switch replied:
usage: copy [-b <buffer_size>] <src_file> <dst_file>


I think this version of romon is too old.

Can you try:

"copy xmodem: flash: c2950-i6q4l2-mz.121-22.EA13.bin" than browse to the image on the laptop.

HTH

 

 

switch: copy xmodem: flash: c2950-i6q4l2-mz.121-22.EA13.bin
usage: copy [-b <buffer_size>] <src_file> <dst_file>
switch:
switch: copy xmodem c2950-i6q4l2-mz.121-22.EA13.bin flash:
usage: copy [-b <buffer_size>] <src_file> <dst_file>
switch: copy c2950-i6q4l2-mz.121-22.EA13.bin flash:
c2950-i6q4l2-mz.121-22.EA13.bin: permission denied

 

No luck


@Michael Durham wrote:

switch: copy xmodem: flash: c2950-i6q4l2-mz.121-22.EA13.bin


The syntax is incorrect.  There is a <space> between "flash:" and the IOS filename.  

Correct syntax is "copy xmodem: flash:c2950-i6q4l2-mz.121-22.EA13.bin".