ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver fpolicy show-enabled

    Display all enabled policies

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

    Description

    The vserver fpolicy show-enabled command displays information about all enabled policies in the Vserver. The command output depends on the parameter or parameters specified with the command. If you do not specify any parameters, the command displays the following information about all FPolicy policies:

    • Vserver name

    • Policy name

    • Priority

    You can specify the -fields parameter to specify which fields of information to display about FPolicy policies.

    You can specify the -instance parameter to display information for all FPolicy policies in a list format.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command only displays the fields that you specify.

    | [-instance ] }

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

    [-vserver <vserver>] - Vserver

    If you specify this parameter, the command displays information only about the FPolicy policies for the specified Vserver.

    [-policy-name <Policy name>] - Policy Name

    If you specify this parameter, the command displays information only about the FPolicy policy that you specify.

    [-priority <text>] - Policy Priority

    If you specify this parameter, the command displays information only about the FPolicy policies with the policy priority that you specify.

    Examples

    The following example displays the information about enabled FPolicy policies on the cluster.

    cluster1::> vserver fpolicy show-enabled
    Vserver                 Policy Name                    Priority
    
    ----------------------- ------------------------------ ----------
    vs1.example.com         pol_native                     native
    vs1.example.com         pol_native2                    native
    vs1.example.com         pol1                           2
    vs1.example.com         pol2                           4
    Top of Page