given ip-address i need the vlan thruWAPI

How can i get the Vlan from a given IP-Address with a wapi call ?

I did not found an example

Answers

  • You would need to have the NI (Discovery) enabled then you can make a WAPI call to get the discovery data for the VLAN. It would be under the "discoverydata" in the WAPI call and you would get the port_vlan_description/name/number and the vlan_port_group.