Configuring HTTP
Before you begin
You must log in as a user with admin privileges to configure HTTP.
Procedure
Command or Action | Purpose | |
---|---|---|
Step 1 |
Server# scope http |
Enters HTTP command mode. |
Step 2 |
Server /http # set enabled {yes | no} |
Enables or disables HTTP and HTTPS service on the CIMC. |
Step 3 |
Server /http # set http-port number |
Sets the port to use for HTTP communication. The default is 80. |
Step 4 |
Server /http # set https-port number |
Sets the port to use for HTTPS communication. The default is 443. |
Step 5 |
Server /http # set timeout seconds |
Sets the number of seconds to wait between HTTP requests before the CIMC times out and terminates the session. Enter an integer between 60 and 10,800. The default is 1,800 seconds. |
Step 6 |
Server /http # commit |
Commits the transaction to the system configuration. |
Example
This example configures HTTP for the CIMC:
Server#
Server# scope http
Server /http # set http-enabled yes
Server /http *# set http-port 80
Server /http *# set http-redirect yes
Server /http *# set https-enabled yes
Server /http *# set https-port 443
Server /http *# set timeout 1800
Server /http *# commit
Server /http # show
HTTP Port HTTPS Port Timeout Active Sessions HTTPS Enabled HTTP Redirected HTTP Enabled
---------- ---------- -------- --------------- ------------- ---------------- ----------------
80 443 1800 0 yes yes yes
Server /http #