BACKGROUND

A spine and leaf topology of network devices is a multilayer data center network topology that includes leaf network devices (e.g., to which servers and storage devices connect) and spine network devices (e.g., to which leaf network devices connect). The leaf network devices may mesh into a spine to form an access layer that delivers network connection points for servers.

SUMMARY

According to some implementations, a method may include receiving, by a network device and from an endpoint device, a first message that includes first endpoint identification information, wherein the network device is connected to the endpoint device via a plurality of links; receiving, by the network device and from another network device, a second message that includes second endpoint identification information; determining, by the network device, whether the first endpoint identification information corresponds to the second endpoint identification information; and causing, by the network device and based on determining whether the first endpoint identification information corresponds to the second endpoint identification information, a state of the plurality of links to be maintained or changed.

According to some implementations, a network device may include one or more memories and one or more processors. The one or more processors may be configured to: receive, from an endpoint device and via a plurality of links that connect the network device and the endpoint device, a first message that includes first endpoint identification information, receive, from another network device, a second message that includes second endpoint identification information; determine that at least some of the first endpoint identification information does not match at least some of the second endpoint identification information; and cause, based on determining that the at least some of the first endpoint identification information does not match the at least some of the second endpoint identification information, a state of the plurality of links to be maintained as an active state or changed to an inactive state.

According to some implementations, a non-transitory computer-readable medium may store one or more instructions. The one or more instructions, when executed by one or more processors of a network device, may cause the one or more processors to: receive, from an endpoint device and via a plurality of links that connect the network device and the endpoint device, a first message that includes first endpoint identification information, receive, from another network device, a second message that includes second endpoint identification information; determine that at least some of the first endpoint identification information matches at least some of the second endpoint identification information; and cause, based on determining that the at least some of the first endpoint identification information matches the at least some of the second endpoint identification information, a state of the plurality of links to be maintained as an active state.

