Table 10 Basic Web login configuration requirements

 

 

Object

Requirements

 

Assign an IP address to an interface.

 

Configure routes to make sure the interface and the PC can reach each other.

Device

Perform either or both of the following tasks:

 

Configuring HTTP login

 

Configuring HTTPS login

 

 

PC

Install a Web browser.

Obtain the IP address of the device's interface.

 

 

 

 

Configuring HTTP login

Step

 

Command

Remarks

 

 

 

Optional.

1.

Specify a fixed verification

 

By default, a Web user must enter

web captcha verification-code

the verification code indicated on

 

code for Web login.

the login page to log in.

 

 

 

 

 

This command is available in user

 

 

 

view.

 

 

 

 

2.

Enter system view.

system-view

N/A

 

 

 

 

3.

Enable the HTTP service.

ip http enable

By default, HTTP service is

enabled.

 

 

 

 

 

 

 

 

 

 

Optional.

4.

Configure the HTTP service

 

The default HTTP service port is 80.

ip http port port-number

 

 

port number.

If you execute the command

 

 

 

 

 

multiple times, the last one takes

 

 

 

effect.

 

 

 

 

 

 

 

Optional.

 

 

 

By default, the HTTP service is not

5.

Associate the HTTP service

 

associated with any ACL.

ip http acl acl-number

 

 

with an ACL.

Associating the HTTP service with

 

 

 

 

 

an ACL enables the device to allow

 

 

 

only clients permitted by the ACL to

 

 

 

access the device.

 

 

 

 

6.

Set the Web connection

web idle-timeout minutes

Optional.

 

timeout time.

 

 

 

 

 

 

 

7.

Set the size of the buffer for

web logbuffer size pieces

Optional.

 

Web login logging.

 

 

 

 

 

 

 

8.

Create a local user and enter

local-user user-name

By default, a local user named

 

local user view.

admin exists.

 

 

 

 

 

 

9.

Configure a password for the

 

By default, the password for

password { cipher simple }

system-predefined user admin is

 

local user.

password

admin, and no password is set for

any other local user.

53