ONTAP 9.13.1 commands

vserver services name-service ns-switch delete

Remove a Name Service Switch table entry

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

Description

Use the ` vserver services name-service ns-switch delete ` command to permanently remove an existing name service switch entry.

Parameters

-vserver <vserver name> - Vserver

Vserver Use this parameter to specify the Vserver for which to delete the name service switch entry.

-database {hosts|group|passwd|netgroup|namemap} - Name Service Switch Database

Name Service Switch Database Use this parameter to specify the name service database, of the Vserver, for which the name service switch entry is to be deleted. Following are the possible values for this parameter:

  • hosts

  • group

  • passwd

  • netgroup

  • name_map

Examples

The following example deletes the name service switch entry for the hosts database on a Vserver named vs0.

cluster1::> vserver services name-service ns-switch delete -vserver vs0 -database hosts.

The following example deletes the name service switch entry for the group database on a Vserver named vs1.

cluster1::> vserver services name-service ns-switch delete -vserver vs1 -database group.
Top of Page