Skip to main content

vserver cifs remove-netbios-aliases

Contributors
Suggest changes

Remove NetBIOS aliases

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

Description

The `vserver cifs remove-netbios-aliases` command deletes NetBIOS aliases for the CIFS server.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the name of the Vserver from which the list of NetBIOS aliases are deleted.

-netbios-aliases <NetBIOS>,…​ - List of NetBIOS Aliases

This parameter specifies one or more NetBIOS aliases to be deleted. To delete all the NetBIOS aliases of a Vserver use '-'.

Examples

The following example deletes NetBIOS aliases for the CIFS server CIFS_SERVER on Vserver vs_a.

cluster1::> cifs show -display-netbios-aliases

Vserver: vs_a
Server Name: CIFS_SERVER
  NetBIOS Aliases: ALIAS_1, ALIAS_2, ALIAS_3, ALIAS_4,
                   ALIAS_5, ALIAS_6, ALIAS_7

cluster1::> cifs remove-netbios-aliases -netbios-aliases alias_1,alias_3,alias_5

cluster1::> cifs show -display-netbios-aliases

Vserver: vs_a
Server Name: CIFS_SERVER
  NetBIOS Aliases: ALIAS_2, ALIAS_4, ALIAS_6, ALIAS_7

cluster1::> cifs remove-netbios-aliases -netbios-aliases alias_7

cluster1::> cifs show -display-netbios-aliases

Vserver: vs_a
Server Name: CIFS_SERVER
  NetBIOS Aliases: ALIAS_2, ALIAS_4, ALIAS_6

cluster1::> cifs remove-netbios-aliases -netbios-aliases -

cluster1::> cifs show -display-netbios-aliases

Vserver: vs_a
Server Name: CIFS_SERVER
  NetBIOS Aliases: -