cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
607
Views
0
Helpful
6
Replies

invalid input detected message

moman62
Level 1
Level 1

I'm using a 2921 router and boot this ios and am getting the following:

R1(config)#boot system R1 c2900-universalk9-mz.SPA.157-3.M4 .bin
Translating "c2900-universalk9-mz.SPA.157-3.M4"...domain server (255.255.255.255)
% Invalid input detected at '^' marker.

1 Accepted Solution

Accepted Solutions

moman62
Level 1
Level 1

I deleted the flash directory and installed the updated version.

View solution in original post

6 Replies 6

Dustin Anderson
VIP Alumni
VIP Alumni

you have a space before .bin and usually need to specify where the file resides like flash:c2900

moman62
Level 1
Level 1

I saw that when viewed the flash: after I tried to tftp it to my windows machine.

R1#sh flash:
-#- --length-- -----date/time-----
24 110513896 Mar 4 2019 22:16:26 +00:00 c2900-universalk9-mz.SPA.157-3.M4 .bin

R1#copy flash: tftp
Source filename []? c2900-universalk9-mz.SPA.157-3.M4 .bin
Address or name of remote host []? 192.168.0.6
Destination filename [c2900-universalk9-mz.SPA.157-3.M4]?
%Error opening flash0:c2900-universalk9-mz.SPA.157-3.M4 (File not found)
R1#

I thought by changing it to this that it would work:
c2900-universalk9-mz.SPA.157-3.M4.bin but got the same message (file not found).

 

Dustin Anderson
VIP Alumni
VIP Alumni

you may been to use quotes to include the space, I believe it will accept them.

you can try

rename flash:"c2900-universalk9-mz.SPA.157-3.M4 .bin" flash:c2900-universalk9-mz.SPA.157-3.M4.bin

Then try the boot command since there isn't any more spaces in the filename.

moman62
Level 1
Level 1

not working,

R1#rename flash:"c2900-universalk9-mz.SPA.157-3.M4 .bin" flash:c2900-universal$
rename flash:"c2900-universalk9-mz.SPA.157-3.M4 .bin" flash:c2900-universalk9-mz ^.SPA.157-3.M4.bin

% Invalid input detected at '^' marker. 

Dustin Anderson
VIP Alumni
VIP Alumni

hmm, seems to not like periods? guess you can try quotes on both sides.

rename flash:"c2900-universalk9-mz.SPA.157-3.M4 .bin" flash:"c2900-universalk9-mz.SPA.157-3.M4.bin"

moman62
Level 1
Level 1

I deleted the flash directory and installed the updated version.