Cisco Catalyst Supervisor Engine 32 PISA IOS configuration guide covering the Layer 2 traceroute utility, its usage guidelines, and the traceroute mac and…
This chapter of the Catalyst Supervisor Engine 32 PISA Cisco IOS Software Configuration Guide, Release 12.2ZY, describes how to use the Layer 2 traceroute utility, which identifies the Layer 2 path a packet takes from a source device to a destination device. The utility supports only unicast source and destination MAC addresses and determines the path using the MAC address tables of the switches in the path.
The chapter explains usage guidelines, including that Cisco Discovery Protocol (CDP) must be enabled on all devices in the network, that all devices in the Layer 2 path must be mutually reachable, and that the maximum number of hops identified is ten. It also provides the traceroute mac and traceroute mac ip privileged EXEC commands with examples showing the physical path a packet takes through the network.
| Maximum number of hops identified in the path | ten |
|---|---|
| Supported source and destination addresses | unicast source and destination MAC addresses |
| Required protocol | Cisco Discovery Protocol (CDP) must be enabled on all devices |
It identifies the Layer 2 path that a packet takes from a source device to a destination device, using the MAC address tables of the switches in the path.
You can use the traceroute mac command with MAC addresses or the traceroute mac ip command with IP addresses, both entered in privileged EXEC mode.
Cisco Discovery Protocol (CDP) must be enabled on all the devices in the network, and it should not be disabled.
The Layer 2 path is not identified and an error message appears; you must specify the VLAN to which both MAC addresses belong.