Remove NetBIOS aliases from the NetBIOS alias list

Contributors

If you do not need specific NetBIOS aliases for a CIFS server, you can remove those NetBIOS aliases from the list. You can also remove all NetBIOS aliases from the list.

About this task

You can remove more than one NetBIOS alias by using a comma-delimited list. You can remove all of the NetBIOS aliases on a CIFS server by specifying - as the value for the -netbios-aliases parameter.

Steps
  1. Perform one of the following actions:

    If you want to remove…​ Enter…​

    Specific NetBIOS aliases from the list

    vserver cifs remove-netbios-aliases -vserver _vserver_name_ -netbios-aliases _NetBIOS_alias_,...

    All NetBIOS aliases from the list

    vserver cifs remove-netbios-aliases -vserver vserver_name -netbios-aliases -

    vserver cifs remove-netbios-aliases -vserver vs1 -netbios-aliases alias_1

  2. Verify that the specified NetBIOS aliases were removed: vserver cifs show -vserver vserver_name -display-netbios-aliases

    vserver cifs show -vserver vs1 -display-netbios-aliases

    Vserver: vs1
    
             Server Name: CIFS_SERVER
             NetBIOS Aliases: ALIAS_2, ALIAS_3