# US 2020/0287824 A1 · Flexible label value encoding in label switched packet networks

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

- Number: US 2020/0287824 A1
- Document ID: US20200287824A1
- Status: Published application
- Kind: A1
- Application number: 16/469,415
- Filed: 2018-06-14
- Published: 2020-09-10
- Earliest claimed: 2018-06-14
- Assignees: Nokia Solutions and Networks Oy
- Applicants: Nokia Solutions and Networks Oy
- Inventors: Pranjal Dutta
- Web page: https://patentgrep.com/patent/US20200287824A1

## CPC

- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L 45/122: by minimising distances, e.g. by selecting a route with minimum of number of hops
- H04L 45/20: {Hop count for routing purposes, e.g. TTL}
- H04L 45/28: using route fault recovery
- H04L 45/507: {Label distribution}
- H04L 45/64: using an overlay routing layer
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Various example embodiments for supporting packet forwarding in communication networks are described. Various example embodiments for supporting packet forwarding in communication networks may be configured to support packet forwarding in label switched packet networks. Various example embodiments for supporting packet forwarding in label switched packet networks may utilize a variable-sized label value field to encode label values within a header of a label switched packet. Various example embodiments for supporting packet forwarding in label switched packet networks may utilize a variable-sized label value field to encode label values within a label stack in a header of a label switched packet. Various example embodiments for supporting packet forwarding in label switched packet networks may encode a label value within a label stack in a header of a label switched packet using a variable-sized label value field having a size that is based on the label value.

## Claims

### Claim at position 1

1-48. (canceled)

### Claim 49

An apparatus, comprising:
at least one processor; and
at least one memory including program code;
wherein the at least one memory and the program code are configured to, with the at least one processor, cause the apparatus to at least:
handle a label switched packet including a header and a payload, wherein the header includes a label value field encoding a label value, wherein a size of the label value field is based on the label value, wherein the label value is encoded in the label value field using a set of label units, wherein a quantity of label units used to encode the label value in the label value field is based on the label value.

### Claim 50 (depends on 49)

The apparatus of claim 49, wherein the label value is associated with a forwarding context.

### Claim 51 (depends on 49)

The apparatus of claim 49, wherein the size of the label value field is a first size when the label value is within a first range of values, the size of the label value field is a second size when the label value is within a second range of values, or the size of the label value field is a third size when the label value is within a third range of values.

### Claim 52 (depends on 51)

The apparatus of claim 51, wherein the first range of values is 1 to 127, the second range of values is 128 to 16383, and the third range of values is 16384 to 2097151.

### Claim 53 (depends on 49)

The apparatus according to claim 49, wherein the quantity of label units used to encode the label value in the label value field is one label unit when the label value is within a first range of values, two label units when the label value is within a second range of values, or three label units when the label value is within a third range of values.

### Claim 54 (depends on 53)

The apparatus of claim 53, wherein the first range of values is 1 to 127, the second range of values is 128 to 16383, and the third range of values is 16384 to 2097151.

### Claim 55 (depends on 49)

The apparatus of claim 49, wherein each of the label units in the set of label units includes a value field configured to encode at least a portion of the label value and a size indicator field configured to indicate whether the respective label unit is a last label unit in the set of label units.

### Claim 56 (depends on 55)

The apparatus of claim 55, wherein the value field is a 7-bit field and the size indicator field is a 1-bit field.

### Claim 57 (depends on 49)

The apparatus of claim 49, wherein the header includes a common header portion and a label stack, wherein the label value field is included within the label stack.

### Claim 58 (depends on 57)

The apparatus of claim 57, wherein the common header portion includes:
a field configured to indicate a length of the label stack; and
a field configured to indicate whether an additional label is present below the label stack.

### Claim 59 (depends on 49)

The apparatus of claim 49, wherein the header includes a label having a fixed-sized label value field encoding an additional label value.

### Claim 60 (depends on 49)

The apparatus of claim 49, wherein, to handle the label switched packet, the at least one memory and the program code are configured to, with the at least one processor, cause the apparatus to at least:
generate the header including the label value field;
associate the header with the payload to form thereby the label switched packet; and
send the label switched packet toward a network element.

### Claim 61 (depends on 49)

The apparatus of claim 49, wherein, to handle the label switched packet, the at least one memory and the program code are configured to, with the at least one processor, cause the apparatus to at least:
receive the label switched packet;
process the label switched packet based on the header of the label switched packet; and
send the label switched packet toward a network element.

### Claim 62 (depends on 49)

The apparatus of claim 49, wherein, to handle the label switched packet, the at least one memory and the program code are configured to, with the at least one processor, cause the apparatus to at least:
receive the label switched packet;
process the label switched packet based on the header of the label switched packet; and
send the payload of the label switched packet toward a network element.

### Claim 63 (depends on 49)

The apparatus of claim 49, wherein, to handle the label switched packet, the at least one memory and the program code are configured to, with the at least one processor, cause the apparatus to at least:
encode the label value within the label value field or decode the label value from the label value field.

### Claim 64 (depends on 49)

The apparatus of claim 49, wherein the at least one memory and the program code are configured to, with the at least one processor, cause the apparatus to at least:
support advertisement of control plane information configured to support use of variable-sized label value fields.

### Claim 65 (depends on 64)

The apparatus of claim 64, wherein the control plane information includes at least one of a capability of the apparatus to support use of variable-sized label value fields or label information associated with use of variable-sized label value fields.

### Claim 66 (depends on 64)

The apparatus of claim 64, wherein the control plane information is advertised using at least one of a segment routing control plane or a label switching control plane.

### Claim 67

A non-transitory computer-readable storage medium storing instructions configured to cause an apparatus to at least:
handle a label switched packet including a header and a payload, wherein the header includes a label value field encoding a label value, wherein a size of the label value field is based on the label value, wherein the label value is encoded in the label value field using a set of label units, wherein a quantity of label units used to encode the label value in the label value field is based on the label value.

### Claim 68

A method, comprising:
handling a label switched packet including a header and a payload, wherein the header includes a label value field encoding a label value, wherein a size of the label value field is based on the label value, wherein the label value is encoded in the label value field using a set of label units, wherein a quantity of label units used to encode the label value in the label value field is based on the label value.
