Configuration Guide Configuring HTTP Service
Configuring HTTP verification information
"Optional"; users can configure it when necessary to alter
the authentication mode.
Configuring HTTP service port
"Optional"; users can configure it when necessary to alter
the HTTP service port.
Configuring HTTP upgrade server
"Optional"; users can configure it when necessary to specify
the server address.
Configuring HTTP upgrade mode
"Optional"; users can configure it when necessary to alter
the upgrade mode.
Configuring HTTP upgrade auto detect time
"Optional"; users can configure it when necessary to alter
the auto detect time.
Enabling HTTP service
The HTTP service includes the ordinary HTTP and HTTPS service. The HTTPS adds SLL based on the HTTP protocol to
improve the safety of information.
Please use the following commands in configuration mode to enable the HTTP service.
Ruijie# configure terminal
Enters global configuration mode.
Ruijie(config)#enable service web-server http
"Required"; enables the ordinary HTTP service.
Ruijie(config)#enable service web-server https
"Required"; enables the HTTPS service.
Ruijie(config)#enable service web-server [all]
"Required"; enables both HTTP and HTTPS services.
Configuration examples:
The following example enables the HTTP and HTTPS services on a Ruijie device.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# enable service web-server
Configuring HTTP Authentication Information
To use the HTTP service, users need to pass the login authentication to enter the Web page. Ruijie provides two
authentication setting methods.
Method 1: using ip http authentication command
Ruijie# configure terminal
Enters global configuration mode.
Ruijie(config)#ip http authentication { enable | local }
"Optional"; configures the login authentication mode. The
default authentication mode is enable.
If the user chooses the enable mode, the username is null and password should be set with the enable password or
enable secret command.