# US 2021/0281480 A1 · Defining and implementing an ephemeral configuration state for 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 2021/0281480 A1
- Document ID: US20210281480A1
- Status: Published application
- Kind: A1
- Application number: 16/812,031
- Filed: 2020-03-06
- Published: 2021-09-09
- Earliest claimed: 2020-03-06
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Alberto GONZALEZ PRIETO; Mark HENNESSY; Anish Sagar NARSIAN
- Web page: https://patentgrep.com/patent/US20210281480A1

## CPC

- H04L 41/145: {involving simulating, designing, planning or modelling of a network}
- H04L 41/0213: Standardised network management protocols, e.g. simple network management protocol [SNMP]
- H04L 41/0661: {by reconfiguring faulty entities}
- H04L 41/0826: for reduction of network costs (H04L41/0833 takes precedence)
- H04L 41/0869: Validating the configuration within one network element
- H04L 41/28: Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
- H04L 43/022: by sampling
- H04L 67/1023: based on a hash applied to IP addresses or costs
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure relates to systems, methods, and computer-readable media for defining and implementing an ephemeral portion of a configuration state on a network device that does not persist upon coming up after experiencing a power loss event of the network device. For example, systems disclosed herein include receiving information indicating commands or policies of a configuration state that may be defined as ephemeral. The systems disclosed herein include generating and maintaining an ephemeral definition that includes modes, XPaths, and other identifiers of characteristics and specific command nodes within a hierarchical structure of commands that should be treated as ephemeral when rebooting the network device. The systems described herein provide an effective and convenient tool for defining an ephemeral portion of a configuration state that does not persist when the network device recovers from a power loss event.

## Claims

### Claim 1

A method, comprising:
maintaining a configuration state for a network device, the configuration state including a hierarchical model of commands including characteristics associated with operation of the network device on a network of computing devices;
receiving an identification of one or more commands from the hierarchical model of commands to be included within an ephemeral portion of the configuration state;
maintaining an ephemeral definition for the configuration state, the ephemeral definition including command identifiers corresponding to the identified one or more commands, wherein the one or more commands and any corresponding sub-commands are designated as part of the ephemeral portion of the configuration state based on the command identifiers being associated with the one or more commands; and
in response to experiencing a power loss event by the network device, implementing a reboot configuration state including a non-ephemeral portion of the configuration state and without persisting the ephemeral portion of the configuration state.

### Claim 2 (depends on 1)

The method of claim 1, wherein the hierarchical model of commands includes an extensible markup language (XML) data model instantiation, and wherein the identification of the one or more commands includes one or more XPaths.

### Claim 3 (depends on 1)

The method of claim 1, wherein receiving the identification of the one or more commands comprises receiving one or more keywords via a command line interface (CLI), the one or more keywords indicating the one or more commands from the hierarchical model of commands to be included within the ephemeral portion of the configuration state.

### Claim 4 (depends on 1)

The method of claim 1, wherein the command identifiers include an identification of one or more Internet Protocol (IP) addresses with which the network device is permitted to communicate.

### Claim 5 (depends on 1)

The method of claim 1, wherein the command identifiers include an identification of one or more communication protocols that the network device is permitted to use in communicating information packets.

### Claim 6 (depends on 1)

The method of claim 1, wherein the network device includes one or more of a router, a switch, a firewall, or a load balancer on a network of computing devices, the network device being configured to communicate information packets between computing nodes on the network of computing devices.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving a metadata identifier indicating one or more characteristics of at least one command from the hierarchical model of commands; and
updating the ephemeral definition to include the metadata identifier, wherein the metadata identifier designates any commands from the hierarchical model of commands having a set of characteristics that match the metadata identifier as part of the ephemeral portion of the configuration state.

### Claim 8 (depends on 7)

The method of claim 7, wherein the metadata identifier indicates one or more of:
a user who created a command;
a user who modified the command;
a time when the command was created; or
a time when the command was modified.

### Claim 9 (depends on 1)

The method of claim 1, wherein implementing the reboot configuration state comprises restoring a default configuration state including a more restrictive set of commands than the hierarchical model of commands including the ephemeral portion and associated with operation of the network device prior to experiencing the power loss event.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving, after experiencing the power loss event, information associated with an updated configuration state for the network device; and
updating the ephemeral definition for the reboot configuration state to include an updated ephemeral portion corresponding to the information associated with the updated configuration state for the network device.

