cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
576
Views
0
Helpful
4
Replies

Search Switches for PC Port

j-metcalf
Level 1
Level 1

Is there a way to determine what switch and port a computer is plugged into on a network without going to each individual switch and issuing a show mac-address-table?

4 Replies 4

duncanm
Level 1
Level 1

If you are running CatOS and CDP you can run L2TRACE.

I'm running IOS. Is there a similar command in IOS?

Not that I know of. Great feature for CatOS....too bad. Maybe someone else has a better way.

jesparksibm
Level 1
Level 1

I could not figure out a way to do that, so I made my own.

I made a batch file that runs a telnet session against all my switches every morning after 90% of my users are logged on. The batch program extracts the MAC table into a flat text file. I then parse the text file so that ports and MACs are associated with the right switches and build a searchable database out of it. Takes some programming and iginuity, but it works flawlessly for me.