CLI Reference Guide HTTP Service Configuration Commands
HTTP Service Configuration Commands
enable service web-server
Use this command to enable the HTTP service function. Use the no form of the command to disable
the HTTP service function.
enable service web-server [ http | https | all ]
no enable service web-server [ http | https ]
Enables both HTTP and HTTPS service.
HTTP service function is disabled by default.
Global configuration mode
If the command is followed by no key work or is followed by all, the HTTP and HTTPS services are
both enabled; if the command is followed by http, only HTTP service is enabled; if the command is
followed by https, only HTTPS service is enabled.
Use no enable service web-server to disable the HTTP service.
The following example enables both HTTP and HTTPS service functions.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#enable service web-server
Shows the system's current service status.
Shows the web server status.
Check information about files that can be upgraded in the HTTP server.