CPC H04L 45/02 (2013.01) [H04L 45/74 (2013.01)] | 16 Claims |
1. A method comprising:
receiving, at a first provider edge device, information about a customer edge device in communication with the first provider edge device;
storing, by the first provider edge device based on the information about the customer edge device, an indication of a first role status of the customer edge device;
receiving, by the first provider edge device from a second provider edge device in communication with the customer edge device, an advertisement message that includes a second role status associated with the second provider edge device in relation to the customer edge device;
comparing, by the first provider edge device, the first role status to the second role status; and
upon determining that the first role status does not match the second role status:
if the second role status is a leaf role and the first role status is a root role, updating, by the first provider edge device, the first role status of the customer edge device to be a leaf role; and
if the second role status is a root role status and the first role status is a leaf role, generating a second advertisement message indicating the first role status; and
transmitting the second advertisement message to the second provider edge device to cause the second provider edge to update the second role status to a leaf role.
|