Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch

Rev 1.6.2
Mellanox Technologies
208
web http
web http {enable | port <port number> | redirect}
no web http {enable | port | redirect}
Configures HTTP access to the web-based management console.
The no form of the command negates HTTP settings for the web-based management
console.
Syntax Description enable Enables HTTP access to the web-based management
console.
port number Sets a port for HTTP access.
redirect Enables redirection to HTTPS. If HTTP access is
enabled, this specifies whether a redirect from the
HTTP port to the HTTPS port should be issued to man-
date secure HTTPS access.
Default HTTP is enabled
HTTP TCP port is 80
HTTP redirect to HTTPS is disabled
Modes/Context Config
History 3.1.0000
Role admin
Example
switch (config) # web http enable
switch (config) # show web
Web-based management console enabled: yes
HTTP enabled: yes
HTTP port: 80
HTTP redirect to HTTPS: no
HTTPS enabled: yes
HTTPS port: 443
Listen enabled: yes
No Listen Interfaces.
Inactivity timeout: 1 hr
Session timeout: 2 hr 30 min
Session renewal: 30 min
Web proxy enabled: yes
Proxy address: 10.10.10.10
Proxy port: 1080
Authentication type: basic
Basic auth username: web-user
Basic auth password: web-password
switch (config) #