Skip to main content

vserver fpolicy show

Display all policies with status

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

Description

The vserver fpolicy show command displays status information about all FPolicy 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
  • Sequence number
  • Status

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 Name>] - Vserver
If you specify this parameter, the command displays information only about the FPolicy policies for the specified Vserver.
[-policy-name <Policy name>] - Policy
If you specify this parameter, the command displays information only about the FPolicy policy that you specify.
[-sequence-number <integer>] - Sequence Number
If you specify this parameter, the command displays information only about the FPolicy policy or policies that use the specified sequence-number.
[-status {on|off}] - Status
If you specify this parameter, the command displays information only about the FPolicy policy or policies that use the specified status.
[-engine <Engine name>] - FPolicy Engine
If you specify this parameter, the command displays information only about the FPolicy policy or policies that use the specified engine.

Examples

The following example displays the information about FPolicy policies on the cluster using the vserver fpolicy show command.

            cluster1::> vserver fpolicy show
Sequence
Vserver Policy Name Number Status Engine
----------------------- -------------------------- -------- --------- ---------
FPolicy cserver_policy - off eng1
vs1.example.com v1p1 - off eng2
vs1.example.com v1p2 - off native
vs1.example.com v1p3 - off native
vs1.example.com cserver_policy - off eng1
vs2.example.com v1p1 3 on native
vs2.example.com v1p2 1 on eng3
vs2.example.com cserver_policy 2 on eng1
8 entries were displayed.