Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How to find hosts connected in a Catlayst Switch

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

5 REPLIES

Re: How to find hosts connected in a Catlayst Switch

switch can find which port a certain host is connected to teh switch by "show cam " on CatOS or "show mac-address-table address ". The commands will tell you which port the host with this mac-address os connected.

New Member

Re: How to find hosts connected in a Catlayst Switch

You also can do a on IOS

show arp | include "ip address of host"

then show mac address-table | include "mac address"

New Member

Re: How to find hosts connected in a Catlayst Switch

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.

New Member

Re: How to find hosts connected in a Catlayst Switch

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

New Member

Re: How to find hosts connected in a Catlayst Switch

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

355
Views
0
Helpful
5
Replies