ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services name-service cache hosts settings show

    Display Hosts Cache Configuration

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

    Description

    The vserver services name-service cache hosts settings show command displays information about the hosts cache configuration of the specified Vserver.

    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 ] }

    Use this parameter to display detailed information about the hosts cache configuration settings.

    [-vserver <vserver name>] - Vserver

    Use this parameter to display information about the hosts cache configuration settings for the Vserver you specify.

    [-is-enabled {true|false}] - Is Cache Enabled?

    Use this parameter to display information only about the hosts cache configuration settings that have the specified cache enabled setting. Value true displays only the entries that have cache enabled and value false displays only the entries that have cache disabled.

    [-is-negative-cache-enabled {true|false}] - Is Negative Cache Enabled?

    Use this parameter to display information only about the hosts cache configuration settings that have the specified negative cache enabled setting. Value true displays only the entries that have negative cache enabled and value false displays only the entries that have negative cache disabled.

    [-ttl <[<integer>h][<integer>m][<integer>s]>] - Time to Live

    Use this parameter to display information only about the hosts cache configuration settings that have the specified Time to Live.

    [-negative-ttl <[<integer>h][<integer>m][<integer>s]>] - Negative Time to Live

    Use this parameter to display information only about the hosts cache configuration setings that have the specified negative Time to Live.

    [-is-dns-ttl-enabled {true|false}] - Is TTL Taken from DNS

    Specifies whether TTL is based on the DNS or host settings.

    Examples

    The following example shows the hosts cache configuration settings for Vserver vs0:

    cluster1::> vserver services name-service cache hosts settings show -vserver vs0

    The following example shows the hosts cache configuration settings that have cache disabled:

    cluster1::> vserver services name-service cache hosts settings show -is-enabled false
    Top of Page