Traceroute Mac Ip - Cisco Catalyst 2960 Command Reference Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 2 Catalyst 3750 Switch Cisco IOS Commands

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.
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(25)FX
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.
OL-8604-03
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.
Catalyst 2960 Switch Command Reference
traceroute mac ip
2-733

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents