Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

To make a long story short, I have some newer off-brand switches in just a few locations. The main feature I'm missing on these switches vs our nicer (but old) 3Com equipment is the ability to trace a mac address down to a specific port in the address tables. The off-brand switches do support snmp. Can someone recommend a good (and cheap/free) software tool (probably snmp-based) that will allow me to trace a mac address down to a specific switch port?

share|improve this question
    
make/model please? –  Chopper3 Nov 15 '10 at 22:34
    
There's 3 different model switches - one netgear, one dlink, and one (sigh) tplink. I'm hoping for something generic that pulls the info via snmp. –  Joel Coel Nov 15 '10 at 23:02
    
What do you mean by "off-brand"? –  John Gardeniers Nov 16 '10 at 2:25
    
I mean a brand that's traditionally more consumer focused rather than top-tier enterprise like cisco or 3com/hp. –  Joel Coel Nov 16 '10 at 3:32
1  
That 3Com feature was very good; CPU by port is a lifesaver sometimes too.. –  Tim Williscroft Nov 16 '10 at 4:44

3 Answers 3

Are there cli tools? You could do something like (I know it's cisco, bear with me):

switch>ping 192.168.101.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.101.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

Then search the arp for the IP:

switch>show arp | include 101.1
Internet  192.168.101.12         37   0020.6b61.a83d  ARPA   Vlan101
Internet  192.168.101.1           -   001d.09fd.71c0  ARPA   Vlan101

Now that you know the MAC address, search the mac address table:

switch>show mac-address-table | include 71c0
*    1  000d.662f.71c0    static  No           -   Router
*   10  001d.09fd.71c0   dynamic  Yes         20   Gi2/43

Voila! Port 43 on the second internal switch.

share|improve this answer

I have no idea whether or not Netdisco supports your devices, but that's the tool I've turned to in the past for keeping track of the physical location of MAC addresses on my networks.

share|improve this answer

I agree with him, you need to find the mac address first, and look for it ini your 3Com switch.

I have 3Com SuperStack III 4200 series, you need to login to your switch, and use these command: bridge --> addressDatabase --> summary to display all mac address on your switch.

share|improve this answer
1  
I can do that on the 3Coms... this question about how to do it on the non-3Com switches that don't have that feature. –  Joel Coel Nov 16 '10 at 13:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.