Network telemetry
AssigneeArista Networks, Inc.
InventorsVijay Rangarajan, Hugh Holbrook
Life of this patent
Estimating the term…
Abstract
A networking system may include one or more network nodes such as one or more network switches. The network switches include respective matching engines. The matching engines across the network switches may be configured to match on a consistent set of matching criteria based on low and high entropy data fields to sample a same subset of packets for each network flow of interest. The sampled packets may include annotations and may be sent to collector circuitry for analysis. Controller circuitry may enforce consistent sampling policies across the network switches.
Claims20
A method of operating first and second network devices respectively having first and second matching engines, the method comprising:
- configuring each of the first and second matching engines to match at least on a low entropy data field associated with a network flow and at least on a high entropy data field, the high entropy data field configured to have a plurality of values across network packets in the network flow;
- and
- using the first and second matching engines to identify a same network packet at least partly based on a subset of the values for the high entropy data field, wherein the network packet has a value at the high entropy data field that is within the subset of values.
A non-transitory computer-readable storage medium comprising instructions for:
- identifying a sampling policy for a network flow based at least on a first data field having a fixed value across network packets in the network flow and based at least on a second data field having variable values across the network packets in the network flow;
- and
- configuring a network switch based on the sampling policy to match incoming network packets at the network switch on the first data field and on a portion of the second data field, wherein the network switch is configured to forward and sample a first subset of the network packets in the network flow based on the sampling policy and is configured to forward without sampling a second subset of the network packets in the network flow based on the sampling policy.
A method of sampling network traffic in a network, the method comprising:
- receiving a network packet in a network flow at a network node, the network packet having a first value at a first data field and having a second value at a second data field, wherein the first value is fixed across corresponding first data fields in respective network packets in the network flow, and the second value is variable across corresponding second data fields in the respective network packets in the network flow;
- comparing one or more bits allocated to the second data field in the network packet to corresponding one or more bits in a matching criterion for a sampling policy;
- and
- in response to a match between the one or more of bits in the network packet and the corresponding one or more bits in the matching criterion, generating a sample of the network packet at least in part by annotating a copy of the network packet.
Dependencies are inferred from the claim text.