rmpolicy

Deletes one or more inactive policies.

Read syntax diagramSkip visual syntax diagram
                                        .-------------.
                                        V             |
>>-rmpolicy--+--------+--+---------+--+---policy_name-+-+------><
             +- -?----+  '- -quiet-'  '- - -------------'
             +- -h----+
             '- -help-'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
–quiet
Turns off confirmation messages for this command.
policy_name
Specifies the names of one or more inactive policies to delete.
Specifies that in single-shot command mode you want this command to receive from the input stream (stdin) the names of one or more inactive policies to delete.

Prerequisites

You must have Administrator privileges to use the command.

You must be logged in to the the operating system on engine hosting the master metadata server to run this command.

The policy to be removed should not be an active policy.

Example

Remove a policy The following example removes the policy named test_policy:
sfscli> rmpolicy test_policy
Are you sure you want to delete policy test_policy? [y/n] Y
Policy test_policy removed.

Parent topic: Administrative commands

Related tasks
Changing the rules in a policy
Deleting a policy
Changing the name of a policy

Related reference
catpolicy
lspolicy
mkpolicy
statpolicy
usepolicy

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2