User's Manual

Table Of Contents
51
Users Manual of GPL-8000
Command Function
Ip http port number Modifies the port number of the http service.
c) Configuring the access passward of the http service
Http uses enable as the access password. You need to set the password enable if you want to perform
authentication for http access. The password enable is set in global configuration mode using the
following command:
Command Function
Enable password {0|7} line
Sets the password enable.
d) Specifying the access control list for the http service
To control the host’s access to http server, you can specify the access control list for http service. To
specify an access control list, use the following command in global configuration mode:
Command Function
ip http access-class STRING Specifies an access control list for the
http service.
4.1.3.2. Examples to http configuration
The following example uses default port (80) as the http service port, and the access address is limited to
192.168.20.0/24:
ip acl configuration:
ip access-list standard http-acl
permit 192.168.20.0 255.255.255.0
global configuration:
ip http access-class http-acl
ip http server