Failure detection and containment
AssigneeArista Networks, Inc.
InventorsBart Smaalders, Itthichok Jangjaimon, Pawan Hulyalkar, Roman Chertov
Life of this patent
Estimating the term…
Abstract
A network device monitors its log files to detect faults. The network device analyzes the faults to determine a failure category that is indicative of the severity of the detected faults. The network device consults a policy that specifies actions to be taken for different failure categories, and invokes the action or actions corresponding to the determined failure category.
Claims20
A method for error handling in a network device comprising a data plane configured to receive and forward network traffic, the method comprising:
- receiving and storing, by the network device, at least one failure response policy in the network device, the at least one failure response policy comprising a plurality of failure categories and one or more corresponding actions for each failure category, the plurality of failure categories including a first failure category that comprises failures deemed critical to the network device's functionality and a second failure category comprising failures that are not deemed critical to the network device's functionality but degrade operation of the network device;
- monitoring, by the network device, log files;
- determining, by the network device, a failure category from among the plurality of failure categories using information contained in the log files;
- and
- performing, by the network device, one or more actions on the network device based on the failure category in accordance with the at least one failure response policy,
- wherein upon determining the first failure category, the one or more actions include turning the network device off, and wherein upon determining the second failure category, the one or more actions include entering a mode that disables network traffic processing in the data plane but maintains control plane functionality of the network device.
A network device comprising:
- a data plane configured to receive and forward network traffic;
- a control plane configured to enable management and configuration of the network device;
- one or more computer processors;
- and
- a computer-readable storage medium comprising instructions for controlling the one or more computer processors to:
- receive one or more failure response policies, each failure response policy comprising a plurality of failure categories and one or more corresponding actions for each failure category, the plurality of failure categories including a first failure category that comprises failures deemed critical to the network device's functionality and a second failure category comprising failures that are not deemed critical to the network device's functionality but degrade operation of the network device;
- detect occurrence of events in the network device;
- determine a failure category from the detected events;
- use at least one of the one or more failure response policies to identify one or more actions associated with the failure category;
- and
- perform the one or more actions on the network device,
- wherein in response determining the first failure category, the one or more actions including turning off the network device, and wherein in response to determining the second failure category, the one or more actions include entering a mode that disables network traffic processing in the data plane but maintains operation of the control plane.
A method in a network device comprising a data plane configured to receive and forward network traffic, the method comprising:
- receiving, by the network device, at least one failure response policy, the failure response policy comprising a plurality of failure categories, wherein each failure category is associated with a level of functionality of the network device, and wherein the plurality of failure categories includes a first failure category that comprises failures deemed critical to the network device's functionality and a second failure category comprising failures that are not deemed critical to the network device's functionality but degrade operation of the network device;
- detecting, by the network device, occurrence of events in the network device;
- determining, by the network device, a failure category from the detected events;
- and
- adjusting, by the network device, functioning of the network device in accordance with the failure response policy to a level of functionality corresponding to the determined failure category,
- wherein upon determining the first failure category, the adjusting comprises turning the network device off, and wherein upon determining the second failure category, the adjusting comprises entering a mode that disables network traffic processing in the data plane but maintains control plane functionality of the network device.
Dependencies are inferred from the claim text.