Posts: 35
Registered: ‎07-19-2006
SRW series super-secret CLI mode!
It looks like strobhen beat me to this discovery.  There is a hidden Cisco-like CLI mode available to the SRW series switches!

strobhen already explained how to get to it, but it's a discovery worthy of it's own post to make sure that owners know about it's existance.


Linksys SRW Switch Secret CLI Mode HowTo

1.) ssh, telnet, or console into the switch as you normally would.  Do not use the http/web interface.

2.) Log in with the menu system, using a valid, existing, account.
    2.a) Provide the username and password, then "execute".
    2.b) The "Operation complete" response is received.  Press any key.

3.) At the "Switch Main Menu", Press CTRL+z.

4.) A carrot > command line will appear.  Type in "lcli" (Light-weight Command Line Interface?) and press Enter.
    4.a) There is also a "debug" and "mcli" mode.  However, they are password protected.  The password is probably hard-coded into the firmware.
    4.c) I wonder what "mcli" mode is.  Perhaps just an alias for the menu interface?

5.) Log in once again, with the same credentials which you used before.

6.) You are now in a light-weight Cisco-like CLI mode.
    6.a) Many, but not all, readline-like key strokes work, such as ctrl+a,e,u,k,h, and up/down.
    6.b) Press ? for possible commands.


Other notes;

    There is no need to "write mem".  Commands are committed immediately.

    "show startup" will dump the configuration.

    To turn off console logging, which can be quite disturbing, issue the config command "no logging console".

    "show bridge addr" will dump the CAM table, like "show mac-addr dyn" on IOS switches.

    "show inter status" gives you a quick view of all switch ports on the system.


Since I now know this is possible, I know how to dig a little deeper into this switches capabilities.

If you want to know just how many hidden gems these switches have, just SNMP walk the full index.  If only there was a MIB available to help decrypt some of the mystery.
Who Me Too'd this topic