User guide

Using WebView WebView CLI Commands
OmniSwitch AOS Release 7 Switch Management Guide March 2015 page 9-3
WebView CLI Commands
The following configuration options can be performed using the CLI. These configuration options are also
available in WebView; but changing the web server port or secured port may only be done through the
CLI (or SNMP).
Enabling/Disabling WebView
WebView is enabled on the switch by default. If necessary, use the webview server and webview access
commands to enable/disable WebView. For example:
-> webview server enable
-> webview access enable
If web management is disabled, you will not be able to access the switch using WebView. Use the show
webview command to view WebView status.
Changing the HTTP Port
You can change the port using the webview http-port command.
Note. All WebView sessions must be terminated before the switch will accept the command.
For example:
-> webview http-port 20000
To restore an HTTP port to its default value, use the default keyword as shown below:
-> webview http-port default
Enabling/Disabling SSL
Use the webview force-ssl command to enable Force SSL on the switch. For example:
-> webview force-ssl
Changing the HTTPS Port
You can change the port using the webview https-port command.
Note. All WebView sessions must be terminated before the switch accepts the command.
For example:
-> webview https-port 20000
To restore an HTTPS port to its default value, use the default keyword as shown below:
-> webview https-port default