29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using WebView<br />

WebView CLI Commands<br />

WebView CLI Commands<br />

The following configuration options can be performed using the CLI. These configuration options are also<br />

available in WebView; but changing the web server port or secured port may only be done through the<br />

CLI (or SNMP).<br />

Enabling/Disabling WebView<br />

WebView is enabled on the switch by default. If necessary, use the webview server and webview access<br />

commands to enable/disable WebView. For example:<br />

-> webview server enable<br />

-> webview access enable<br />

If web management is disabled, you will not be able to access the switch using WebView. Use the show<br />

webview command to view WebView status.<br />

Changing the HTTP Port<br />

You can change the port using the webview http-port command.<br />

Note. All WebView sessions must be terminated before the switch will accept the command.<br />

For example:<br />

-> webview http-port 20000<br />

To restore an HTTP port to its default value, use the default keyword as shown below:<br />

-> webview http-port default<br />

Enabling/Disabling SSL<br />

Use the webview force-ssl command to enable Force SSL on the switch. For example:<br />

-> webview force-ssl<br />

Changing the HTTPS Port<br />

You can change the port using the webview https-port command.<br />

Note. All WebView sessions must be terminated before the switch accepts the command.<br />

For example:<br />

-> webview https-port 20000<br />

To restore an HTTPS port to its default value, use the default keyword as shown below:<br />

-> webview https-port default<br />

Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014 page 8-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!