02-22-2006 11:08 AM - edited 03-03-2019 01:57 AM
Hello,
I have a LAN made of Cisco Catalysts. I would like to find the hosts connected to specific ports in a switch.
basically I would like to know, which hosts are connected in my switch and in what port
02-22-2006 11:15 AM
switch can find which port a certain host is connected to teh switch by "show cam
02-22-2006 01:21 PM
You also can do a on IOS
show arp | include "ip address of host"
then show mac address-table | include "mac address"
02-22-2006 02:56 PM
Hello,
Thanks for the response. The problem I am facing is, I have a cluster of 40 switches and finding the mac-address and IP address of the system would involve me to go to an individual host find the IP address and then go to the main gigabit switch, get the mac- address and run sh mac mac-address-table on each switch to find out where it is connected.
Is there a tool or a command that would just let me know, which ports are active on a switch and which hosts are connected to those ports.
02-22-2006 05:27 PM
Hi Saravanan,
If your switch is configured with a management IP, you can telnet the switch from your place and can apply the above said commands.
Hope this should help you
Rajesh Krishnamurthy
02-22-2006 07:20 PM
Solarwinds makes a nice software toolset for various things. One of the tools is call "switchport mapper". It uses snmp to query your layer 2 switch for its mac addresses and your layer 3 device (switch or router) to match up the macs to IP and make a list. Then it does a dns lookup and lists the name next to the IP and port. You have to do it by vlan, but it's a very nice tool. You can the info manually of course, but this tool is slick.
the format is kind of funny. public@25 would querry the snmp name of public for all vlan 25 ports.
R Duke
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: