ONTAP 9.15.1 commands

vserver export-policy access-cache show-negative

Display information about the negative access cache entry

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

Description

The vserver export-policy access-cache show-negative command can be used to display the contents of access cache having negative polarity of the specified node for a particular client IP address belonging to an export policy in a Vserver.

The command will display information such as the age, policy name and client IP address of the negative access cache entry.

If you are interested in finding out more details about the access cache then you can use the vserver export-policy access-cache show command.

If the client IP address for which access is denied is not cached in the access cache then the command will display an error message stating that this table is current empty.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

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

[-node {<nodename>|local}] - Node Name

This parameter specifies the node on which you want to examine the access cache entry.Use an exact value. Queries are not supported.

[-vserver <vserver>] - Vserver

This parameter specifies the name of the Vserver on which you want to see the access cache entry. Use an exact value. Queries are not supported.

[-policy <text>] - Export Policy Name

This parameter specifies the name of the export policy that is in effect on the export path that the client is trying to access.Use an exact value. Queries are not supported.

[-client-ip <IP Address>] - Client IP Address

This parameter specifies the IP address of the client whose access cache entry you want to examine.Use an exact value. Queries are not supported.

[-age <[<integer>h][<integer>m][<integer>s]>] - Age of Entry

Selects the access cache entries that match the specified age of the entry. This field describes the age of the access cache entry.

Examples

The following example shows the contents of the access cache entry having negative polarity:

cluster1::*> vserver export-policy access-cache show-negative
     Node: vikash2-vsim1
  Vserver: vs12
Policy Name      IP Address         Age of Entry
-------------    ---------------    ------------
default          1.1.1.1            16s
default          1.1.1.2            17s
default          1.1.1.3            18s
3 entries were displayed.
Top of Page