I would take a look at the report in this topic: https://www.lansweeper.com/forum/yaf_postst9860_All-switches-and-the-assets-connected-to-them.aspx#post38286
I added some criteria to the report from that post so you can enter the name of the switch and the port names you want to see. You can replace MySwitch below with the name of your switch and the highlighted numbers with the port range you want to see.
Select Distinct Top 1000000 tsysAssetTypes.AssetTypeIcon10 As icon, tblAssets.AssetID, tblAssets.AssetName, tsysAssetTypes.AssetTypename As AssetType, tblAssets.IPAddress, tblAssets.Firstseen, tblAssets.Lastseen, tblSNMPInfo.IfIndex As Interface, tblSNMPInfo.IfDescription As Name, tblSNMPIfTypes.IfTypename As Type, tblSNMPInfo.IfAdminstatus As Admin, tblSNMPInfo.IfMTU As MTU, Ceiling(tblSNMPInfo.IfSpeed / 1000 / 1000) As Speed, tblSNMPInfo.IfIPAddress As IP, tblSNMPInfo.IfMask As Mask, tblSNMPInfo.IfMacaddress As MAC, tblAssets1.AssetName As Asset From tblAssets Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype Inner Join tblSNMPInfo On tblAssets.AssetID = tblSNMPInfo.AssetID Inner Join tblSNMPIfTypes On tblSNMPIfTypes.IfType = tblSNMPInfo.IfType Left Join tblSNMPAssetMac On tblSNMPAssetMac.AssetID = tblSNMPInfo.AssetID And tblSNMPAssetMac.IfIndex = tblSNMPInfo.IfIndex Left Join tblAssetMacAddress On tblAssetMacAddress.Mac = tblSNMPAssetMac.AssetMacAddress Left Join tblAssets tblAssets1 On tblAssets1.AssetID = tblAssetMacAddress.AssetID Where tblAssets.AssetName = 'MySwitch' And tsysAssetTypes.AssetTypename = 'switch' And tblSNMPInfo.IfIndex Between 0 And 649 Order By tblAssets.AssetName, Interface
Reports & Analytics
Ask about reports you're interested in and share reports you've created. Subscribe to receive daily updates of reports shared in the Community.