ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services name-service nis-domain create

    Create a NIS domain configuration

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

    Description

    The vserver services name-service nis-domain create command creates a configuration for an NIS domain. You can configure only one NIS domain for a given Vserver. You can also configure more than one Vserver with the same NIS domain.

    Parameters

    -vserver <Vserver Name> - Vserver

    Use this parameter to specify the Vserver on which the NIS domain configuration is created. A data Vserver or admin Vserver can be specified.

    -domain <nis domain> - NIS Domain

    Use this parameter to specify the NIS domain for which a configuration is created. Maximum Supported NIS Domain length: 64 characters.

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

    Use this parameter to specify the hostnames/IP addresses of NIS servers used by 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 NIS domain configuration. Separate multiple IP addresses with commas.

    Examples

    The following example creates an NIS domain configuration on the Vserver named vs0. The NIS domain is named nisdomain and uses an NIS server with the IP address 192.0.2.180.

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