Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
214
web proxy auth
web proxy auth {authtype <type>| basic [password <password> | username
<username>]}
no web proxy auth {authtype | basic {password | username }
Configures authentication settings for web proxy authentication.
The no form of the command resets the attributes to their default values.
Syntax Description type Configures the type of authentication to use with web
proxy.
The possible values are:
• basic - HTTP basic authentication
• none - No authentication
basic Configures HTTP basic authentication settings for
proxy. The password is accepted and stored in plaintext.
password A password used for HTTP basic authentication with
the web proxy.
username A username used for HTTP basic authentication with
the web proxy.
Default Web proxy is disabled.
Modes/Context Config
History 3.1.0000
Role admin
Example
switch (config) # web proxy auth authtype basic
switch (config) # web proxy auth basic username web-user
switch (config) # web proxy auth basic password web-password
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.11
Proxy port: 40
Authentication type: basic
Basic auth username: web-user
Basic auth password: web-password
switch (config) #