Patent ID: 11902133
Assignee: JUNIPER NETWORKS, INC.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 13:
14. A non-transitory computer-readable medium storing one or more instructions, the one or more instructions comprising:
one or more instructions that, when executed by one or more processors of a network device, cause the one or more processors to:
cause one or more neighboring network devices to use a relay mechanism to determine a first group of round trip time (RTT) values between the one or more neighboring network devices and a particular network device,
wherein the network device, the one or more neighboring network devices, and the particular network device are included in a group of network devices that are part of a network and that are configured with a protocol for measuring network performance,
wherein the network device is a first endpoint in the network,

wherein the particular network device is a second endpoint in the network,
wherein the protocol is a two-way active measurement protocol (TWAMP), and
wherein the protocol includes the relay mechanism and the relay mechanism causes the group of network devices to perform, during a test session, one or more test session tasks based on a set of rules associated with the relay mechanism;
receive, from the one or more neighboring network devices, information associated with the first group of RTT values,
wherein the information associated with the first group of RTT values is received based on the one or more neighboring network devices performing the one or more test session tasks during the test session;

determine a second group of RTT values between the network device and the one or more neighboring network devices;
determine overall RTT values based on the first group of RTT values and the second group of RTT values; and
identify a preferred next-hop to one of the one or more neighboring network devices based on the overall RTT values,
wherein the preferred next-hop is part of a preferred path to the particular network device.