Hi,
I need to Mask all traffic coming from specific iSCSI or specific protocol type , Can any one advice how to create a rule by transport type ?
I tried the below but not working,:
/var/log # esxcli storage core claimrule list
Rule Class Rule Class Type Plugin Matches
---------- ----- ------- --------- --------- ----------------------------------------
MP 0 runtime transport NMP transport=usb
MP 1 runtime transport NMP transport=sata
MP 2 runtime transport NMP transport=ide
MP 3 runtime transport NMP transport=block
MP 4 runtime transport NMP transport=unknown
MP 101 runtime vendor MASK_PATH vendor=DELL model=Universal Xport
MP 101 file vendor MASK_PATH vendor=DELL model=Universal Xport
MP 200 runtime location MASK_PATH adapter=vmhba33 channel=0 target=0 lun=0
MP 200 file location MASK_PATH adapter=vmhba33 channel=0 target=0 lun=0
MP 65535 runtime vendor NMP vendor=* model=*
/var/log #
/var/log # esxcli storage core claimrule add --rule 380 -P NMP -t target -R iscsi --iqn iqn.1998-01.com.vmware:esx02-48f816e4 --lun 1
/var/log # esxcli storage core claimrule add --rule 390 -P NMP -t target -R iscsi --iqn iqn.1998-01.com.vmware:esx02-48f816e4 --lun 2
/var/log #
/var/log # esxcli storage core claimrule load
/var/log # esxcli storage core claimrule run