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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

(kindof) CLI access on Catalyst Express 500 series switches

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

6 REPLIES
New Member

Re: (kindof) CLI access on Catalyst Express 500 series switches

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?

New Member

Re: (kindof) CLI access on Catalyst Express 500 series switches

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.

New Member

Re: (kindof) CLI access on Catalyst Express 500 series switches

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

New Member

Re: (kindof) CLI access on Catalyst Express 500 series switches

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.

New Member

Re: (kindof) CLI access on Catalyst Express 500 series switches

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.

New Member

I have a problem with my

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

9488
Views
9
Helpful
6
Replies