find_vlan_for_ip
Identifies the VLAN subnet for a given IP address using a provided VLAN map. Returns matching VLAN IDs and subnet details.
Instructions
Find which VLAN subnet(s) match an IP in a provided VLAN map.
Tier 1 "hero tool":
"What VLAN does this IP belong to?"
Example vlan_map: {"10": "192.168.10.0/24", "20": {"cidr": "192.168.20.0/24", "name": "Voice"}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| vlan_map | Yes |