web-if
This command configures the Web Interfaces table, which lets you define additional Web interfaces (Web and REST), which binds the web interface to a selected Virtual Route Forward (VRF) / IP address, and with additional configuration (e.g., TLS certificate).
Syntax
(config-system)# web
(web)# web-if <Index>
(web-if-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
https-only-val {http-and-https|https-only} |
Defines the protocol required for accessing the management interface. |
http-port |
Defines the device's LAN HTTP port for Web interface access. |
https-port |
Defines the device's LAN HTTPS port for Web interface access. |
network-source |
Defines the alias name that represents the IP address or VRF of the source network interface that is used to bind to the Web interface. |
require-client-certificate {no|yes} |
Enables requirement of client certificates for HTTPS Web interface connections. |
tls-context-name |
Assigns a TLS Context (from the TLS Contexts table) to the management interface. |
Command Mode
Privileged User
Example
This example configures a web interface on IP network interface "ITSP", using TLS certification and HTTPS:
(config-system)# web
(web)# web-if 0 (web-if-0)# network-source ITSP (web-if-0)# tls-context-name ITSP (web-if-0)# https-only-val https-only (web-if-0)# activate