CPC H04L 45/26 (2013.01) [H04L 12/4633 (2013.01); H04L 45/02 (2013.01); H04L 45/20 (2013.01); H04L 45/66 (2013.01); H04L 12/4641 (2013.01)] | 20 Claims |
1. A method comprising:
sending, by an originating device, a layer-2 trace packet with a packet type in a layer-2 header of the layer-2 trace packet, wherein the packet type indicates the layer-2 trace packet as a packet for layer-2 path tracing;
receiving a layer-2 response packet from a respective participating device along a path to a target device of the layer-2 trace packet, wherein the participating device supports the layer-2 path tracing;
obtaining, from a payload of the layer-2 response packet, trace information associated with a forward path to the participating device traversed by the layer-2 trace packet and a reverse path from the participating device traversed by the layer-2 response packet, wherein the trace information in the layer-2 response packet identifies a plurality of layer-2 devices along the forward and reverse paths, and wherein the trace information includes a plurality of layer-2 network addresses identifying the plurality of layer-2 devices, respectively; and
determining a layer-2 path trace, which includes at least the plurality of layer-2 network addresses, between the originating device and the target device based on the trace information.
|