Command Line (CLI) Reference > CLI Commands > Web UI / Web Proxy

CLI: Web UI and Web Proxy

You can use the web command to configure the web user interface (Web UI).

Configuring web UI 

web {auto-logout|logout|console|http|httpd|https|proxy|enable}

To enable or disable the Web UI:

[no] web enable

To configure the length of user inactivity before auto-logout (in seconds):

web auto-logout <time>

To configure HTTP access to the Web UI:

web http {enable|port|redirect|restrict}

To configure HTTPS access to the Web UI:

https {enable|certificate|customssl|port|restrict}

To configure a custom SSL certificate:

https customssl {enable|certificate|generate csr country <country> state <state> location <location> organization <org> hostname <hostname>|privatekey}

To configure renewal and timeout session settings:

web session {renewal <number-of-minutes>|timeout <number-of-minutes>}

To enable or disable deflate compression encoding:

[no] web httpd compression

To enable or disable Web interface restrictions:

[no] web httpd listen {enable|interface <interface>}

To restrict the listen interface for the Web UI. The configured interface should be statically configured (DHCP disabled).

web httpd listen interface <interface>

Configuring web proxy

web proxy {host|proxy}

Configure the web proxy host address and port:

web proxy host <hostname or IP address> [port <port>]

To configure the type of proxy authentication:

web proxy auth authtype {none|basic}

Configure the username and password for basic authentication:

web proxy auth basic {password|username}

Viewing web settings

To show Web UI configuration and running state:

show web