2-646
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
traceroute mac ip
traceroute mac ip
Use the traceroute mac ip 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.
traceroute mac ip {source-ip-address | source-hostname} {destination-ip-address |
destination-hostname} [detail]
Note Layer 2 traceroute is available only on network node interfaces (NNIs).
Syntax Description
Defaults There is no default.
Command Modes Privileged EXEC
Command History
Usage Guidelines For Layer 2 traceroute to function properly, Cisco Discovery Protocol (CDP) must be enabled on all the
switches in the network. Do not disable CDP.
Note Layer 2 traceroute is available only on network node interfaces (NNIs).
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.
The traceroute mac ip command output shows the Layer 2 path when the specified source and
destination IP addresses are in the same subnet. When you specify the IP addresses, the switch uses
Address Resolution Protocol (ARP) to associate the IP addresses with the corresponding MAC addresses
and the VLAN IDs.
• If an ARP entry exists for the specified IP address, the switch uses the associated MAC address and
identifies the physical path.
source-ip-address Specify the IP address of the source switch as a 32-bit quantity in
dotted-decimal format.
destination-ip-address Specify the IP address of the destination switch as a 32-bit quantity in
dotted-decimal format.
source-hostname Specify the IP hostname of the source switch.
destination-hostname Specify the IP hostname of the destination switch.
detail (Optional) Specify that detailed information appears.
Release Modification
12.2(25)EX This command was introduced.