ONTAP 9.15.1 commands

vserver services name-service nis-domain modify

Modify a NIS domain configuration

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

Description

Use the vserver services name-service nis-domain modify command to modify the NIS server of a NIS domain configuration.

To change the NIS domain, delete the NIS configuration using the vserver services name-service nis-domain delete command and then create the NIS configuration with new NIS domain using the vserver services name-service nis-domain create command. To permanently remove a configuration, use the vserver services name-service nis-domain delete command.

Parameters

-vserver <Vserver Name> - Vserver

Use this parameter to specify the Vserver whose NIS domain configuration is modified. A data Vserver or admin Vserver can be specified.

-domain <nis domain> - NIS Domain

Use this parameter to specify the NIS domain whose configuration is modified.

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

Use this parameter to specify the hostnames/IP addresses of NIS servers used by the the NIS domain configuration. Separate multiple hostnames/IP addresses with commas.

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

Use this parameter to specify the IP addresses of NIS servers used by the the NIS domain configuration. Separate multiple IP addresses with commas.

Examples

The following example modifies the NIS servers of a NIS domain named nisdomain on a Vserver named vs0:

cluster1::> vserver services name-service nis-domain modify -vserver vs0 -domain nisdomain -nis-servers 192.0.2.180
Top of Page