|
|
A web portal for the dial NMS is a combination of CGI scripts and HTML links used to support a dial Internet access service.
As the number of devices and applications in a network increase, the operations support team may become inundated with a myriad of management products. To support a dial service, a web portal provides easy access to:
![]() |
Tips For more information on building a management intranet, go to http://www.cisco.com/warp/public/cc/serv/mkt/nmps/ent/tech/bmi_wi.htm |
Utility | Function |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Device Linker Used to Access Devices
By using a Cisco terminal server for out-of-band console access, such as a Cisco 2511, the consoles are available at TCP port 20xx on a terminal server. The target line number replaces xx. For example to get to line 1, telnet to port 2001. The equivalent URL is telnet://172.21.101.250:2001
To build a device linker web page, follow these steps:
Step 2 Collect the device console out-of-band (OOB) paths for the terminal server and the lines connected to Cisco IOS devices.
Step 3 Create a basic HTML table and enter the information for each device. The telnet and HTTP information is in bold in the following HTML code fragment. Step 4 shows what the table looks like in a web browser.
<html>
<head>
<title>Dial The.Net Device Linker</title>
</head>
<body>
<h2>Dial The.Net Device Linker</h2>
<table border="1">
<tr>
<td>Name</td>
<td>IP</td>
<td>Console</td>
<td>Hardware Type</td>
<td>Comments</td>
</tr>
<tr>
<td><a href="http://172.21.10.1">travis-nas-01</a></td>
<td><a href="telnet://172.21.10.1">172.21.10.1</a></td>
<td><a href="telnet://172.21.101.250:2001">travis-oob-01:2001</a></td>
<td>5800</td>
<td>Dial POP #1</td>
</tr>
</table>
</body>
</html>
Function | Formula | Example |
|---|---|---|
|
|
|
|
|
|
|
Step 4 Post the device linker web page to a WWW server in the NOC.
A Device Linker Management Page
Step 5 Click on an active device link. After a telnet session opens, log in.
Console Port Login
If you cannot access the console of a device, follow these steps:
! line 1 16 no exec transport input telnet !
Step 2 If the console port is blocked, you may need to telnet to the terminal server and clear the line. Enter the show users EXEC command followed by the clear line type number command.
c2511-oob#show users
Line User Host(s) Idle Location
0 con 0 admin idle
4 tty 4 admin incoming 0 dhcp-172-71-218-198.guessme.com
* 10 vty 0 admin incoming 0 dhcp-172-71-218-198.guessme.com
c2511-oob#clear line tty 4
[confirm]
[OK]
c2511-oob#show users
Line User Host(s) Idle Location
0 con 0 admin idle
* 10 vty 0 admin incoming 0 dhcp-172-71-218-198.guessme.com
Step 3 (Optional) Sometimes administrators inadvertently leave lines in use. To make idle telnet sessions end after 30 minutes, enter the exec-timeout 30 0 command on all the lines.
! line 1 16 no exec exec-timeout 30 0 transport input telnet !
Using web-based access to the CLI reduces the need for telnet sessions to monitor or verify network operations. Telnet sessions can be reserved for actions such as making configuration changes. Additionally, sending syslog to a syslog server prevents telnet sessions from becoming cluttered with debug output.
HTTP access to the CLI is:
The Cisco IOS CLI Command Center is a web page utility that provides HTTP access to CLI commands on a router. HTTP access to the CLI simplifies the troubleshooting tasks for a help desk.
To manage a dial Internet access service by using HTTP access to CLI commands, follow these steps:
! ip http server ip http authentication aaa !
Command | Purpose |
|---|---|
ip http server |
|
ip http authentication aaa |
|
Step 2 Create a table in an HTML web page and enter your list of frequently used Cisco IOS CLI commands.
![]() |
Note To create the link for a CLI command, specify the IP address of the Cisco IOS device followed by the command. Remember to include the forward slashes (/) between each command mode and key word. |
Formula | Example |
|---|---|
The web page can include many types of commands useful for managing a dial Internet access service, including:
| ||
|---|---|---|
|
| |
|
|
| |
|---|---|---|
|
| |
| ||
|---|---|---|
|
|
|
|
|
|
|
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Step 3 Post the HTML page that you created in Step 2 to a web server.
Cisco IOS CLI Commander
For the source code that created the Cisco IOS CLI Commander in Figure 22, go to http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/dialnms/httpcli.txt
Step 4 Click on a CLI command and view the command output in a web page.
Output for the Show Caller Command
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Fri Sep 29 08:34:00 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.