# US 2021/0084009 A1 · Route generation method and device

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

- Number: US 2021/0084009 A1
- Document ID: US20210084009A1
- Status: Published application
- Kind: A1
- Application number: 17/105,434
- Filed: 2020-11-25
- Published: 2021-03-18
- Earliest claimed: 2018-05-25
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co.,Ltd.
- Inventors: Zongpeng Du; Guoyi Chen; Jie Dong
- Web page: https://patentgrep.com/patent/US20210084009A1

## CPC

- H04L 45/02: Topology update or discovery
- H04L 12/4625: {Single bridge functionality, e.g. connection of two networks over a single bridge}
- H04L 45/74: Address processing for routing
- H04L 2101/686: using dual-stack hosts, e.g. in Internet protocol version 4 [IPv4]/Internet protocol version 6 [IPv6] networks
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application provides a route generation method, applied to an SRv6 network and including: receiving, by a first network device, a first notification packet from a second network device; where the first notification packet includes a network slice identifier, the first notification packet indicates an association relationship between information of the network slice identifier and an IPv6 address prefix of the second network device, and the network slice identifier is used to identify one network slice; and generating, by the first network device, a route forwarding entry for the IPv6 address prefix of the second network device based on an association relationship between the network slice identifier and the IPv6 address prefix of the second network device. This helps implement a network slice and resource isolation in the SRv6.

## Claims

### Claim 1

A route generation method by a first network device in an Internet protocol version 6 (IPv6)-based segment routing over an IPv6 data plane (SRv6) network, wherein the method comprises:
receiving a first notification packet from a second network device, that includes a network slice identifier that identifies one network slice and indicates an association relationship between information of the network slice identifier and an IPv6 address prefix of the second network device; and
generating a route forwarding entry for the IPv6 address prefix of the second network device based on an association relationship between the network slice identifier and the IPv6 address prefix of the second network device.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the method further comprises:
obtaining the network slice identifier and an IPv6 address prefix of the first network device, and generating a second notification packet; and
sending the second notification packet to the second network device, wherein the second notification packet comprises the network slice identifier, and the second notification packet indicates an association relationship between the information of the network slice identifier and the IPv6 address prefix of the first network device.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the first notification packet is an intermediate system to intermediate system (ISIS) protocol link state protocol data unit (LSPDU) message, the LSPDU message comprises the network slice identifier, and the LSPDU message indicates the association relationship between the information of the network slice identifier and the IPv6 address prefix of the second network device.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the LSPDU message comprises an IPv6 reachable type-length-value (TLV) field, the IPv6 reachable TLV field comprises a prefix field and a sub-type-length-value (sub-TLV) field, the prefix field is used to carry the IPv6 address prefix of the second network device, and the sub-TLV field is used to carry the network slice identifier.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the first notification packet is an interior gateway protocol (IGP) notification message, the notification message comprises an SRv6 segment identifier (SID), the SID comprises a locator part, the locator part comprises the network slice identifier, and the locator part indicates the association relationship between the information of the network slice identifier and the IPv6 address prefix of the second network device.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the locator part comprises the network slice identifier and the IPv6 address prefix of the second network device.

### Claim 7

A notification packet sending method by a second network device in an Internet protocol version 6 (IPv6) based segment routing over an IPv6 data plane (SRv6) network, wherein the method comprises:
obtaining a network slice identifier and an IPv6 address prefix of the second network device, and generating a first notification packet; and
sending the first notification packet to a first network device, wherein the first notification packet comprises the network slice identifier, the first notification packet indicates an association relationship between information of the network slice identifier and the IPv6 address prefix of the second network device, and the network slice identifier is used to identify one network slice.

### Claim 8

A first network device, comprises:
a transceiver, configured to receive a first notification packet from a second network device, wherein the first notification packet comprises a network slice identifier, the first notification packet indicates an association relationship between information of the network slice identifier and an Internet protocol version 6 (IPv6) address prefix of the second network device, and the network slice identifier is used to identify one network slice; and
a processor, configured to generate a route forwarding entry for the IPv6 address prefix of the second network device based on an association relationship between the network slice identifier and the IPv6 address prefix of the second network device.

### Claim 9 (depends on 8)

The network device according to claim 8, wherein
the processor is further configured to: obtain the network slice identifier and an IPv6 address prefix of the first network device, and generate a second notification packet; and
the transceiver is further configured to send the second notification packet to the second network device, wherein the second notification packet comprises the network slice identifier, and the second notification packet indicates an association relationship between the information of the network slice identifier and the IPv6 address prefix of the first network device.

### Claim 10 (depends on 8)

The network device according to claim 8, wherein the first notification packet is an intermediate system to intermediate system (ISIS) protocol link state protocol data unit (LSPDU) message, the LSPDU message comprises the network slice identifier, and the LSPDU message indicates the association relationship between the information of the network slice identifier and the IPv6 address prefix of the second network device.

### Claim 11 (depends on 10)

The network device according to claim 10, wherein the LSPDU message comprises an IPv6 reachable type-length-value (TLV) field, the IPv6 reachable TLV field comprises a prefix field and a sub-type-length-value (sub-TLV) field, the prefix field is used to carry the IPv6 address prefix of the second network device, and the sub-TLV field is used to carry the network slice identifier.

### Claim 12 (depends on 8)

The network device according to claim 8, wherein the first notification packet is an interior gateway protocol (IGP) notification message, the notification message comprises an segment routing over an IPv6 data plane (SRv6) segment identifier (SID), the SID comprises a locator part, the locator part comprises the network slice identifier, and the locator part indicates the association relationship between the information of the network slice identifier and the IPv6 address prefix of the second network device.

### Claim 13 (depends on 12)

The network device according to claim 12, wherein the locator part comprises the network slice identifier and the IPv6 address prefix of the second network device.

### Claim 14

A second, comprises:
a processor, configured to: obtain a network slice identifier and an IPv6 address prefix of the second network device, and generate a first notification packet; and
a transceiver, configured to send the first notification packet to a first network device, wherein the first notification packet comprises the network slice identifier, the first notification packet indicates an association relationship between information of the network slice identifier and the IPv6 address prefix of the second network device, and the network slice identifier is used to identify one network slice.
