Configuration Guide Configuring HTTP Service
Networking Topology
Figure 1-6 HTTP service application topology
Configuration Tips
The following configuration tips are provided to meet the above-mentioned requirements:
Use a username to configure the database information to use the local database's identity for authentication.
Enable both the HTTP and HTTPS services to meet the security requirement.
Configure the HTTP service port number as 8080; and the HTTPS service port number as 4430.
Configuration Steps
1) Configure the local database's identity information. The username is admin and the plaintext password is ruijie with
an authority level of 15.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#username admin password ruijie
Ruijie(config)#username admin privilege 15
2) Enable the HTTP and HTTPS services.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#enable service web-server
3) Configure the HTTP service authentication mode as local.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#ip http authentication local
4) Configure the HTTP service port as 8080.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#ip http port 8080