HTTP Configuration directory

This chapter explains how to configure  http in router.

Enable http service

Change http service port number

Configure http service access password

Appoint access control list for http service

Access and use web client interface

Execute command with web console interface

This chapter explains how to configure router http.

 

Enable http service

Default http service is closed.

use the following command  under global configuration mode will enable http service :

step

command

function

1

Ip http server

Enable http  service

 

Change http service port number

Default http service monitor port is 80.

Use the following command under global configuration mode to change http service port number:

 

Step

Command

Function

1

Ip http port number

Change http service port number

 

Configure http service access password

http uses enable password as an access password. To authenticate http access, you must configure enable password. Use the following commands under global configuration mode to configure enable password:

 

Step

Command

Function

1

Enable password {0|7} LINE

Configure enable password

 

Appoint access control list for http service

To control the access from host to http service, users may appoint access control list to http service. Use the following command under global configurtion mode to appoint access control list to http service.

step

command

function

1

ip http access-class STRING

Appoint access control list  for http service

 

Access and use web client interface

This section explains how to access web client interface and how to execute commands with web interface.

Preparation before access

Step1: make sure the version of  the browser on the pc is 5.0 or above.if "Web console"is used ,you must install Java2 v1.4.1 plug.(you can get the plug  from http://java.sun.com/products/plugin/index.htmlor from my compony). 

Step2:make sure a directory named html exists in router root. If not, establish the directory.

Step3: copy the documents offered by network management team to the html directory in router. These files include: WEBR.jar, jh.jar, homepage.html, default.html, not_supported.html, and Redirect.class.

Step 4: enable http service under configuration mode in the router. Specific commands is : ip http server. For details about configuration, refer to http configuration command directory.

Access router homepage

Follow the steps below to access router homepage.

Step 1: enter http://router ip address/ in the url window of web browser.

Step 2: if the router is configured with enable password, the browser will prompt to input password. Fill in enable password and press enter (user name is not necessary).

The browser will display router homepage then.

1

Link to Homepage

web console

Click on the Web Console. Enter into waitting interface. When the system configuration (such as IE 5.0 or later, JAVA 1.3 or later) meets system requirements, system enters EMS (Equipment Management System) client interface after setup. For detail, refer to Execute commands with web console interface.

telnet

Click the link to enable system default telnet client tools. Request for telnet service on No. 23 tcp port.

Show interface

Click the link to output the result of executing the command—“show interface. For detail, refer to Execute command with web browser.

Monitor the Router

Click the link to display command interface under privilege mode. Click the following hyperlink to enter the corresponding command input interface under supervisor mode. For detail, refer to Execute command with web browser.

 

Connectivity test

Click the link, the router will execute “ping 255.255.255.255” and display the executable result.

Help resource

The following hyperlink is the homepage of D-Link company.

 

Execute command with web browser user interface

 

On the router homepage, click the hyperlink with title number is 0 to 15 and enter the corresponding privilege configuration mode. There is a command area on the page. Users may input command following the instructions on the command line. The page also display command list hyperlink. By clicking the hyperlink to execute corresponding command.

2

Input command with hyperlink

 

To input command with hyperlink, scroll the screen to find the command hypertext and click the hypertext you want. If the hypertext is a complete command, command will be executed. If the command requires more parameters, it will display another hyperlink table. Click on the command link on the second hyperlink table.

 

If the command input is to display some information such as show arp command,  web browser windows will display output information.

 

If the command input requires a “variable”, it will display a table for you to input “variable”.


 Use command area to enter command

 

input command with command area is similar to input command with terminal. Use the syntax described in command index to input commands. To know items under a certain command, users may enter ? to inquire.

For example, enter show  ? under command area. The parameter list of “show” command is displayed. The parameters are displayed by hyperlink. To enter these parameters, you can click on the hyperlinks or input commands and parameters in the command area.

 

Enter commands with url window

 

Users may execute commands with url window of web browser.

 

Executing command with url window should use the following syntax:

 

http://router_ip/-/[enter/level/][command-mode/][command]

 

Parameter

description

Router_ip

Ip address of the router

enter/level

(optional)Privilege for accessing

mode

(optional)The mode under which the command is executed, such as config. If not specified in url, the default is supervisor mode.

command

(optional)the command needed to be executed.

Use / to replace the space in the command line syntax. If command is not specified in url, it will display a hyperlink list table page including all possible command under current mode.

 

For example, to execute show arp privilege mode command in router with ip address is 192.168.20.96, users need to enter the following character string in url window:

http://192.168.20.96/-/show/arp

After executing the command, web browser will display the arp cache list on the router.

 

The difference between entering command in url window and command area is that the former uses / to replace space in the command syntax.

 

 

Execute command with web console interface

 

Preparation before access

 make sure the pc running browser has  installed  Java2 v1.4.1 plug.(you can get the plug  from http://java.sun.com/products/plugin/index.htmlor from my compony).

Client interface

 

When you use EMS, you may see the following components on the client main interface.

 

l        Menu bar (1): On the upper side of the main interface.It contains basic operations.

l         Tree-form function area (2) and Window configuration area (3),they are in the center of the main interface. the Tree-form function area is on the left side and Window configuration area is on the right side. The Window configuration area display function configuration form (figure 5). Tree-form function area (2) has many different functions. When you click on a node, the Window configuration area (3) displays the corresponding function configuration form.and the bottom of Window configuration area (3) displays the currently active form.

In EMS, configuration task are working in function configuration form.

l         Status column (4): In the bottom of the main interface and the bottom of function configuration menu(5). When you select a node on the tree, the bottom of the main interface will prompt “selected: ####” ;When you click on the node to enable function configuration form, the bottom of the configuration form will prompt “processing, please wait…”, When the form finishes enable, the status column will prompt “done”,which means the form can be configured then..

l         Function configuration form (5): When buttons and other components are in gray color, they are disabled. The button “OK” is used to accept the current configuration and close the window. “Close” is used to cancel the current configuration and close the window. “Help” is used to display related use help. “Refresh” is used to display the latest data. “Apply” is used to make the configuration work while keeping the form unchanged. When you make wrong configurations, the system will prompt accordingly. Shown as follows (the figure is prompt window of different interface style).

  .

 

 

Function configuration example

Configure expanded access list

1.      Click on the ACL node on the Function tree and ACL window will display. The access list of current router will display in the configuration page.

2.       Modify an item in the access list: “Extended IP access list [random]”. Select and click the “Modify” button.  “Modify ACL” window displays.

3.       Click “” or “” button to adjust the order in “random” members, modify members. Select “permit ip any any”, enters “Extended IP” sub-window.

4.       Modify attribute area based on needs, such as set the sender’s address to “192.168.33.1”, the sender mask to“255.255.255.0”.

5.       Click the “OK” button under the window to accept modifications. Click “Cancel” to cancel modifications.

 

 

Configure authentication server group in AAA

1.      Click node “AAA > Server” on the function tree. “Server pool” displays the current radius server list. “Shared info” is the shared attribute of radius server.

2.       Modify the item“192.168.3.7” in the list. Select the item and click the button “Group” and “Server group” sub-window displays. The selected group member are displayed under “Server group”.

3.       Select server group based on needs. Such as select server group type to “radius”, select server group name to“peal”.

4.       Click the “OK” button under the window to accept modifications. Click “Cancel” to cancel modifications.

 

Save configuration

If you want to retain the current configuration next time you boot up, click click the item on the menu:  Configuration > Save Configuration.

 

Exit

Close the brower or click the item on the menu: Configuration > Exit.