ip_in_vlan
Check if an IP address belongs to a specified VLAN using a provided VLAN map; if no match, it returns a best-guess VLAN for triage.
Instructions
Check if an IP belongs to a VLAN (1 subnet per VLAN) using a provided VLAN map.
If it does NOT match, this tool will attempt a best-guess VLAN match to help Tier 1/2 triage.
Example vlan_map: {"20": {"cidr": "10.10.20.0/24", "name": "Voice"}, "50": "10.10.50.0/24"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| vlan_id | Yes | ||
| vlan_map | Yes |