You need to issue two commands to make it on and off again.Second approach is correct as per my understanding.  You can issue symmask with  a fake wwn to check your port flag functionality and then --  symmaskdb -sid XXXX -wwn XXXXX -dir XX -port XX list db -v
All: I need to set FA Port Flag Bit Overrides:  1. I need to set on D, SC3, SPC-2  2. I need to set off (disable) “V”.   I have 2 questions:  1. Are “symmask set hba_flags “additive”?  i.e. – can I set D and SC3 today and only set SPC-2 tomorrow, and will D, SC3 and SPC-2 all be set when I’m done, or will the 2nd “set” command wipe out the 1st?   2. Can I on and off, enable and disable in one command, or do I need 2 commands.                   a. One command:                                 # symmask –sid 4294 –wwn 2100001b32006fad –dir 7b –p 1 set hba_flags on D, SC3, SPC-2 –enable off V –disable                 b. Two commands:                                      # symmask –sid 4294 –wwn 2100001b32006fad –dir 7b –p 1 set hba_flags on D, SC3, SPC-2 –enable off V –disable                                     # symmask –sid 4294 –wwn 2100001b32006fad –dir 7b –p 1 set hba_flags off V –disable   You can't change these flags on the fly - it messes up the server.  You have to shut down the server, make the change and bring the server back up. Can I test by making a "dummy" "symmask" command that sets flag bits for a "dummy" WWN?  You make "fake" symmask commands with fake WWNs...             Stuart
Is DMX "symmask set hba_flags" "additive"?