Need help with SWQL script to display all the Cisco switches VLAN 512 interface IP and its subnet mask. I used the below script but that just displays only few of the switches in the report
SELECT
ncm.NodeCaption AS [Hostname],
ncm.Vendor AS [Vendor],
ncm.DeviceType AS [Device Type],
i.InterfaceName AS [Interface],
i.VlanID AS [VLAN ID],
i.InterfaceAlias AS [Description],
ip.IPAddress AS [IP Address],
ip.SubnetMask AS [SubnetMask]
FROM
NCM.Interfaces AS i
JOIN
NCM.IPAddresses AS ip ON i.InterfaceID = ip.InterfaceID
JOIN
NCM.Nodes AS ncm ON i.NodeID = ncm.NodeID
WHERE
i.InterfaceName LIKE 'Vlan512'
AND ncm.Vendor = 'Cisco'
AND ncm.DeviceType = 'Switch'