Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
210
web httpd
web httpd listen {enable | interface <ifName> }
no web httpd listen {enable | interface <ifName> }
Enables the listen interface restricted list for HTTP and HTTPS.
The no form of the command disables the HTTP server listen ability.
Syntax Description enable Enables Web interface restrictions on access to this sys-
tem.
interface <ifName> Adds interface to Web server access restriction list (i.e.
mgmt0, mgmt1)
Default Listening is enabled.
all interfaces are permitted.
Modes/Context Config
History 3.1.0000
Role admin
Example
switch (config) # web httpd 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) #
Related Commands N/A
Note If enabled, and if at least one of the interfaces listed is eligible to be a listen interface,
then HTTP/HTTPS requests will only be accepted on those interfaces. Otherwise,
HTTP/HTTPS requests are accepted on any interface.