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

Tracing a MAC address

crothwell
Level 1
Level 1

what is the command to trace the MAC address of a node that is connected on a 4908G?

I know that the MAC address is out of one of the ports but I cant seem to be able to find a command that will tell me which port.

4 Replies 4

lgijssel
Level 9
Level 9

On the 2950 it is: show mac-address-table

the ouput looks like this:

Mac Address Table

------------------------------------------

Vlan Mac Address Type Ports

---- ----------- ---- -----

1 0000.001d.d6fd DYNAMIC Gi0/2

1 0000.0c07.ac00 DYNAMIC Gi0/2

1 0001.e63b.2458 DYNAMIC Gi0/2

1 0002.a569.0011 DYNAMIC Gi0/2

1 0002.a574.cf65 DYNAMIC Gi0/2

1 0002.a575.ddc2 DYNAMIC Gi0/2

I do not know whether this command is available on the 4908 as well.

Cheers

I wish it was but no its not there. Thanks for trying though.

7rbowenii
Level 3
Level 3

The 4908G is not actually a switch. It is, in fact, a gigait router. So, the command would be sh ip arp. This will show you the ip to mac translation on a per interface or sub-interface level. You can use a pipe | to search for your exact mac address. ie: {sh ip arp | include xxxx.xxxx.xxxx} this will search the arp table for the mac you are looking for.

Ive tried this command and it shows the IP address and MAC addresses but only the MAC address of the Gigabit Ports not the MAC address of the node Im looking for.

I know the MAC address of the node Im looking for but need to translate this to an IP address so I can locate the node. Any more suggestions would be great.