cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
16247
Views
9
Helpful
7
Replies

(kindof) CLI access on Catalyst Express 500 series switches

cedric.nelson
Level 1
Level 1

Ahoy,

I've read Cisco documentation and forum posts from a number of sources, and there doesn't seem to be any mention of how someone can issue commands like they would in a CLI environment on a console-less switch like the CE500. It is something that has annoyed me before, so I thought I'd share what I've discovered through some experimentation with you all.

When using a web browser to manage your switch, issue the following url:

http://10.0.0.1/level/15/exec/-/

(Replacing the IP address with the one configured on your own switch)

After providing your username/password, this brings you to a web-based console interface to the CE500. I don't know for sure, but I think this functionality is in the WEB_EXEC module enabled by default on the factory IOS [12.2(25)FY]. You can issue commands in the Command field just like you would in the CLI environment, and the output is shown below the field. It takes a bit of getting used-to, but I prefer it over the CNA and Device Manager.

From what I can tell, the commands are just HTTP GET requests with the url as the command; where / slashes after the exec/-/ part are interpreted as spaces, \ slashes precede special characters, and CR stands for Carrier Return (the enter key at the end of a command issued in CLI). I suppose knowing this someone could script an actual CLI-interface for the CE500 that just issues HTTP GET requests and parses the returning output, but this works just fine for my needs :).

------

Cedric

7 Replies 7

hgru
Level 1
Level 1

Cool!. I never bought the CE500 because it doesn't have a command line. Ehhm What happens if you do some thing like sh running?

Do you see the entier config? Can you scroll trough it?

Yes, the running config (and any other output) appears in an area below the command field. One of the benefits to using the web-based CLI is that you can exactly what the 'Smart-ports' configuration options are doing on the switch by examining the running config.

I've attached a screenshot I took to demonstrate the interface and output.

Thanks that very good info! Did you run into any restrictions sofar?

You're very welcome hgru. :)

The only restriction that I've ran into is that I'm unable to get telnet or ssh access working on the CE500's. Unless there was something that I missed, I'm assuming that the telnet/ssh functionality just isn't in the IOS images that are provided.

tahequivoice
Level 2
Level 2

EXCELLENT!! This has helped resolve a CPU issue that has been plagueing us for a while now. I was able to stop IP arp inspections permanently even after a reboot! :D Thanks.

prabowo
Level 1
Level 1

I have a problem with my cisco ce 500 24tt i don't know the ip, because before parameter ip is static but im forget, how to hard reset to ip default ? Thanks

The following YouTube video shows someone factory resetting his Catalyst Express. Follow those steps and then open a browser and connect to the .1 IP address of the subnet your laptop is given (usually x.x.x.1). In my case, it was 169.254.0.1

 

https://www.youtube.com/watch?v=GLobpsr1jhE

 

Good luck.