09-30-2012 11:53 AM - edited 03-07-2019 09:12 AM
Hi everybody
I am reading about the command " traceroute mac SRC-MAC-ADD DESTI-MAC-ADDRESS ". Unfortunately, my book did not give any example and google search did not yield any good example.
I will appreciate if someone could give me an example.
thanks and have a nice weekend.
Solved! Go to Solution.
09-30-2012 12:07 PM
Hi,
Regards.
Alain
Don't forget to rate helpful posts.
09-30-2012 12:30 PM
hello Sarah,
you can use # traceroute mac 0001.0000.0204 0001.0000.0304 detail
# traceroute mac 0000.0011.1111 0000.0201.0201 (not able to find the address)
Error:Source Mac address not found.
Layer2 trace aborted.
please check this link for detail information.
http://www.ciscozine.com/2011/01/12/how-to-trace-mac-address/
hope this will help.
thanks
09-30-2012 10:33 PM
Find the corresponding Mac address of the host for which you are trying to locate
==================================================================================
Core#ping 10.242.3.18
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.242.3.18, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Core#show arp | include 10.242.3.18
Internet 10.242.3.18 9 0001.6c4d.c0f7 ARPA Vlan3
Please find the example which you have requested.
==================================================
Core#traceroute mac 0001.6c4d.c0f7 0001.6c4d.c0f7 vlan 3
Source 0001.6c4d.c0f7 found on Accessswitch
Accessswitch(10.242.0.6) : Fa3/58 => Fa3/58
Destination 0001.6c4d.c0f7 found on Accessswitch
Layer 2 trace completed
10-01-2012 11:49 AM
Hi Sarah,
you can use detail keyword for more information,
Switch# traceroute mac 0000.0201.0501 0000.0201.0201 detail
Source not directly connected, tracing source .....
Source 0000.0201.0501 found on con5[WS-C2960-12T] (2.2.5.5)
con5 / WS-C2960-12T / 2.2.5.5 :
Gi0/1 [auto, auto] => Gi0/3 [auto, auto]
con1 / WS-C3550-12G / 2.2.1.1 :
Gi0/1 [auto, auto] => Gi0/2 [auto, auto]
con2 / WS-C3550-24 / 2.2.2.2 :
Gi0/2 [auto, auto] => Fa0/1 [auto, auto]
Destination 0000.0201.0201 found on con2[WS-C3550-24] (2.2.2.2)
Layer 2 trace completed.
thanks
09-30-2012 12:07 PM
Hi,
Regards.
Alain
Don't forget to rate helpful posts.
09-30-2012 12:30 PM
hello Sarah,
you can use # traceroute mac 0001.0000.0204 0001.0000.0304 detail
# traceroute mac 0000.0011.1111 0000.0201.0201 (not able to find the address)
Error:Source Mac address not found.
Layer2 trace aborted.
please check this link for detail information.
http://www.ciscozine.com/2011/01/12/how-to-trace-mac-address/
hope this will help.
thanks
10-01-2012 07:28 AM
Please consider the followingt example:
h1------f1/1----sw1--trunk---f1/2-Sw2--trunk--f1/3-Sw3--f1/4---h2
|
trunk
|
f1/4
sw4
h1--> mac1
h2--->mac2
We issue the command at sw4 as shown below:
traceroute mac MAC1 MAC2
what would be the output?
Will we get:
mac1 is found on sw1
sw1(1.1.1.1) f1/1
sw2(2.2.2.2) f1/2
sw3(3.3.3.3) f1/3
sw4(4.4.4.4) f1/4
destination mac2 found on sw3
Or will we get:
mac1 is found on sw1
sw1(1.1.1.1) f1/1
sw2(2.2.2.2) f1/2
sw3(3.3.3.3) f1/3
destination mac2 found on sw3.
thanks and have a great day.
10-01-2012 11:49 AM
Hi Sarah,
you can use detail keyword for more information,
Switch# traceroute mac 0000.0201.0501 0000.0201.0201 detail
Source not directly connected, tracing source .....
Source 0000.0201.0501 found on con5[WS-C2960-12T] (2.2.5.5)
con5 / WS-C2960-12T / 2.2.5.5 :
Gi0/1 [auto, auto] => Gi0/3 [auto, auto]
con1 / WS-C3550-12G / 2.2.1.1 :
Gi0/1 [auto, auto] => Gi0/2 [auto, auto]
con2 / WS-C3550-24 / 2.2.2.2 :
Gi0/2 [auto, auto] => Fa0/1 [auto, auto]
Destination 0000.0201.0201 found on con2[WS-C3550-24] (2.2.2.2)
Layer 2 trace completed.
thanks
09-30-2012 10:33 PM
Find the corresponding Mac address of the host for which you are trying to locate
==================================================================================
Core#ping 10.242.3.18
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.242.3.18, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Core#show arp | include 10.242.3.18
Internet 10.242.3.18 9 0001.6c4d.c0f7 ARPA Vlan3
Please find the example which you have requested.
==================================================
Core#traceroute mac 0001.6c4d.c0f7 0001.6c4d.c0f7 vlan 3
Source 0001.6c4d.c0f7 found on Accessswitch
Accessswitch(10.242.0.6) : Fa3/58 => Fa3/58
Destination 0001.6c4d.c0f7 found on Accessswitch
Layer 2 trace completed
10-01-2012 04:46 PM
Thanks Singh.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide