traceroute mac ip
traceroute mac ip
Use the traceroute mac ip privileged EXEC command on the switch stack or on a standalone switch 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.
Syntax Description
source-ip-address
destination-ip-address
source-hostname
destination-hostname
detail
Defaults
There is no default.
Command Modes
Privileged EXEC
Command History
Release
12.2(40)EX1
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.
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.
•
•
Cisco Catalyst Blade Switch 3130 for Dell Command Reference
2-728
traceroute mac ip {source-ip-address | source-hostname} {destination-ip-address |
destination-hostname} [detail]
Specify the IP address of the source switch as a 32-bit quantity in
dotted-decimal format.
Specify the IP address of the destination switch as a 32-bit quantity in
dotted-decimal format.
Specify the IP hostname of the source switch.
Specify the IP hostname of the destination switch.
(Optional) Specify that detailed information appears.
Modification
This command was introduced.
If an ARP entry exists for the specified IP address, the switch uses the associated MAC address and
identifies the physical path.
If an ARP entry does not exist, the switch sends an ARP query and tries to resolve the IP address.
The IP addresses must be in the same subnet. If the IP address is not resolved, the path is not
identified, and an error message appears.
Chapter 2
Cisco Catalyst Blade Switch 3130 for Dell Cisco IOS Commands
OL-13271-01