Configuring The Port Number Of The Http Service; Associating The Http Service With An Acl - H3C S5810 Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5810 Series:
Table of Contents

Advertisement

Follow these steps to enable the HTTP service:
To do...
Enter system view
Enable the HTTP service

Configuring the Port Number of the HTTP Service

Configuration of the port number of the HTTP service can reduce the attacks from illegal users on the
HTTP service.
Follow these steps to configure the port number of the HTTP service:
To do...
Enter system view
Configure the port number of
the HTTP service
If you execute the ip http port command for multiple times, the last configured port number is used.

Associating the HTTP Service with an ACL

By associating the HTTP service with an ACL, only the clients that pass ACL filtering are allowed to
access the device.
Follow these steps to associate the HTTP service with an ACL:
To do...
Enters system view
Associate the HTTP service
with an ACL
Use the command...
system-view
ip http enable
Use the command...
system-view
ip http port port-number
Use the command...
system-view
ip http acl acl-number
1-2
Remarks
Required
Enabled by default.
Remarks
Required
By default, the port number of
the HTTP service is 80.
Remarks
Required
The HTTP service is not
associated with an ACL by
default.

Advertisement

Table of Contents
loading

Table of Contents