Specifications
2-334
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
traceroute mac ip
traceroute mac ip
Use the traceroute mac privileged EXEC command to display the Layer 2 path taken by the packets
from the specified source IP address or hostname to the specified destination IP address or hostname.
tracetroute mac ip {source-ip-address | source-hostname} {destination-ip-address |
destination-hostname} [detail]
Syntax Description
Defaults There is no default.
Command Modes Privileged EXEC
Command History
Usage Guidelines The Layer 2 traceroute feature is available on these switches:
• Catalyst 2950 switches running Release 12.1(12c)EA1 or later
• Catalyst 2955 switches running Release 12.1(12c)EA1 or later
• Catalyst 3550 switches running Release 12.1(12c)EA1 or later
• Catalyst 4000 switches running Catalyst software Release 6.2 or later for the supervisor engine
• Catalyst 5000 switches running Catalyst software Release 6.1 or later for the supervisor engine
• Catalyst 6000 switches running Catalyst software Release 6.1 or later for the supervisor engine
For Layer 2 traceroute to functional properly, Cisco Discovery Protocol (CDP) must be enabled on all
the switches in the network. Do not disable CDP.
When the switch detects an device in the Layer 2 path that does not support Layer 2 traceroute, the switch
continues to send Layer 2 trace queries and lets them time out.
The maximum number of hops identified in the path is ten.
source-ip-address Specify the IP address of the source switch as a 32-bit quantity in
dotted-decimal format.
source-hostname Specify the IP hostname of the source switch.
destination-ip-address Specify the IP address of the destination switch as a 32-bit quantity in
dotted-decimal format.
destination-hostname Specify the IP hostname of the destination switch.
detail (Optional) Specify that detailed information appears.
Release Modification
12.1(12c)EA1 This command was first introduced.