ONTAP 9.13.1 commands

vserver cifs add-netbios-aliases

Add NetBIOS aliases for the CIFS server name

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

Description

The `vserver cifs add-netbios-aliases` command creates or adds a list of NetBIOS aliases for the CIFS server name.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the name of the Vserver for which NetBIOS alias are to be created or added.

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

This parameter specifies one or more NetBIOS aliases to be added to an existing list of NetBIOS aliases. A new list of NetBIOS aliases is created if the list is currently empty.

Examples

The following example creates a new list of NetBIOS aliases for Vserver vs_a.

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

Vserver: vs_a
Server Name: CIFS_SERVER
  NetBIOS Aliases: -

cluster1::> cifs add-netbios-aliases -netbios-aliases alias_1,alias_2,alias_3

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

Vserver: vs_a
Server Name: CIFS_SERVER
  NetBIOS Aliases: ALIAS_1, ALIAS_2, ALIAS_3

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

cluster1::> cifs add-netbios-aliases -netbios-aliases alias_4,alias_5,alias_6

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

cluster1::> vserver cifs add-netbios-aliases -vserver v1 -netbios-aliases alias_7

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
Top of Page