[SATLUG] SNMP and SSH/telnet commands thru web Interface

FIRESTORM_v1 firestorm.v1 at gmail.com
Tue Jul 27 11:52:59 CDT 2010

Holy Thread Resurrection Batman!

I don't know if you ever found a way to get what you were looking for
however I wrote a web-based interface for a 3com superstack 2 switch.
The VLAN config was only available in telnet and it was a horrid pain
in the rear end.

I used PHP and Apache, stored the vlan descriptions in a MySQL
database and would query the switch for VLAN port assignment, port
status and link state.

It wasn't "fancy" nor "automatic" however it allowed me to change VLAN
assignments on the fly using a web interface without needing to

If needed, let me know and I can tar up the file and a database dump.
(it's not that complex, all one table.).

The code will probably need a re-write as I replaced the switch a few years ago.


On Mon, May 10, 2010 at 11:00 AM, John Pappas <j at jvpappas.net> wrote:
> On Thu, Apr 1, 2010 at 15:32, twistedpickles <twistedpickles at gmail.com>wrote:
>> I'm familiar with the built in http server on the Cisco switches
>> unfortunately that won't work.
> I am a bit late to this discussion, but I presume that you are ok with a
> stand-alone system as a host for this capability, since it really cannot be
> embedded into the switches themselves.  MindTerm is a Java Applet that can
> be included in HTTP pages, and it would seem that if you use a little elbow
> grease, you could build it in yourself.  A PogoPlug with HTTP server and
> your embedded code would be pretty elegant.
> I am not sure from your discussion whether you are looking to "automate" (ie
> send programmatic commands via this solution) or just have a "Management
> Panel" where the admin can click on the appropo switch and it would spawn an
> SSH interface to that box without any "dedicated" software on the client.
> If you are looking for a "pssh" like solution (ie send the same commands
> simultaneously to multiple switches) then I am not sure the best way to do
> this, or even what commercial solutions do this; but maybe Cisco
> Configuration Manager or SolarWinds perhaps.
> HTH,
> John Pappas
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
> Powered by Rackspace (www.rackspace.com)

More information about the SATLUG mailing list