# US 2025/0211527 A1 · Packet loss prevention during control plane updates

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0211527 A1
- Document ID: US20250211527A1
- Status: Published application
- Kind: A1
- Application number: 18/394,858
- Filed: 2023-12-22
- Published: 2025-06-26
- Earliest claimed: 2023-12-22
- Assignees: Arista Networks, Inc.
- Applicants: Arista Networks, Inc.
- Inventors: Lakshmikantha Chowdary Pothula
- Web page: https://patentgrep.com/patent/US20250211527A1

## CPC

- H04L 45/745: Address table lookup; Address filtering
- H04L 45/021: Ensuring consistency of routing table updates, e.g. by using epoch numbers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A networking device has a control plane that manages a data plane having a forwarding table with entries describing the operation of the data plane. When the control plane applies a modification, such as a software update, the control plane may re-determine table entries for the forwarding table. Rather than automatically pausing processing of the data plane while the table entries are redetermined and applied to the forwarding plane, the control plane copies the forwarding table to a shadow table and uses the shadow table to initially process entries after the control plane is modified. Entries are matched with the shadow table to determine whether the modified control plane actually requires modification to the existing data plane, enabling selective pausing of the data plane.

## Claims

### Claim 1

A networking device comprising:
a set of interfaces for sending and receiving packets;
a packet processor that processes packets received at the set of interfaces according to a set of entries of a forwarding table; and
a networking controller that configures operation of the packet processor and, after applying a modification to operation of the networking controller, is configured to:
identify a set of regenerated entries describing post-modification configuration of the forwarding table after the control configuration modification;
copy the set of entries of the forwarding table to a set of shadow entries of a shadow table describing operation of the forwarding table before the modification was applied; and
compare the set of regenerated entries to the set of shadow entries and, based on the comparison, selectively pause packet processing by the packet processor when at least one of the set of regenerated entries differs from the shadow entries.

### Claim 2 (depends on 1)

The networking device of claim 1, wherein comparing the set of regenerated entries to the set of shadow entries comprises determining a matching shadow entry for at least one regenerated entry based on a content hash of the shadow entry and the regenerated entry.

### Claim 3 (depends on 1)

The networking device of claim 1, wherein the networking controller is further configured to pause processing immediately when any difference is identified between the set of regenerated entries and the set of shadow entries.

### Claim 4 (depends on 3)

The networking device of claim 3, wherein the networking controller is further configured to consolidate differences between the regenerated entries and the shadow entries in the shadow table and apply the consolidated differences to the forwarding table after all of the set of regenerated entries are compared with the set of shadow entries.

### Claim 5 (depends on 1)

The networking device of claim 1, wherein the networking controller is further configured to selectively pause processing by the packet processor for a first entry of the forwarding table corresponding to a first shadow entry that has different contents relative to a first matching regenerated entry and continuing processing by the packet processor for a second entry of the forwarding table corresponding to a second shadow entry that has the same contents relative to a second matching regenerated entry.

### Claim 6 (depends on 1)

The networking device of claim 1, wherein one or more feature agents construct a control table and the set of regenerated entries is generated based on the control table.

### Claim 7 (depends on 1)

The networking device of claim 1, wherein the networking controller is further configured to:
determine a set of unused entries in the shadow table that do not correspond to any of the regenerated entries; and
prune entries in the forwarding table that correspond to the set of unused entries.

### Claim 8 (depends on 1)

The networking device of claim 1, wherein the modification to the networking controller is a modified software version.

### Claim 9

A non-transitory computer-readable medium comprising instructions executable by a processor for:
applying a modification to a networking controller of a networking device that includes a packet processor that processes packets according to a forwarding table during application of the modification to the networking controller;
copying the forwarding table to a shadow table; and
after the modification is applied to the networking controller:
identifying one or more regenerated entries generated by the networking controller after the modification is applied, wherein the one or more regenerated entries specify post-modification entries of the forwarding table;
for each of the one or more regenerated entries, determining whether the shadow table includes a matching entry and whether the matching entry and the regenerated entry have the same contents;
determining whether all of the one or more regenerated entries have a matching entry with the same contents; and
responsive to determining that all of the one or more regenerated entries have a respective matching entry with the same contents, continuing to process packets after the modification of the networking controller without pausing packet processing for application of the one or more regenerated entries.

### Claim 10 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the instructions are further executable for selectively pausing the packet processor responsive to determining that any of the regenerated entries does not have a matching entry or the matching entry and the regenerated entry do not have the same contents.

### Claim 11 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the instructions are executable for continuing the packet processor while the modification is applied until the packet processor is selectively paused.

### Claim 12 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein determining a matching entry in the shadow table is based on comparison of a content hash of the shadow table with the regenerated entry.

### Claim 13 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the instructions are further executable for:
modifying the matching entry in the shadow table when its contents differ from the regenerated entry; and
applying the modified entries in the shadow table to the forwarding table together as a group.

### Claim 14 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the instructions are further executable for adding an entry to the shadow table when a regenerated entry does not have a matching entry in the shadow table.

### Claim 15 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the instructions are further executable for:
determining a set of unused entries in the shadow table that do not correspond to any of the regenerated entries; and
pruning entries in the forwarding table that correspond to the set of unused entries.

### Claim 16

A method, performed by a networking device that processes packets according to a forwarding table, for reducing packet processing interruption due to modification of a networking controller of the networking device, comprising:
applying a modification to a networking controller of a networking device that includes a packet processor that processes packets according to a forwarding table during application of the modification to the networking controller;
copying the forwarding table to a shadow table; and
after the modification is applied to the networking controller:
identifying one or more regenerated entries generated by the networking controller after the modification is applied, wherein the one or more regenerated entries specify post-modification entries of the forwarding table;
for each of the one or more regenerated entries, determining whether the shadow table includes a matching entry and whether the matching entry and the regenerated entry have the same contents;
determining whether all of the one or more regenerated entries have a matching entry with the same contents; and
responsive to determining that all of the one or more regenerated entries have a respective matching entry with the same contents, continuing to process packets after the modification of the networking controller without pausing packet processing for application of the one or more regenerated entries.

### Claim 17 (depends on 16)

The method of claim 16, further comprising selectively pausing the packet processor responsive to determining that any of the regenerated entries does not have a matching entry or the matching entry and the regenerated entry do not have the same contents.

### Claim 18 (depends on 17)

The method of claim 17, further comprising continuing the packet processor while the modification is applied until the packet processor is selectively paused.

### Claim 19 (depends on 16)

The method of claim 16, wherein determining a matching entry in the shadow table is based on comparison of a content hash of the shadow table with the regenerated entry.

### Claim 20 (depends on 16)

The method of claim 16, further comprising:
modifying the matching entry in the shadow table when its contents differ from the regenerated entry; and
applying the modified entries in the shadow table to the forwarding table together as a group.
