Subscribe

FPolicy event protocol in cDOT

[ Edited ]

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..