CPC H04L 45/121 (2013.01) [H04L 12/4633 (2013.01); H04L 45/123 (2013.01); H04L 45/22 (2013.01); H04L 45/42 (2013.01); H04L 45/50 (2013.01); H04L 67/145 (2013.01)] | 20 Claims |
10. A method for tearing down an on-demand tunnel (ODT) in a network between a first network device and a second network device, the method comprising:
making a first determination, based on monitoring the ODT, that a tear down condition to tear down the ODT between the first network device and the second network device is satisfied;
in response to the first determination:
modifying, on the first network device, characteristics of the ODT to steer packets destined for the second network device away from the ODT and to a path between the first network device and the second network device different from the ODT, the path including an intermediate network device between the first and second network devices and the ODT bypassing the intermediate network device;
transmitting, by the first network device, a tear down packet destined for the second network device via the path including the intermediate network device and different from the ODT bypassing the intermediate network device, wherein the tear down packet signals to the second network device to cease use of the ODT and wherein the first network device is configured to receive packets from the second network device via the ODT during a time period after transmitting the tear down packet;
in response to transmitting the tear down packet, making a second determination that the second network device has stopped sending ODT keepalives destined for the first network device; and
in response to the second determination, deleting paths associated with the ODT from the first network device.
|