Index  |  Top  -  Up Data ONTAP 8.2

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 antivirus service to off.
cluster1::> system services manager policy setstate -service antivirus -version 1.0 -state off

See Also

system services manager policy show  
Index  |  Top  -  Up Data ONTAP 8.2

Copyright © 1994-2013 NetApp, Inc. Legal Information