Automated configuration of policer parameters
AssigneeArista Networks, Inc.
InventorFrancois Labonte
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure automatically set a maximum burst size in a policer to optimize the flow of traffic in a network. In one embodiment, a method includes receiving a policer rate set by a first policy, a maximum rate corresponding to one or more communications channels, and maximum burst time for performing at data burst. A maximum burst size is determined automatically based on the received policer rate, maximum rate, and maximum burst time. A policer in a network device is configured to limit traffic received at the one or more communications channels based on the maximum burst size.
Claims20
A method of processing data in a network device comprising:
- receiving a policer rate;
- receiving a maximum data rate corresponding to one or more communications channels;
- receiving a maximum burst time for forwarding a burst flow of network data;
- determining a maximum burst size based on the policer rate, the maximum data rate, and the maximum burst time;
- configuring the network device to police traffic received over the one or more communication channels based on the maximum burst size,
- wherein the policer rate is a first policer rate, the maximum data rate is a first maximum data rate, and the maximum burst time is a first maximum burst time;
- receiving a plurality of additional policer rates;
- determining a plurality of additional maximum burst sizes based on the plurality of additional policer rates, one or more maximum data rates, and one or more maximum burst times;
- and
- configuring a plurality of policers in the network device to police traffic based on the plurality of additional maximum burst sizes,
- wherein the one or more maximum burst times comprises the first maximum burst time, and wherein the first maximum burst time is used to determine the plurality of additional maximum burst sizes.
A network device including one or more network processors, the one or more network processors comprising:
- a plurality of ingress ports;
- and
- a network data processing pipeline comprising a policer, the policer limiting traffic received at one or more of the plurality of ingress ports based on a maximum burst size;
- wherein the maximum burst size is automatically determined based on a policer rate, a maximum data rate associated with at least a portion of the plurality of ingress ports, and a specified maximum burst time for forwarding a burst flow of network data,
- wherein the policer rate is a first policer rate, the maximum data rate is a first maximum data rate, and the maximum burst time is a first maximum burst time,
- the network data processing pipeline configured to:
- receive a plurality of additional policer rates;
- determine a plurality of additional maximum burst sizes based on the plurality of additional policer rates, one or more maximum data rates, and one or more maximum burst times;
- and
- configure a plurality of policers in the network device to police traffic based on the plurality of additional maximum burst sizes,
- wherein the one or more maximum burst times comprises the first maximum burst time, and wherein the first maximum burst time is used to determine the plurality of additional maximum burst sizes.
A network device, comprising:
- at least one control plane processor;
- at least one network processor to receive and send data traffic;
- and
- one or more non-transitory machine-readable media storing a program executable by the at least one network processor, the program comprising sets of instructions for:
- receiving a policer rate;
- receiving a maximum data rate corresponding to one or more communications channels;
- receiving a maximum burst time for forwarding a burst flow of network data;
- determining a maximum burst size based on the policer rate, the maximum data rate, and the maximum burst time;
- configuring the network device to police traffic received at the one or more communications channels based on the maximum burst size,
- wherein the policer rate is a first policer rate, the maximum data rate is a first maximum data rate, and the maximum burst time is a first maximum burst time;
- receiving a plurality of additional policer rates;
- determining a plurality of additional maximum burst sizes based on the plurality of additional policer rates, one or more maximum data rates, and one or more maximum burst times;
- and
- configuring a plurality of policers in the network device to police traffic based on the plurality of additional maximum burst sizes,
- wherein the one or more maximum burst times comprises the first maximum burst time, and wherein the first maximum burst time is used to determine the plurality of additional maximum burst sizes.
A network device comprising:
- a data plane comprising one or more data plane processors and a data processing pipeline configured to receive network traffic on a plurality of ingress ports and send the network traffic on a plurality of egress ports, wherein the data plane comprises a policer to limit a flow of network traffic through the data processing pipeline;
- a control plane comprising one or more control plane processors and for at least configuring the data plane, the control plane receiving a policer rate, a maximum data rate corresponding to one or more communication channels, and a maximum burst time, wherein the control plane determines a maximum burst size based on the policer rate, the maximum data rate, and the maximum burst time,
- wherein the control plane configures the policer in the data plane to police traffic received over the one or more communication channels based on the maximum burst size, and
- wherein the policer rate is a first policer rate, the maximum data rate is a first maximum data rate, and the maximum burst time is a first maximum burst time,
- the one or more control plane processors configured to:
- receive a plurality of additional policer rates;
- determine a plurality of additional maximum burst sizes based on the plurality of additional policer rates, one or more maximum data rates, and one or more maximum burst times;
- and
- configure a plurality of policers in the network device to police traffic based on the plurality of additional maximum burst sizes,
- wherein the one or more maximum burst times comprises the first maximum burst time, and wherein the first maximum burst time is used to determine the plurality of additional maximum burst sizes.
Dependencies are inferred from the claim text.