API Search regex for integer extensible attribute

Posts: 1
510     0

Hi guys,


i am trying to get a list of all networks that have VLAN ID to determine which VLAN ID would be next. However I am not able to build a valid regex with an integer.


A normal query for a VLAN gives me this output, so you can see the structure:



  <value type="object">
    <comment>some network</comment>
    <extattrs type="object">
       <tag0 name="VLAN ID" type="object">
         <value type="int">1</value>
There are many networks that doen have a VLAN ID. So I just want to query all networks which have one.
I tried:
and some other things but nothing works.
Is there any regex to get the wanted result from the api?
Further note:
If I do not use a = symbol the api will interprete it as part of the name the ea has. 
{ "Error": "AdmConProtoError: Unknown extensible attribute: VLAN ID>0", 
  "code": "Client.Ibap.Proto", 
  "text": "Unknown extensible attribute: VLAN ID>0"
Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin