HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Configuration - Page 60

Logging in to the Web interface, Configuring HTTP login

Page 60 highlights

Logging in to the Web interface The device provides a built-in Web server for you to configure the device through a Web browser. Web login is by default disabled. To enable Web login, log in via the console port, and perform the following configuration tasks: • Enable HTTP or HTTPS service. • Configure the IP address of a Layer 3 interface, and make sure the interface and the configuration terminal can reach each other. • Configure a local user account for Web login. The device supports HTTP 1.0 and HTTPS for transferring webpage data across the Internet. HTTPS uses SSL to encrypt data between the client and the server for data integrity and security, and is more secure than HTTP. You can define a certificate attribute-based access control policy to allow only legal clients to access the device. HTTP login and HTTPS login are separate login methods. To use HTTPS login, you do not need to configure HTTP login. Table 17 shows the basic Web login configuration requirements. Table 17 Basic web login configuration requirements Object Device Requirements Configure an IP address for a Layer 3 interface. Configuring routes to make sure the interface and the PC can reach each other. Perform either or both of the following tasks: • Configuring HTTP login • Configuring HTTPS login Install a Web browser. PC Obtain the IP address of the device's Layer 3 interface. Configuring HTTP login Step 1. Enter system view. 2. Enable the HTTP service. Command system-view ip http enable 3. Configure the HTTP service port number. ip http port port-number 54 Remarks N/A By default, HTTP service is enabled. Optional. The default HTTP service port is 80. If you execute the command multiple times, the last one takes effect.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135

54
Logging in to the Web interface
The device provides a built-in Web server for you to configure the device through a Web browser. Web
login is by default disabled.
To enable Web login, log in via the console port, and perform the following configuration tasks:
Enable HTTP or HTTPS service.
Configure the IP address of a Layer 3 interface, and make sure the interface and the configuration
terminal can reach each other.
Configure a local user account for Web login.
The device supports HTTP 1.0 and HTTPS for transferring webpage data across the Internet.
HTTPS uses SSL to encrypt data between the client and the server for data integrity and security, and is
more secure than HTTP. You can define a certificate attribute-based access control policy to allow only
legal clients to access the device.
HTTP login and HTTPS login are separate login methods. To use HTTPS login, you do not need to
configure HTTP login.
Table 17 shows the basic Web login configuration requirements.
Table 17
Basic web login configuration requirements
Object
Requirements
Device
Configure an IP address for a Layer 3 interface.
Configuring routes to make sure the interface and the PC can reach each other.
Perform either or both of the following tasks:
Configuring HTTP login
Configuring HTTPS login
PC
Install a Web browser.
Obtain the IP address of the device's Layer 3 interface.
Configuring HTTP login
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the HTTP service.
ip http enable
By default, HTTP service is
enabled.
3.
Configure the HTTP service
port number.
ip http port
port-number
Optional.
The default HTTP service port is 80.
If you execute the command
multiple times, the last one takes
effect.