12-30-2019 01:49 PM
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.
12-30-2019 02:00 PM
12-30-2019 02:09 PM
I have tried that, no luck
12-30-2019 06:13 PM - edited 12-30-2019 06:20 PM
@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
12-31-2019 10:29 AM
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.
12-31-2019 11:09 AM - edited 12-31-2019 11:14 AM
Can you try:
"copy xmodem: flash: c2950-i6q4l2-mz.121-22.EA13.bin" than browse to the image on the laptop.
HTH
12-31-2019 11:55 AM
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
12-31-2019 04:08 PM - edited 12-31-2019 04:09 PM
@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".
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