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

vserver services name-service nis-domain show

Contributors
Suggest changes

Display NIS domain configurations

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

Description

The vserver services name-service nis-domain show command displays information about NIS domain configurations.

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

Use this parameter to display information only about the NIS domain configurations of the Vservers you specify. Use this parameter with the -domain parameter to display information only about a particular NIS domain configuration on the Vserver you specify. A data Vserver or admin Vserver can be specified.

[-domain <nis domain>] - NIS Domain

Use this parameter to display information only about the NIS domain configurations that match the NIS domain name you specify. Use this parameter with the -vserver parameter to display information only about a particular NIS domain configuration on the Vserver you specify.

[-nis-servers <text>,…​] - NIS Servers

Use this parameter to display information only about the NIS domain configurations that use the NIS servers at the hostnames/IP addresses you specify.

[-servers <IP Address>,…​] - (DEPRECATED)-NIS Server
Note This parameter has been deprecated and might be removed in a future version of ONTAP.

Use this parameter to display information only about the NIS domain configurations that use the NIS servers at the IP addresses you specify.

Examples

The following example displays information about all NIS domain configurations:

cluster1::> vserver services name-service nis-domain show
Vserver       Domain        NIS Server
------------- ------------- ------------
vs1           nisdomain     192.0.2.180
vs2           nisdomain     10.0.2.15
vs3           testnisdomain 192.0.2.128, 192.0.2.180
3 entries were displayed.