NetApp: How to wipe clean the cifs setup configuration

Sometimes you need to completely wipe the “cifs setup” configuration. For example, I’m currently writing some documentation and need a clean cifs setup to start from scratch.


cylon> cifs terminate
cylon> priv set advanced
cylon*> mv /etc/cifsconfig_setup.cfg /etc/cifsconfig_setup.cfg.bak
cylon*> priv set
cylon> cifs restart
CIFS not configured. Use "cifs setup" to configure
cylon> cifs setup

I found the steps via a search on NetApp’s forums. Here’s the thread for more background: How to Remove CIFS from a Filer?

User aborzenkov‘s post has the answer I was looking for 🙂