Configuration Guide Configuring HTTP Service
If the user chooses the local mode, the username and password should be set with the local username command.
No matter which mode is adopted, the authentication password has an authority level of 15.
Configuration examples:
The following example configures using local model for Web page authentication on a Ruijie device.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# ip http authentication local
Configuration examples:
The following example configures using username admin, plaintext password ruijie and authority level 1 for Web
authentication.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# webmaster level 1 username admin password ruijie
Configuring HTTP Service Port
Configuring the port number can reduce illegal users' attack on the HTTP service. Ruijie's devices support HTTP and
HTTPS services.
Configuring HTTP port number
Configuration examples:
The following example configures the HTTP service port of the device Ruijie as 8080.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# ip http port 8080
Configuring HTTPS port number
Configuration examples:
The following example configures the HTTPS service port of the device Ruijie as 4430.
Ruijie# configure terminal