ONTAP 9.17.1 commands ( CA08871-226en )

vserver export-policy access-cache config modify-all-vservers

Modify exports access cache configuration for all Vservers

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

Description

The vserver export-policy access-cache config modify-all-vservers command modifies access cache timeout values for all Vservers. Modifying these values from any node updates the values on all the nodes in the cluster. The modified values persist across reboots.

Parameters

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

This parameter specifies the duration after which positive access cache entries will be refreshed when the client accesses.

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

This parameter specifies the duration after which negative access cache entries will be refreshed when the client accesses.

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

This parameter specifies the time period after which ONTAP deletes unused entries in the access cache.

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

This parameter specifies the dns TTL is enabled or not.

Examples

The following command sets the positive TTL value to 36000 seconds, the negative TTL value to 3600 seconds.

cluster1::*> vserver export-policy access-cache config modify-all-vservers -ttl-positive 36000 -ttl-negative 3600 -harvest-timeout 43200 -isDnsTTLEnabled false

cluster1::*> vserver export-policy access-cache config show-all-vservers
     TTL For Positive Entries (secs): 36000
     TTL For Negative Entries (secs): 3600
              Harvest Timeout (secs): 43200
                  Is Dns TTL Enabled: false
Top of Page