Is there a Cisco switch command to find what switch a computer is connected to on a vlan

I want to know if there is a Cisco command I can use on a VTP domain to find what switch a computer is connected too. I work on a network that has many switches and many computers connected to the switches. There is a 6509 that is used as the VTP domain server for all the switches. Vlans are configured on various switches, but all switches are part of the same VTP domain. Spanning-tree root bridge is on the VTP server for all vlan's.

Thank you,
Dave
dsterlingAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Craig BeckCommented:
You can use the show mac address-table command (or show mac-address table on some versions of IOS).  VTP doesn't really come into it - this only pushes VLANs to switches and has nothing to do with actual L2 or L3 functions.

This will show you which port a particular MAC address can be reached on or via.  If you issue the command at your core switch it will show you which port it can see a MAC address on.  If another switch is connected to that port you just SSH to that switch and issue the command again until you find the MAC address.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.