2-481
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
traceroute mac ip
traceroute mac ip
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, use the traceroute mac command.
traceroute mac ip {source-ip-address | source-hostname} {destination-ip-address |
destination-hostname} [detail]
Syntax Description
Defaults This command has no default settings.
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 3550 switches running Release 12.1(12c)EA1 or later
• Catalyst4500 series switches running Catalyst operating system Release 6.2 or later for the
supervisor engine
• Catalyst4500 series switches running Release 12.1(15)EW or later
• Catalyst 5000 family switches running Catalyst operating system Release 6.1 or later for the
supervisor engine
• Catalyst 6500 series switches running Catalyst operating system 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 IP address of the source switch as a 32-bit quantity in dotted-decimal
format.
destination-ip-address IP address of the destination switch as a 32-bit quantity in dotted-decimal
format.
source-hostname IP hostname of the source switch.
destination-hostname IP hostname of the destination switch.
detail (Optional) Displays detailed traceroute MAC IP information.
Release Modification
12.1(13)EW Support for this command was introduced on the Catalyst 4500 series switch.