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

Customized HTTP Interface for Router Management

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

  • Other Network Infrastructure Subjects
2 REPLIES
Silver

Re: Customized HTTP Interface for Router Management

Did you ever get an answer on this??? I've had a similar issue

New Member

Re: Customized HTTP Interface for Router Management

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

Checking for connected users...

User List

$line

ENDOFTEXT

exit(0);

I hope this help.

Andrea.

105
Views
0
Helpful
2
Replies
This widget could not be displayed.