# US 2021/0083973 A1 · Message forwarding method and apparatus, and node

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

- Number: US 2021/0083973 A1
- Document ID: US20210083973A1
- Status: Published application
- Kind: A1
- Application number: 17/106,066
- Filed: 2020-11-27
- Published: 2021-03-18
- Earliest claimed: 2018-05-30
- Assignees: Zte Corporation
- Applicants: Zte Corporation
- Inventors: Shaofu PENG; Feicai JIN
- Web page: https://patentgrep.com/patent/US20210083973A1

## CPC

- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4625: {Single bridge functionality, e.g. connection of two networks over a single bridge}
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 45/02: Topology update or discovery
- H04L 45/32: {Flooding (denial of service attacks H04L63/1458)}
- H04L 45/34: {Source routing}
- H04L 45/74: Address processing for routing
- H04L 45/741: Routing in networks with a plurality of addressing schemes, e.g. with both IPv4 and IPv6
- H04L 49/25: Routing or path finding in a switch fabric
- H04L 61/2592: using tunnelling or encapsulation
- H04L 61/50: Address allocation
- H04L 69/22: Parsing or analysis of headers
- H04L 2101/659: Internet protocol version 6 [IPv6] addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed are a message forwarding method and apparatus, and a node. The method comprises: receiving an Internet Protocol Version 6 (IPv6) message encapsulated by a Segment Routing Header (SRH), by a node with a IPv6 Segment Routing (SRv6) forwarding capacity, wherein the SRH includes a segment list; and determining, by the node, that it is a node corresponding to a penultimate segment in the segment list, and popping the SRH by the node before forwarding the IPv6 message.

## Claims

### Claim 1

A message forwarding method, comprising:
receiving an Internet Protocol Version 6 (IPv6) message encapsulated by a Segment Routing Header (SRH), by a node with a IPv6 Segment Routing (SRv6) forwarding capacity, wherein the SRH includes a segment list; and
determining, by the node, that the node is a node corresponding to a penultimate segment in the segment list, and popping the SRH by the node before forwarding the IPv6 message.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
configuring a switch with SRv6 Penultimate Segment Pop of SRH (SRv6 PSP) capability on the node with SRv6 forwarding capacity.

### Claim 3 (depends on 2)

The method of claim 2, before popping the SRH, the method further comprising:
determining, by the node, that the switch with SRv6 PSP capability is turned on.

### Claim 4 (depends on 1)

The method of claim 1, before the node determining that it is the node corresponding to the penultimate segment in the segment list, the method further comprising:
determining, by the node, that an IPv6 destination address (DA) in the IPv6 message is an address of the node itself.

### Claim 5 (depends on 1)

The method of claim 1, wherein the node determining that it is a node corresponding to the penultimate segment in the segment list comprises:
if a value of a Segment Left field in the SRH is 1, determining that it is a node corresponding to the penultimate segment in the segment list.

### Claim 6 (depends on 5)

The method of claim 5, after the node determining that it is a node corresponding to the penultimate segment in the segment list, the method further comprising:
decreasing the value of the Segment Left field by 1, updating an IPv6 destination address DA with an IPv6 address corresponding to a next segment in the segment list, and forwarding the IPv6 message according to the updated IPv6 DA.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
if a value of a Segment Left field in the SRH is 0, determining that the node is a node corresponding to a last segment in the segment list, popping the SRH, and processing loads encapsulated by the SRH.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
if a value of a Segment Left field in the SRH is greater than 1, determining that the node is a node corresponding to a segment in the segment list other than the penultimate segment and the last segment, decreasing the value of the Segment Left field by 1, updating an IPv6 destination address DA with an IPv6 address corresponding to a next segment in the segment list, and forwarding the IPv6 message according to the updated IPv6 DA.

### Claim 9

A node, comprising:
a processor;
a memory configured to store instructions executable by the processor; and
a transmission apparatus, configured to perform an information transmitting/receiving communication with control of the processor;
wherein the processor when executing the instructions is configured to perform a set of operations including:
controlling the transmission apparatus to receive an Internet Protocol Version 6 (IPv6) message encapsulated by a Segment Routing Header (SRH), wherein the SRH includes a segment list; and
determining that the node is a node corresponding to the penultimate segment in the segment list, and popping the SRH before controlling the transmission apparatus to forward the IPv6 message.

### Claim 10 (depends on 9)

The node of claim 9, wherein, the set of operations further include:
configuring a switch with SRv6 Penultimate Segment Pop of SRH (SRv6 PSP) capability on the node, wherein the node has an IPv6 Segment Routing (SRv6) forwarding capacity.

### Claim 11 (depends on 10)

The node of claim 10, wherein, the processor is further configured to perform the following operations before popping the SRH:
determining that the switch with SRv6 PSP capability is turned on.

### Claim 12 (depends on 9)

The node of claim 9, wherein, the set of operations further include, before determining that the node is a node corresponding to the penultimate segment in the segment list:
determining that an IPv6 destination address (DA) in the IPv6 message is an address of the node itself.

### Claim 13 (depends on 9)

The node of claim 9, wherein determining that the node is a node corresponding to the penultimate segment in the segment list comprises:
if a value of a Segment Left field in the SRH is 1, determining that it is a node corresponding to the penultimate segment in the segment list.

### Claim 14 (depends on 13)

The node of claim 13, wherein the set of operations further include, after determining that the node is a node corresponding to the penultimate segment in the segment list:
decreasing the value of the Segment Left field by 1, updating an IPv6 destination address DA with an IPv6 address corresponding to a next segment in the segment list, and forwarding the IPv6 message according to the updated IPv6 DA.

### Claim 15 (depends on 9)

The node of claim 9, wherein, the set of operations further include:
if a value of a Segment Left field in the SRH is 0, determining that the node is a node corresponding to a last segment in the segment list, popping the SRH, and processing loads encapsulated by the SRH.

### Claim 16 (depends on 9)

The node of claim 9, wherein, the processor is further configured to perform the following operations:
if a value of a Segment Left field in the SRH is greater than 1, determining that the node is a node corresponding to a segment in the segment list other than the penultimate segment and the last segment, decreasing the value of the Segment Left field by 1, updating an IPv6 destination address DA with an IPv6 address corresponding to a next segment in the segment list, and forwarding the IPv6 message according to the updated IPv6 DA.

### Claim 17

A storage medium storing a computer program, wherein the computer program is configured to execute a message forwarding method when running, the method comprising:
receiving an Internet Protocol Version 6 (IPv6) message encapsulated by a Segment Routing Header (SRH), by a node with a IPv6 Segment Routing (SRv6) forwarding capacity, wherein the SRH includes a segment list; and
determining, by the node, that it is a node corresponding to a penultimate segment in the segment list, and popping the SRH by the node before forwarding the IPv6 message.
