Displaying and maintaining Web login
Task | Command | Remarks | |
Display information about Web display web users [ { begin exclude | Available in any view. | ||
users. | include } | ||
| |||
|
|
| |
Display HTTP state information. | display ip http [ { begin exclude | Available in any view. | |
include } | |||
|
| ||
|
|
| |
Display HTTPS state | display ip https [ { begin exclude | Available in any view. | |
information. | include } | ||
| |||
|
|
|
HTTP login configuration example
Network requirements
As shown in Figure 47, configure the firewall to allow the PC to log in over the IP network by using HTTP.
Figure 47 Network diagram
Configuration procedure
1.Configure the firewall:
# Assign the IP address 192.168.0.58/24 to interface GigabitEthernet 0/0.
[Firewall] interface gigabitethernet 0/0
#Add interface GigabitEthernet 0/0 to zone Management. (By default, interface GigabitEthernet 0/0 belongs to zone Management. To use another interface (GigabitEthernet 0/1 in the following example) to log in to the device, perform the following configuration:
[Firewall] zone name management
#Create a local user named admin and set the password to admin. Authorize the user to use the Web service and set the command level to 3.
[Firewall]
# Enable the HTTP service. (Optional. Required when the HTTP service is disabled.)
[Sysname] ip http enable
57