httpserv
This command enters HTTP Service mode.
Syntax
httpserv name
no httpserv name
Parameters
- name
- Specifies the name of the configuration. The name cannot be only one or more periods. The name
can contain a maximum of 128 alphanumeric characters and the following special characters:
. - _
Guidelines
The httpserv command to create an HTTP Service that can serve documents from other local storage areas and can add optional features, such as user authentication.
While in HTTP Service mode, you must use the local-address and local-directory commands to complete server configuration. Optionally, you can use the authentication, mode, and start-page commands to provide enhanced server functions.
Use the no httpserv command to delete an HTTP Service.
Examples
- Create the
Serv-1HTTP Service.# httpserv Serv-1 HTTP Server mode # - Create the
Serv-2HTTP Service on the specified interface.# httpserv Serv-2 192.168.1.200 64000 Installed HTTP server on port 64000 # - Delete the
Serv-2HTTP server.# no httpserv Serv-2 #