Skip to main content

vserver export-policy access-cache config show

Contributors
Suggest changes

Display exports access cache configuration

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

Description

The vserver export-policy access-cache config show command displays the timeout attributes related to the exports access cache. The access cache maintains export rules applicable to a client that is accessing the volume or qtree. The command output displays the following timeout parameters and their values for each Vserver:

  • TTL for Positive Entries: This is the TTL for positive entries in the access cache. During client access, if the TTL for the access cache entry that is allowing access has expired, that access cache entry will be refreshed. While the refresh is in progress, client access will be evaluated with the existing information in the access cache entry.

  • TTL for Negative Entries: This is the TTL for negative entries in the access cache. During client access, if the TTL for the access cache entry that is denying access has expired, that access cache entry will be refreshed. While the refresh is in progress, client access will be evaluated with the existing information in the access cache entry.

  • TTL for Entries with Failure: This is the TTL for access cache entries for which a failure was encountered while trying to get matching rules.

  • Harvest Timeout: If Data ONTAP does not use an entry that is stored in the access cache for this period of time, it deletes the entry.

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.

[-vserver <vserver name>] - Vserver

If this parameter is specified, the command displays the timeout values for the specified Vserver.

[-ttl-positive <integer>] - TTL For Positive Entries (Secs)

If this parameter is specified, the command displays the timeout values for Vservers whose ttl-positive matches the provided value.

[-ttl-negative <integer>] - TTL For Negative Entries (Secs)

If this parameter is specified, the command displays the timeout values for Vservers whose ttl-negative matches the provided value.

[-harvest-timeout <integer>] - Harvest Timeout (Secs)

If this parameter is specified, the command displays the timeout values for Vservers whose harvest-timeout matches the provided value.

[-isDnsTTLEnabled {true|false}] - Is Dns TTL Enabled

If this parameter is specified, the command displays the isDnsTTLEnabled value.

Examples

The following command displays the exports access cache timeout values for all Vservers in the cluster:

cluster1::*> vserver export-policy access-cache config show
Vserver  TTL Positive  TTL Negative TTL Failure Harvest Timeout isDnsTTLEnabled
               (secs)        (secs)      (secs)          (secs)
-------- ------------- ------------ ----------- --------------- --------
vs0               300            60           1            3600 false
vs1             36000          3600           5            3600 false
2 entries were displayed.