Cisco Catalyst 3560-X Command Reference Manual page 946

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

traceroute mac ip
Examples
Related Commands
Catalyst 3750-X and 3560-X Switch Command Reference
2-914
Downloaded from
www.Manualslib.com
The Layer 2 traceroute feature is not supported when multiple devices are attached to one port through
hubs (for example, multiple CDP neighbors are detected on a port). When more than one CDP neighbor
is detected on a port, the Layer 2 path is not identified, and an error message appears.
This feature is not supported in Token Ring VLANs.
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 2.2.66.66 2.2.22.22 detail
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[WS-C2950G-24-EI] (2.2.6.6)
con6 / WS-C3750E-24TD / 2.2.6.6 :
Gi0/0/1 [auto, auto] => Gi0/0/3 [auto, auto]
con5 / WS-C2950G-24-EI / 2.2.5.5 :
Fa0/3 [auto, auto] => Gi0/1 [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.
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) :Gi0/0/1 => Gi0/0/3
con5
(2.2.5.5
con1
(2.2.1.1
con2
(2.2.2.2
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.
Command
Description
traceroute mac
Displays the Layer 2 path taken by the packets from the specified source MAC
address to the specified destination MAC address.
manuals search engine
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
)
:
Gi0/0/3 => Gi0/1
)
:
Gi0/0/1 => Gi0/2
)
:
Gi0/0/2 => Fa0/1
OL-21522-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents