This is useful if, for example, the web interface keeps resetting the connections.
Upgrading the firmware requires first updating the boot code, and the regular console in the earlier firware doesn’t have support for flashing the boot code. However, there is a hidden IOS-like cli available, that makes it possible to upgrade the boot code over tftp. An additional benefit is that it is much faster than using xmodem.
The steps
- Setup a tftp server on your machine, serving the files
srw2024_16_boot-101.rfb
andls20xx-12230.ros
(download from Cisco) - Connect your computer to the switch using ethernet and serial cables.
- Boot the switch.
- Log into the console.
- Press C-z.
- On the new promt, type
lcli
and press enter. - To upgrade the boot code, type
copy tftp://
/srw2024_16_boot-101.rfb boot - Then upgrade the firmware:
copy tftp://
/ls20xx-12230.ros image - Lastly, restart the switch:
reload
That’s it.
As an aside, please note that the web interface only works in Internet Explorer, so if it seems like it doesn’t work, it’s probably because your’re using another browser.
Instructions are a bit sparse.
I can get to step 6 (on step 5 I have to press Cntl-z twice to get another prompt)
After typing “lcli”, I’m prompted for “Username”, “Password” and “Console #”
Not sure whar console # is.
Can’t get past here.
Can you help?
I don’t have easy access to the hardware anymore so I can verify, but the ‘console #’ prompt should be the one where the commands in steps 7-9 need to be entered.