# US 2019/0356570 A1 · Dataplane-based seamless bidirectional forwarding detection monitoring for network entities

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

- Number: US 2019/0356570 A1
- Document ID: US20190356570A1
- Status: Published application
- Kind: A1
- Application number: 16/531,201
- Filed: 2019-08-05
- Published: 2019-11-21
- Earliest claimed: 2018-01-12
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Nagendra Kumar Nainar; Carlos M. Pignataro
- Web page: https://patentgrep.com/patent/US20190356570A1

## CPC

- H04L 45/745: Address table lookup; Address filtering
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L 45/72: {Routing based on the source address}
- H04L 45/34: {Source routing}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Dataplane-based Seamless Bidirectional Forwarding Detection (S-BFD) monitoring for network entities is provided. In one embodiment, a method of S-BFD monitoring includes assigning, by a network element, a unique segment identifier (ID) to each entity of a plurality of entities that are monitored by the network element. The method includes receiving an S-BFD control packet at the network element, including a first segment ID associated with a particular entity. The method also includes performing a lookup operation for the first segment ID in stored data of the network element. Based on the lookup operation, when a first action is designated in the stored data for the first segment ID, the method includes returning the S-BFD control packet to its source, and, when a second action is designated in the stored data for the first segment ID, the method includes forwarding the S-BFD control packet to an S-BFD reflector session.

## Claims

### Claim 1

A computer-implemented method comprising:
assigning, by a network element, a unique segment identifier (ID) to each entity of a plurality of entities that are monitored by the network element;
receiving a seamless bidirectional forwarding detection (S-BFD) control packet at the network element, the S-BFD control packet including at least a first segment ID associated with a particular entity of the plurality of entities;
performing a lookup operation for the first segment ID in stored data of the network element; and
handling a forwarding disposition of the S-BFD control packet based on the lookup operation or another condition.

### Claim 2 (depends on 1)

The method of claim 1, wherein handling a forwarding disposition of the S-BFD control packet includes changing an action from a first action to a second action.

### Claim 3 (depends on 2)

The method of claim 2, wherein changing the action from a first action to a second action is based on whether or not the particular entity is functioning normally.

### Claim 4 (depends on 1)

The method of claim 1, wherein handling the forwarding disposition includes:
when a first action is designated in the stored data for the first segment ID, returning the S-BFD control packet to its source; and
when a second action is designated in the stored data for the first segment ID, forwarding the S-BFD control packet to an S-BRFD reflector session.

### Claim 5 (depends on 4)

The method of claim 4, wherein the S-BFD control packet further includes a first discriminator field associated with a first discriminator identifier (ID), a second discriminator field associated with a second discriminator identifier (ID), and a diagnostic field associated with a first diagnostic code.

### Claim 6 (depends on 5)

The method of claim 5, wherein, when the first action is designated, the S-BFD control packet returned to its source includes the same first discriminator ID in the first discriminator field, the same second discriminator ID in the second discriminator field, and the same first diagnostic code in the diagnostic field as the S-BFD packet received by the network element.

### Claim 7 (depends on 5)

The method of claim 5, wherein, when the second action is designated, the method further comprising:
modifying the S-BFD control packet to change the first discriminator field to the second discriminator ID, change the second discriminator field to the first discriminator ID, and change the diagnostic field to a second diagnostic code.

### Claim 8 (depends on 1)

The method claim 1, further comprising:
receiving a plurality of S-BFD control packets at the network element, wherein each S-BFD control packet includes at least an indicated segment ID associated with a particular entity of the plurality of entities;
performing a lookup operation for each indicated segment ID in the stored data of the network element; and
based on the lookup operation,
when a first action is designated in the stored data for a particular indicated segment ID, returning that S-BFD control packet to its source; and
when a second action is designated in the stored data for a particular indicated segment ID, forwarding that S-BFD control packet to an S-BFD reflector session.

### Claim 9

