Reply
Highlighted

Query VLAN from IPAM

LEdwards
Techie
Posts: 8
2300     1

Is there a way to get the vlan that is associated with the network from the rest api and a search in the reporting? I am having some trouble trying to get this query to work. It would be helpful to see this in the repoting as well as query from the API

thanks

Re: Query VLAN from IPAM

Moderator Dave_Signori
Moderator
Posts: 105
2301     1

If you have Network Insight, see the Network Inventory Report.  It includes all networks (subnets) and the VLANs that were discovered on them.

@DaveSignori

Re: Query VLAN from IPAM

LEdwards
Techie
Posts: 8
2301     1

Thanks I do not have network insight so I don't see that  - any other option?

Re: Query VLAN from IPAM

Moderator Dave_Signori
Moderator
Posts: 105
2301     1

Are you manually assigning VLAN values into Extensible Attributes?

@DaveSignori

Re: Query VLAN from IPAM

LEdwards
Techie
Posts: 8
2301     1

yes

Re: Query VLAN from IPAM

Adviser
Posts: 213
2301     1

Here's an example WAPI call to get all network containers with a region equal to EMEA and VLAN equal to 102.  You can substitute in the specific fields and values that you want to search for.  Pay special attention to the format when working with EAs.

 

https://192.168.1.2/wapi/v2.7/networkcontainer?*Region=EMEA&*VLAN=102

 

Re: Query VLAN from IPAM

LEdwards
Techie
Posts: 8
2301     1

ok thank you. Why do I need to specify the EMEA? Can't I just pull every network and the EA of VLAN?

Re: Query VLAN from IPAM

Adviser
Posts: 213
2301     1

You can choose any criteria that you want.  That was simply an example to give you an idea on how to construct your query.

Showing results for 
Search instead for 
Do you mean 

Recommended for You