HTTP service commands
HTTP service mode provides the commands to create or modify an HTTP service.
To enter the mode, use the global httpserv command. To delete an HTTP service, use the no httpserv command.
While in this mode, use the commands in the following to define the HTTP service.
- To view the current configuration, use the show command.
- To restore default values, use the reset command.
- To exit this configuration mode without saving changes to the running configuration, use the cancel command.
- To exit this configuration mode and save changes to the running configuration, use the exit command.
| Command | Purpose |
|---|---|
| acl | This command associates an ACL with the HTTP Service. |
| admin-state | This command sets the administrative state for the configuration. |
| identifier | This command specifies the contents of the Server
response header field. |
| local-address | This command identifies the local address and port that the HTTP Service monitors for requests. |
| local-directory | This command specifies the directory from which the HTTP Service serves documents. |
| mode | This command specifies the operational mode of the HTTP Service. |
| port | This command specifies the local port that the HTTP Service monitors for incoming traffic. |
| priority | This command sets the service-level priority for the HTTP Service. |
| start-page | This command specifies the file to load when a client first accesses the HTTP Service. |
| summary | This command specifies the brief, descriptive summary for the object instance. |