Method and apparatus for augmenting TWAMP
First Claim
1. A method in a network device for performing Two-Way Active Measurement Protocol (TWAMP) based path discovery, the method comprising the steps of:
- setting a current hopcount to an initial value of one for a TWAMP test session with a destination Internet Protocol (IP) address of another network device that is the reflector for the TWAMP test session;
transmitting, by the network device that is the sender for the TWAMP test session, a TWAMP test request packet with the destination IP address and with a hopcount in the TWAMP test request packet set to the current hopcount;
receiving an Internet Control Message Protocol (ICMP) time exceeded message by the network device from a transit node;
determining that the transit node is the current hopcount away from the network device on a TWAMP end-to-end (E2E) path between the sender and reflector of the TWAMP test session being discovered;
adding an IP address of the transit node received in the ICMP time exceeded message to a sequence of IP addresses representing a forward direction path in a set of alternate paths of the TWAMP E2E path;
repeating the step of transmitting with the current hopcount incremented by one as compared to the immediately preceding TWAMP test request packet for the TWAMP test session,repeating the method to determine another sequence of IP addresses representing another forward direction path in the set of alternate paths of the TWAMP E2E path;
utilizing a corresponding path in the set of alternate paths of the TWAMP E2E path to generate performance metrics based on TWAMP test request and TWAMP test reply messages utilizing the corresponding path, where the corresponding path is a path in the set of alternate paths traversed by the TWAMP test request or the TWAMP test reply message; and
storing the performance metrics in a TWAMP path table for each of the set of alternate paths with performance metrics generated from the respective path in the set of alternate paths.
1 Assignment
0 Petitions
Accused Products
Abstract
According to another embodiment of the invention, TWAMP path discovery is performed to determine a sequence of IP addresses of a forward direction TWAMP E2E path to be traversed by two different TWAMP test sessions between a Sender and a Reflector. Then, additional TWAMP test request packets are transmitted for the different TWAMP test sessions; and TWAMP test reply messages are received responsive to respective ones of the TWAMP test request packets. Responsive to the TWAMP test reply messages, a PM is determined that is specific to the different sequences of IP addresses of the forward direction TWAMP E2E paths traversed by the two different TWAMP test sessions.
17 Citations
15 Claims
-
1. A method in a network device for performing Two-Way Active Measurement Protocol (TWAMP) based path discovery, the method comprising the steps of:
-
setting a current hopcount to an initial value of one for a TWAMP test session with a destination Internet Protocol (IP) address of another network device that is the reflector for the TWAMP test session; transmitting, by the network device that is the sender for the TWAMP test session, a TWAMP test request packet with the destination IP address and with a hopcount in the TWAMP test request packet set to the current hopcount; receiving an Internet Control Message Protocol (ICMP) time exceeded message by the network device from a transit node; determining that the transit node is the current hopcount away from the network device on a TWAMP end-to-end (E2E) path between the sender and reflector of the TWAMP test session being discovered; adding an IP address of the transit node received in the ICMP time exceeded message to a sequence of IP addresses representing a forward direction path in a set of alternate paths of the TWAMP E2E path; repeating the step of transmitting with the current hopcount incremented by one as compared to the immediately preceding TWAMP test request packet for the TWAMP test session, repeating the method to determine another sequence of IP addresses representing another forward direction path in the set of alternate paths of the TWAMP E2E path; utilizing a corresponding path in the set of alternate paths of the TWAMP E2E path to generate performance metrics based on TWAMP test request and TWAMP test reply messages utilizing the corresponding path, where the corresponding path is a path in the set of alternate paths traversed by the TWAMP test request or the TWAMP test reply message; and storing the performance metrics in a TWAMP path table for each of the set of alternate paths with performance metrics generated from the respective path in the set of alternate paths. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus to discover Two-Way Active Measurement Protocol (TWAMP) end-to-end (E2E) paths, the apparatus comprising:
-
a network device to act as a Sender of a TWAMP E2E path having as a Reflector another network device more than one hopcount away, the network device comprising; a set of one or more processors; and a non-transitory machine-readable storage medium containing code, which when executed by the set of one or more processors, causes the network device to, transmit, to a destination Internet Protocol (IP) address of the another network device for a TWAMP test session, a series of TWAMP test request packets with hopcounts starting at 1 and increasing until a TWAMP test reply message is received from the another network device acting as the Reflector of the TWAMP E2E path, receive respective Internet Control Message Protocol (ICMP) time exceeded messages, each including an Internet Protocol (IP) address of a network interface, responsive to each of the TWAMP test request packets transmitted with hopcounts that are less than the number of hopcounts required to reach the another network device, wherein the IP addresses placed in order of the series of TWAMP test request packets form a sequence of IP addresses representing a forward direction path in a set of alternate paths of the TWAMP E2Epath, repeat the code to determine another sequence of IP addresses representing another forward direction path in the set of alternate paths of the TWAMP E2E path, utilize a corresponding path in the set of alternate paths in the TWAMP E2E path to generate performance metrics based on TWAMP test request and TWAMP test reply messages utilizing the corresponding path, where the corresponding path is a path in the set of alternate paths traversed by the TWAMP test request or the TWAMP test reply message, and store the performance metrics in a TWAMP path table for each of the set of alternate paths with performance metrics generated from the respective path in the set of alternate paths. - View Dependent Claims (7, 8, 9, 10, 11)
-
-
12. A non-transitory machine-readable storage medium having computer code stored therein, which when executed by a set of one or more processors of a first network device to discover Two-Way Active Measurement Protocol (TWAMP) end-to-end (E2E) paths, wherein the first network device is configured to act as a Sender of a TWAMP E2E path having as a Reflector a second network device more than one hopcount away, causes the first network device to perform operations comprising:
-
transmitting, to a destination Internet Protocol (IP) address of the second network device for a TWAMP test session, a series of TWAMP test request packets with hopcounts starting at 1 and increasing until a TWAMP test reply message is received from the second network device acting as the Reflector of the TWAMP E2E path, receiving respective Internet Control Message Protocol (ICMP) time exceeded messages, each including an Internet Protocol (IP) address of a network interface, responsive to each of the TWAMP test request packets transmitted with hopcounts that are less than the number of hopcounts required to reach the second network device, wherein the IP addresses placed in order of the series of TWAMP test request packets form a sequence of IP addresses representing a forward direction of the TWAMP E2E path, repeat the code to determine another sequence of IP addresses representing another forward direction path in the set of alternate paths of the TWAMP E2E path, utilize a corresponding path in the set of alternate paths in the TWAMP E2E path to generate performance metrics based on TWAMP test request and TWAMP test reply messages utilizing the corresponding path, where the corresponding path is a path in the set of alternate paths traversed by the TWAMP test request or the TWAMP test reply message, and store the performance metrics in a TWAMP path table for each of the set of alternate paths with performance metrics generated from the perspective path in the set of alternate paths. - View Dependent Claims (13, 14, 15)
-
Specification