11-14-2002 07:29 AM - edited 03-02-2019 02:53 AM
Hi,
I have to customize some of the Web Pages for Router MAnagement. I was looking at SSI to do this, but not sure if this can fulfill my requirement.
What i want to do is basically run a command like,
SHOW USERS
Which returns me a bunch of users in form of a html page. But i need to display each of the user in a combo box. As far as i understand programatically i can do this if i can get an array of users inspite of in an html page and then i can iterate through this array and add in the combo box.
So is this kind of requirement do able with the HTTP Interface. Any idea or sample would be highly appreciated.
TIA
11-20-2002 02:07 PM
Did you ever get an answer on this??? I've had a similar issue
11-21-2002 09:59 AM
I don't understand well what you want.
I use a perl script like this to get a users list and create a page.
You must enable rsh on router.
$line = `rsh 85pdat01 -l MECONIA \"show users all"`;
print <
HTTP/1.0 200 OK
Content-Type: text/html\n
$line
ENDOFTEXT
exit(0);
I hope this help.
Andrea.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide