I have two machines, A and B, connected via switch S1(master) and s2(slave). I want to measure latency and identify packet flow path from machine A to Switch,switch to machine B. If the link between s1 and A gets failed then packet will flow via s2 and A link.
How to find a packet flow path using spanning tree protocol. Is there any commands in switch?