NetApp Data ONTAP 7-Mode CLI Commands [Old Device]
| Operation | Command | Complement |
|---|---|---|
| cifs enable / cifs disable | cifs enable cifs disable | |
| Displays/modifies the CIFS exports. | cifs shares | |
| Displays current configuration and current connections. | cifs sessions | |
| Restarts CIFS or reactivates CIFS service for a single volume | cifs restart cifs terminate -t 0 | |
| create a new share | cifs shares -add data1 /vol/vol1/data1 | |
| Deleting existing shares | cifs shares -delete data2 | |
| Modifies share-level Access Control List (ACL) entries. | cifs access data2 user2 rx | |
| Display Domain Infomation | cifs domaininfo |
toaster> cifs shares
Name Mount Point Description
---- ----------- -----------
HOME /vol/vol0/home Default Share
everyone / Full Control
C$ /vol/vol0 Remote Administration
BUILTIN\Administrators / Full Control
ENGR /vol/vol0/engr Engineering
Machine Account access disabled
DOMAIN\Engineering / Full Control
ENGRSW /vol/vol0/engr-sw Software Engineering
Machine Account access disabled
DOMAIN\Engineering / Full Control
ENGRHW /vol/vol0/engr-hw Hardware Engineering
Machine Account access disabled
DOMAIN\Engineering / Full Control
NEWS /vol/vol0/news News
DOMAIN\Guests / No Access
everyone / Read