ONTAP 9.15.1 commands

system services manager policy setstate

Enable/disable a service policy

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

Description

The system services manager policy setstate command enables or disables services manager policies. Use the system services manager policy show command to display information about configured policies.

Parameters

-service <text> - Service

Use this parameter to set the state of the policy you specify.

-version <service version> - Version

Use this parameter to set the state of the policy with the version number you specify.

-state {on|off} - State

Use this parameter with the value "on" to enable the policy. Use this parameter with the value "off" to disable the policy.

Examples

The following example sets the policy for version 1.0 of the diagnosis service to off.

cluster1::> system services manager policy setstate -service diagnosis -version 1.0 -state off
Top of Page