NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

FPolicy event protocol in cDOT

Dong_Chen
2,101 Views

I have a question about the configuration of FPolicy policy event. Both CIFS,NFSv3,NFSv4 need to be screened. When creating event, how can i specify the protocol...

 

a) Seems like I cannot put in multi-parameters in -protocol..

cluster1::*> fpolicy policy event create -vserver svm_win -protocol cifs,nfsv3,nfsv4

(vserver fpolicy policy event create)

Error: "cifs,nfsv3,nfsv4" is an invalid value for field "-protocol <Protocol>"

cluster1::*> fpolicy policy event create -vserver svm_win -protocol cifs|nfsv3|nfsv4
(vserver fpolicy policy event create)

Error: "cifs|nfsv3|nfsv4" is an invalid value for field "-protocol <Protocol>"

cluster1::*>

 

 

b)  If I don't specify -protocol, does it mean no notifications will be generated?

cluster1::vserver fpolicy*> policy event show -instance

 

                     Vserver: svm_win

                       Event: event

                    Protocol: -

             File Operations: -

                     Filters: -

Is Volume Operation Required: false

 

 

c) or the last option is that I need to create 3 fpolicy... one for cifs, one for NFSv3, one for NFSv4..

 

 

0 REPLIES 0
Public