cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9838
Views
5
Helpful
2
Replies

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

mjavadi1987
Level 1
Level 1

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

switch:

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

Unkno

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

sw

switch

*

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

s

*** 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  

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

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:

flash_init

! 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

boot

! 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,

Peter

sruthi178
Level 1
Level 1

I have this problem !

*** line too large ***


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

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card