### Claim 11

A system, comprising:
one or more processors;
a memory in electronic communication with the one or more processors; and
instructions stored in the memory, the instructions being executable by the one or more processors to:
maintain a configuration state for a network device, the configuration state including a hierarchical model of commands including characteristics associated with operation of the network device within a network of computing devices;
receive an identification of one or more commands from the hierarchical model of commands to be included within an ephemeral portion of the configuration state;
maintain an ephemeral definition for the configuration state, the ephemeral definition including command identifiers corresponding to the identified one or more commands, wherein the one or more commands and any corresponding sub-commands are designated as part of the ephemeral portion of the configuration state based on the command identifiers being associated with the one or more commands; and
in response to experiencing a power loss event by the network device, implement a reboot configuration state including a non-ephemeral portion of the configuration state and without persisting the ephemeral portion of the configuration state.

### Claim 12 (depends on 11)

The system of claim 11, wherein the hierarchical model of commands includes an extensible markup language (XML) data model instantiation, and wherein the identification of the one or more commands includes one or more XPaths.

### Claim 13 (depends on 11)

The system of claim 11, wherein receiving the identification of the one or more commands comprises receiving one or more keywords via a command line interface (CLI), the one or more keywords indicating the one or more commands from the hierarchical model of commands to be included within the ephemeral portion of the configuration state.

### Claim 14 (depends on 11)

The system of claim 11,
wherein the command identifiers include an identification of one or more Internet Protocol (IP) addresses with which the network device is permitted to communicate, and
wherein the command identifiers include an identification of one or more communication protocols that the network device is permitted to use in communicating information packets.

### Claim 15 (depends on 11)

The system of claim 11, further comprising instructions being executable by the one or more processors to:
receive a metadata identifier indicating one or more characteristics of at least one command from the hierarchical model of commands, the metadata identifier indicating one or more of a user who created a command, a user who modified the command, a time when the command was created, or a time when the command was modified; and
update the ephemeral definition to include the metadata identifier, wherein the metadata identifiers designate any commands from the hierarchical model of commands having a set of characteristics that match the metadata identifier as part of the ephemeral portion of the configuration state.

### Claim 16

A non-transitory computer readable medium storing instructions thereon that, when executed by one or more processors, causes a network device to:
maintain a configuration state for the network device, the configuration state including a hierarchical model of commands including characteristics associated with operation of the network device on a network of computing devices;
receive an identification of one or more commands from the hierarchical model of commands to be included within an ephemeral portion of the configuration state;
maintain an ephemeral definition for the configuration state, the ephemeral definition including command identifiers corresponding to the identified one or more commands, wherein the one or more commands and any corresponding sub-commands are designated as part of the ephemeral portion of the configuration state based on the command identifiers being associated with the one or more commands; and
in response to experiencing a power loss event by the network device, implement a reboot configuration state including a non-ephemeral portion of the configuration state and without persisting the ephemeral portion of the configuration state.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the hierarchical model of commands includes an extensible markup language (XML) data model instantiation, and wherein the identification of the one or more commands includes one or more XPaths.

### Claim 18 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein receiving the identification of the one or more commands comprises receiving one or more keywords via a command line interface (CLI), the one or more keywords indicating the one or more commands from the hierarchical model of commands to be included within the ephemeral portion of the configuration state.

### Claim 19 (depends on 16)

The non-transitory computer readable medium of claim 16,
wherein the command identifiers include an identification of one or more Internet Protocol (IP) addresses with which the network device is permitted to communicate, and
wherein the command identifiers include an identification of one or more communication protocols that the network device is permitted to use in communicating information packets.

### Claim 20 (depends on 16)

The non-transitory computer readable medium of claim 16, further comprising instructions thereon that, when executed by the one or more processors, causes the network device to:
receive a metadata identifier indicating one or more characteristics of at least one command from the hierarchical model of commands, the metadata identifier indicating one or more of a user who created a command, a user who modified the command, a time when the command was created, or a time when the command was modified; and
update the ephemeral definition to include the metadata identifier, wherein the metadata identifiers designate any commands from the hierarchical model of commands having a set of characteristics that match the metadata identifier as part of the ephemeral portion of the configuration state.
