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

error "Unkown cmd" and "line too long" switch

when I want to recover my 2960 switch in rommon mode with xmodem command, It shows me these errors. when I reset the switch, still shoes these errors:

Unknown cmd: 1;2c1;2c[?1;21;2c[?1;21;2c[?1;2;21;2c[?1;2[

switch: ?1;2c[?1;21;2c[?1;21;2c

switch: ccknown cmd:

*** line too large *****tch: c1;2[?1


Unknown cmd: cc?1;2c[?1;21;2c[

switch: [?1;2c1;21;2c[?1;2known cm

switch: ;2c1;2c[?

*** line too large ***21;2c[?1;2c21;2


Unknown cmd: [?1;2c1;21;2c[?1;221;2c[?

*** line too large ***c

switch: 1;2c1;2c1;2c[?1;2[?1;2cmd: ;2c1;2c[?1;21;2c[?1;21;21

*** line too large ***large ***1;21;2c[?1;2[

Unknown cmd: 1;2c1;2c1;2c[?1;2[?1;2 c2c1;2c[?1;2[?1;21;2c




switch: ;2c[?1;2 ***?1;c[?1;22 

*** line too large ***: c2c1;2c[?1;2o large

Unknown cmd: ;2c[?1;2ch: [?1;2c1;2c[?1;c2c

switch: [?1;2c1;2c[?1;21;21;2c[?1;21;2c[?1;21;2c[?1;21;2c[?1;2ch

Unknown cmd: [?1;2c1;2c[?1;crge ***c[?1;c1;2c[?1;2cline


*** line too large ***2*** lin

switch: ?1;2c

Unknown cmd: [?1;2c1;2c[?1;21;21;2c[?1;21;2c[?1;21;2c[?1;21;2c[?1;21;21;2c[?1;2large ***;2c[?

switch: 1;2c[?1

switch: ;c1;2c[?1;c1;2c[

switch: ;2c[?1;c1;2;22oo large ***[?1;

*** line too l  

Everyone's tags (5)
Cisco Employee

Re: error "Unkown cmd" and "line too long" switch

Hello Milad,

This looks like you have not started the proper copy command before starting the file transfer. The switch has to be prepared to receive the file beforehand - you cannot just start transferring the IOS image file.

I suggest you proceed following these commands:


! This initializes the access to the FLASH memory

set BAUD 115200

! This command will set the console speed to 115200 bps immediately

! You will need to reconfigure your terminal software accordingly immediately after this command

copy xmodem:FILENAME flash:FILENAME

! After entering the copy command, start the Xmodem-1k transfer in your terminal software

unset BAUD

! This returns the console speed back to 9600 bps

! You will need to reconfigure your terminal software accordingly again immediately after this command


! This command shall start booting the IOS you have just transferred

Please note that the FILENAME must exactly match the name of the IOS image file you are transferring. When entering these commands, do not use any special keys or characters like TAB or arrow keys, as the bootloader prompt does not support them and will not even accept your commands. Enter the full commands manually as indicated here, and if a typo is done, you have to delete the entire line to the point of the typo, correct it and type the remainder of the command line again.

Good luck!

Best regards,


Community Member

I have this problem !

I have this problem !

*** line too large ***

ap: øøøøøøøÐÐÐÐøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøÐøÐÐøøøøøøøøøøøøøøøÐøøøøøøøÐÐÐøøÐÐÐøøøøøøÐøøøøøÐøÐøøøøøøøøøøøøøøøøøøøÐÐøøøøøøøøøøø
*** line too large ***

Unknown cmd: øøøøøøøÐÐÐÐøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøÐøÐÐøøøøøøøøøøøøøøøÐøøøøøøøÐÐÐøøÐÐÐøøøøøøÐøøøøøÐøÐøøøøøøøøøøøøøøøøøøøÐÐøøøøøøøøøøø

ap: øÐøøÐÐøøøøøøøøøøøøøÐÐøøÐøÐÐÐÐøÐÐÐÐÐÐøøÐÐøøøÐø

CreatePlease to create content