Skip to main content

Commands for managing SMB servers

Contributors netapp-ahibbard netapp-thomi netapp-aherbin

You need to know the commands for creating, displaying, modifying, stopping, starting, and deleting SMB servers. There are also commands to reset and rediscover servers, change or reset machine account passwords, schedule changes for machine account passwords, and add or remove NetBIOS aliases.

If you want to…​

Use this command…​

Create an SMB server

vserver cifs create

Display information about an SMB server

vserver cifs show

Modify an SMB server

vserver cifs modify

Move an SMB server to another domain

vserver cifs modify

Stop an SMB server

vserver cifs stop

Start an SMB server

vserver cifs start

Delete an SMB server

vserver cifs delete

Reset and rediscover servers for the SMB server

vserver cifs domain discovered-servers reset-servers

Change the SMB server's machine account password

vserver cifs domain password change

Reset the SMB server's machine account password

vserver cifs domain password change

Schedule automatic password changes for the SMB server's machine account

vserver cifs domain password schedule modify

Add NetBIOS aliases for the SMB server

vserver cifs add-netbios-aliases

Remove NetBIOS aliases for the SMB server

vserver cifs remove-netbios-aliases

See the man page for each command for more information.