2-741
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
traceroute mac ip
This feature is not supported in Token Ring VLANs.
Examples
This example shows how to display the Layer 2 path by specifying the source and destination IP
addresses and by using the
detail
keyword:
Switch#
traceroute mac ip 172.18.18.3 172.18.18.4 detail
Translating IP to mac .....
172.18.18.3 => 0002.b3d3.bb2a
172.18.18.4 => 0002.b3d3.bb29
Source 0002.b3d3.bb2a found on ip28-3750a[ME-C3750-24TE] (172.18.18.2)
1 ip28-3750a / ME-C3750-24TE / 172.18.18.2 :
Gi1/0/1 [auto, auto] => Gi1/1/1 [auto, 1000M]
Destination 0002.b3d3.bb29 found on ip28-3750a[ME-C3750-24TE] (172.18.18.2)
Layer2 trace completed.
This example shows how to display the Layer 2 path by specifying the source and destination hostnames:
Switch#
traceroute mac ip con6 con2
Translating IP to mac .....
2.2.66.66 => 0000.0201.0601
2.2.22.22 => 0000.0201.0201
Source 0000.0201.0601 found on con6
con6 (2.2.6.6) :Gi1/0/1 => Gi1/0/2
con5 (2.2.5.5 ) : Gi1/0/2 => Gi0/1
con1 (2.2.1.1 ) : Gi0/0/1 => Gi0/2
con2 (2.2.2.2 ) : Gi0/0/2 => Fa0/1
Destination 0000.0201.0201 found on con2
Layer 2 trace completed
This example shows the Layer 2 path when ARP cannot associate the source IP address with the
corresponding MAC address:
Switch#
traceroute mac ip 2.2.66.66 2.2.77.77
Arp failed for destination 2.2.77.77.
Layer2 trace aborted.
Related Commands
Command
Description
Displays the Layer 2 path taken by the packets from the specified source MAC
address to the specified destination MAC address.