Command Reference HTTP Service Commands
HTTP Service Commands
enable service web-server
Use this command to enable the HTTP service function.
Use the no form of this command to disable the HTTP service function.
enable service web-server [ http | https | all ]
no enable service web-server [ http | https ]
Parameter
Description
Parameter Description
http
Enables the HTTP service.
https
Enables the HTTPS service.
all
Enables both the HTTP service and the HTTPS service.
Defaults
By default, the HTTP service function is disabled.
Command
mode
Global configuration mode.
Usage Guide If run a command ends with the keyword all or without keyword, it indicates enabling both the HTTP
service and the HTTPS service; if run a command ends with keyword http, it indicates enabling the
HTTP service; if run a command ends with keyword https, it indicates enabling the HTTPS service.
Use the command no enable service web-server to disable the corresponding HTTP service.
Configuration
Examples
The following example enables both the HTTP service and the HTTPS service:
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#enable service web-server
Related
Commands
Command Description
show service
Displays the configuration information and
status of system service.
show web-server status
Displays the configuration information and
status of the web service.
Platform
Description
N/A
http web-file update
Use this command to update the Web package.