I'm trying to create a smartset that has the following logic:
1) Hubs = False
2) Routers = False
3) Switches = True
AND NOT
4) Vendor = "cisco Systems"
Can someone give me the correct syntax for using input into "smartsetutil"
to create this rule?
I have everything except the "AND NOT" part. This appears to be wrong.
Another question... is there any place where the smartsetutil (logic)
keywords
are defined?
Thank you.
Gary Boyles, Intel
-------------------------------------------Script Begins Here
----------------------------------------
smartsetutil a "Bad_Switches" "Bad_Switches" "(\"isHub\" = \"FALSE\") AND
(\"isRouter\" = \"FALSE\") AND ("\isSwitch\" = \"TRUE\") AND NOT (\"vendor\"
= \"cisco Systems\")"
-------------------------------------------Script Ends Here
----------------------------------------
::
|