Skip to main content
A newer release of this product is available.

vserver services name-service cache netgroups ip-to-netgroup show

Contributors
Suggest changes

Display netgroup.byhost cache entries

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

Description

The vserver services name-service cache netgroups ip-to-netgroup show command displays the cached client IP to netgroup entries.

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 cached client IP to netgroup entries.

[-vserver <vserver name>] - Vserver (privilege: advanced)

Use this parameter to specify the Vserver for which the cached client IP to netgroup entries need to be displayed.

[-host <text>] - Host field (privilege: advanced)

Use this parameter to display information only about the cached IP to netgroup entries that have the specified IP address.

[-netgrp <text>] - Netgroup field (privilege: advanced)

Use this parameter to display information only about the cached IP to netgroup entries that have the specifed netgroup.

[-create-time <MM/DD/YYYY HH:MM:SS>] - Create Time (privilege: advanced)

Use this parameter to display information only about the IP to netgroup entries that were cached at the specified time.

[-source {none|files|dns|nis|ldap|netgrp_byname}] - Source of the Entry (privilege: advanced)

Use this parameter to display information only about the cached IP to netgroup entries that have the specified look-up source.

Examples

The following example displays all the cached IP to netgroup entries:

cluster1::> vserver services name-service cache netgroups ip-to-netgroup show

The following example deletes all the cached IP to netgroup entries for Vserver vs0:

cluster1::> vserver services name-service cache netgroups ip-to-netgroup show -vserver vs0