ONTAP 9.13.1 commands

vserver services web show

Display the current configuration of web services

Availability: This command is available to cluster administrators at the admin privilege level.

Description

This command displays the availability of the web services on Vservers. Only the services that are installed on every node in the cluster can be configured on Vservers whose type is not 'node'. Enabled services must include authorization configuration in the vserver services web access command for the services to be externally available.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver

Identifies a Vserver for hosting a specific web service.

[-name <text>] - Service Name

Identifies the name of the web service.

[-type <vserver type>] - Type of Vserver

Identifies the type of Vserver on which the service is hosted.

[-version <text>] - Version of Web Service

Defines the version number of the service in the format of major.minor.patch.

[-description <text>] - Description of Web Service

Provides a short description of the web service.

[-long-description <text>] - Long Description of Web Service

Provides a long description of the web service.

[-requires <requirement>,…​] - Service Requirements

Defines the list of requirements that must be met for the service to be successfully executed. Requirements are defined as a service name, a comparison operator (<⇒), and a version number.

[-default-roles <text>,…​] - Default Authorized Roles

Defines the roles that are automatically granted access to the service in the vserver services web access show configuration.

[-enabled {true|false}] - Enabled

Defines the availability of a service on the Vserver. Disabled services are not accessible through the Vserver’s network interfaces. This parameter’s default value is dependent on the service. In general, services that provide commonly used features are enabled by default.

[-ssl-only {true|false}] - SSL Only

Defines the encryption enforcement policy for a service on the Vserver. Services for which this parameter is set to true support SSL only and cannot be used over unencrypted HTTP. The default for this value is 'false'.

Examples

This example displays the availability of the web services on the Vservers.

cluster1::vserver services web> show
Vserver        Type     Service Name     Description                   Enabled
-------------- -------- ---------------- ----------------------------- -------
cluster1       admin    cem              OBSOLETE                      true
cluster1       admin    ontapi           Remote Administrative API     true
cluster1       admin    portal           Data ONTAP Web Services       true
                                         Portal
n6070-8        node     cem              OBSOLETE                      true
n6070-8        node     ontapi           Remote Administrative API     true
n6070-8        node     portal           Data ONTAP Web Services       true
                                         Portal
n6070-8        node     spi              Service Processor             false
                                         Infrastructure
n6070-8        node     supdiag          Support Diagnostics           true
                                         Support
n6070-9        node     cem              OBSOLETE                      true
n6070-9        node     ontapi           Remote Administrative API     true
n6070-9        node     portal           Data ONTAP Web Services       true
                                         Portal
n6070-9        node     spi              Service Processor             false
                                         Infrastructure
n6070-9        node     supdiag          Support Diagnostics           false
                                         Support
13 entries were displayed.
Top of Page