1-2Follow these steps to enable the HTTP service:To do… Use the command… RemarksEnter system view system-view —Enable the HTTP service ip http enable RequiredEnabled by default.Configuring the Port Number of the HTTP ServiceConfiguration of the port number of the HTTP service can reduce the attacks from illegal users on theHTTP service.Follow these steps to configure the port number of the HTTP service:To do… Use the command… RemarksEnter system view system-view —Configure the port number of theHTTP service ip http port port-numberRequiredBy default, the port number of theHTTP service is 80.If you execute the ip http port command for multiple times, the last configured port number is used.Associating the HTTP Service with an ACLBy associating the HTTP service with an ACL, only the clients that pass ACL filtering are allowed toaccess the device.Follow these steps to associate the HTTP service with an ACL:To do… Use the command… RemarksEnters system view system-view —Associate the HTTP service withan ACL ip http acl acl-numberRequiredThe HTTP service is notassociated with an ACL by default.z If you execute the ip http acl command for multiple times to associate the HTTP with differentACLs, the HTTP service is only associated with the last specified ACL.z For the detailed introduction to ACL, refer to ACL Configuration in the Security Volume.