One or more non-transitory computer readable storage media encoded with instructions that, when executed by a processor of a network element, cause the processor to perform operations including:
assigning, by a network element, a unique segment identifier (ID) to each entity of a plurality of entities that are monitored by the network element;
receiving a seamless bidirectional forwarding detection (S-BFD) control packet at the network element, the S-BFD control packet including at least a first segment ID associated with a particular entity of the plurality of entities;
performing a lookup operation for the first segment ID in stored data of the network element; and
handling a forwarding disposition of the S-BFD control packet based on the lookup operation or another condition.

### Claim 10 (depends on 9)

The one or more non-transitory computer readable storage media of claim 9, wherein handling a forwarding disposition of the S-BFD control packet includes changing an action from a first action to a second action.

### Claim 11 (depends on 10)

The one or more non-transitory computer readable storage media of claim 10, wherein changing the action from a first action to a second action is based on whether or not the particular entity is functioning normally.

### Claim 12 (depends on 9)

The one or more non-transitory computer readable storage media of claim 9, wherein handling the forwarding disposition includes:
when a first action is designated in the stored data for the first segment ID, returning the S-BFD control packet to its source; and
when a second action is designated in the stored data for the first segment ID, forwarding the S-BFD control packet to an S-BRFD reflector session.

### Claim 13 (depends on 12)

The one or more non-transitory computer readable storage media of claim 12, wherein the S-BFD control packet further includes a first discriminator field associated with a first discriminator identifier (ID), a second discriminator field associated with a second discriminator identifier (ID), and a diagnostic field associated with a first diagnostic code.

### Claim 14 (depends on 13)

The one or more non-transitory computer readable storage media of claim 13, wherein, when the first action is designated, the instructions cause the processor to perform:
returning the S-BFD control packet to its source, wherein the returned S-BFD control packet includes the same first discriminator ID in the first discriminator field, the same second discriminator ID in the second discriminator field, and the same first diagnostic code in the diagnostic field as the received S-BFD control packet.

### Claim 15 (depends on 13)

The one or more non-transitory computer readable storage media of claim 13, wherein, when the second action is designated, the instructions cause the processor to perform:
modifying the S-BFD control packet to change the first discriminator field to the second discriminator ID, change the second discriminator field to the first discriminator ID, and change the diagnostic field to a second diagnostic code.

### Claim 16 (depends on 9)

The one or more non-transitory computer readable storage media of claim 9, further comprising instructions that cause the processor to perform:
receiving a plurality of S-BFD control packets, wherein each S-BFD control packet includes at least an indicated segment ID associated with a particular entity of the plurality of entities;
performing a lookup operation for each indicated segment ID in the stored data of the network element; and
based on the lookup operation,
when a first action is designated in the stored data for a particular indicated segment ID, returning that S-BFD control packet to its source; and
when a second action is designated in the stored data for a particular indicated segment ID, forwarding that S-BFD control packet to an S-BFD reflector session.

### Claim 17

An apparatus comprising:
a plurality of network ports configured to receive inbound packets and to send outbound packets, the plurality of network ports in communication with a plurality of entities that are monitored by the apparatus;
a memory; and
a processor coupled to the memory and to the plurality of network ports, wherein the processor is configured to:
assign a unique segment identifier (ID) to each entity of a plurality of entities that are monitored;
receive a seamless bidirectional forwarding detection (S-BFD) control packet, the S-BFD control packet including at least a first segment ID associated with a particular entity of the plurality of entities;
perform a lookup operation for the first segment ID in stored data; and
handle a forwarding disposition of the S-BFD control packet based on the lookup operation or another condition.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the processor is configured to handle a forwarding disposition of the S-BFD control packet by changing an action from a first action to a second action.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the processor is configured to handle a forwarding disposition of the S-BFD control packet by changing the action from a first action to a second action based on whether or not the particular entity is functioning normally.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein the processor is configured to handle the forwarding disposition by:
when a first action is designated in the stored data for the first segment ID, returning the S-BFD control packet to its source; and
when a second action is designated in the stored data for the first segment ID, forwarding the S-BFD control packet to an S-BRFD reflector session.
