# US 8,578,007 B1 · Performing an in-service software reload on a network device

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

- Number: US 8,578,007 B1
- Document ID: US8578007B1
- Status: Granted
- Kind: B1
- Application number: 13/433,723
- Filed: 2012-03-29
- Granted: 2013-11-05
- Earliest claimed: 2006-06-01
- Assignees: Cisco Technology, Inc.
- Applicants: Prabhakara R. Yellai; Rengabashyam Srinivas; Jan Medved; Jian Jin
- Inventors: Prabhakara R. Yellai; Rengabashyam Srinivas; Jan Medved; Jian Jin
- Web page: https://patentgrep.com/patent/US8578007B1

## CPC

- H04L 45/563: {Software download or update}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A software reload is executed. The hardware associated with the network device continues to forward network traffic during the software reload. Also, a kernel of the network device operates unaffected in a protected address space throughout the software reload. Further, the kernel preserves local checkpointed and shared memory data. Application processes running on the network node are shut down gracefully. The reloaded software is brought up and the network device is resynchronized.

## Claims

### Claim 1

A method, comprising:
executing a software reload on a network device, wherein hardware associated with the network device continues to forward network traffic during the software reload, wherein a kernel of the network device operates unaffected in a protected address space, and wherein the kernel preserves local checkpointed and shared memory data;
shutting down application processes running on the network device gracefully;
maintaining continuity of network traffic between the network device and another network device coupled to the network device through a network, wherein the hardware of the network device is not reset during the software reload and continues to forward the network traffic; and
signaling the another network device to extend a keep alive timeout duration for an amount of time that corresponds to an anticipated duration for the software reload; wherein the shutting down further comprising: if the software reload is in response to a software upgrade that includes installation of a new software: notifying pre-determined set of processes of the software reload; terminating all application processes running on the network device except application processes needed for installation of the new software and server processes; loading the new software into memory of the network device; and terminating the application processes needed for loading the new software; if the software reload is in response to a failure recovery: terminating client processes; and terminating server processes.

### Claim 2 (depends on 1)

The method of claim 1, wherein the signaling uses a component operated by the another network device.

### Claim 3 (depends on 2)

The method of claim 2, wherein the component operated by the another network device comprises an InterProcess Communication (IPC) mechanism.

### Claim 4 (depends on 1)

The method of claim 1, further comprises utilizing the checkpointed data and the shared memory data to perform the software reload.

### Claim 5 (depends on 1)

The method of claim 1, further comprising synchronizing the network device with the another network device after the software reload.

### Claim 6 (depends on 5)

The method of claim 5, wherein the synchronizing further comprises synchronizing the network device with hardware of the another network device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising reloading device driver software without requiring a kernel restart.

### Claim 8 (depends on 7)

The method of claim 7, wherein the kernel is a micro-kernel.

### Claim 9 (depends on 1)

The method of claim 1, further comprising fast boosting a router.

### Claim 10

An apparatus, comprising:
a processing device; and
a memory including instructions executable by the processing device, the processing device when executing the instructions operable to:
execute a software reload on a network device, wherein hardware associated with the network device continues to forward network traffic during the software reload, wherein a kernel of the network device operates unaffected in a protected address space, and wherein the kernel preserves local checkpointed and shared memory data;
shut down application processes running on the network device gracefully;
maintain continuity of network traffic between the network device and another network device coupled to the network device through a network, wherein the hardware of the network device is not reset during the software reload and continues to forward the network traffic;
signal the another network device to extend a keep alive timeout duration for an amount of time that corresponds to an anticipated duration for the software reload; and
resynchronize the network device; wherein shutting down application processes running on the network node gracefully further comprises: if the software reload is in response to a software upgrade that includes installation of a new software: notify pre-determined set of processes of the software reload; terminate all application processes running on the network device except application processes needed for installation of the new software and server processes; load the new software into memory of the network device; and terminate the application processes needed for loading the new software; if the software reload is in response to a failure recovery: terminate client processes; and terminate server processes.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the signaling uses a component operated by the another network device.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the component operated by the another network device comprises an InterProcess Communication (IPC) mechanism.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the operations further comprise utilizing the checkpointed data and the shared memory data to perform the software reload.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the operations further comprise synchronizing the network device with the another network device after the software reload.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the synchronizing further comprises synchronizing the network device with hardware of the another network device.

### Claim 16 (depends on 9)

The apparatus of claim 9, wherein the operations further comprise:
terminating application processes running on the network device gracefully;
loading the new software corresponding to the software upgrade; and
starting the new software on the network device.

### Claim 17 (depends on 10)

The apparatus of claim 10 wherein the operations further comprise aborting the software reload if an application process fails to terminate properly.

### Claim 18 (depends on 10)

The apparatus of claim 10, wherein the operations further comprise causing the kernel to purge all application process information exception for shared memory and memory reserved for a minimum boot image file system.
