ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • 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