Route notification method and electronic device

The method and equipment facilitate BIER route notification across autonomous systems by collecting and updating BFR IDs, enabling effective multicast packet forwarding through enhanced BIER information exchange.

JP7539502B2Active Publication Date: 2024-08-23NEW H3C TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022579785
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-25
Publication Date
2024-08-23
Estimated Expiration
2041-06-25

AI Technical Summary

Technical Problem

Existing technologies face challenges in exchanging Bit Index Explicit Replication (BIER) route information across autonomous systems (ASes), limiting effective multicast packet forwarding.

Method used

A method and electronic equipment that utilize a route advertisement mechanism involving a first ASBR to collect BFR IDs, notify a second ASBR with a BIER Path Attribute and NLRI, and update the Bit Index Forwarding Table (BIFT) to facilitate BIER route notification between ASes.

Benefits of technology

Enables efficient exchange of BIER information and route notification across autonomous systems, enhancing multicast packet forwarding capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007539502000007
    Figure 0007539502000007
  • Figure 0007539502000013
    Figure 0007539502000013
  • Figure 0007539502000009
    Figure 0007539502000009
Patent Text Reader

Abstract

The present invention provides a route notification method and an electronic device. In this embodiment, a first ASBR in a first AS adds NLRI and a newly added BIER Path Attribute (including at least the BFR ID collected by the first ASBR in the first AS) to an UPDATE message and notifies the second AS, thereby realizing the exchange of BIER information between ASes in an autonomous system in a cross-AS BIER scenario and realizing BIER route notification between ASes in a cross-AS BIER scenario.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of network communication technology, and in particular to a route notification method and an electronic device. [Background technology]

[0002] Bit Index Explicit Replication (BIER) is a novel multicast technology. Here, a router supporting BIER function is called a Bit-Forwarding Router (BFR), and a domain consisting of BFRs is abbreviated as a BIER domain. BFRs in a BIER domain are subdivided into Bit-Forwarding Ingress Routers (BFIRs), Bit-Forwarding Egress Routers (BFERs), and intermediate BFRs between BFIRs and BFERs. A multicast packet enters the BIER domain from a BFIR, is transmitted to at least one BFER via intermediate BFRs, and finally leaves the BIER domain from at least one BFER. Summary of the Invention [Problem to be solved by the invention]

[0003] The present invention provides a route advertisement method and electronic device for implementing BIER route advertisement based on IPv6. [Means for solving the problem]

[0004] As an embodiment, the present invention is realized by the following technical solutions.

[0005] 1. A route advertisement method, the method being applied to a first Autonomous System Border Router (ASBR) in a first Autonomous System (AS), the first ASBR connecting to a second ASBR in a second AS; collecting a BFR identifier ID of each bit forwarding router BFR in the first AS; notifying the second ASBR in the second AS of a route update UPDATE message, wherein the UPDATE message is appended with network layer reachability information NLRI and a bit-index explicit replication path attribute BIER Path Attribute, the NLRI including at least a first BFR prefix in a first subdomain SD of the first ASBR, the BIER Path Attribute including at least a collected BFR ID, and the UPDATE message is used by a BFR in the second AS to add a corresponding BIFT forwarding entry to a local bit-index forwarding table BIFT based on the NLRI and the BIER Path Attribute, the BIFT forwarding entry including at least a BFR neighbor and a forwarding bit mask F-BM, the BFR neighbor is used to store the first BFR prefix, and the F-BM represents a BFR ID corresponding to each BFR reachable via the BFR neighbor, where the BFR ID represented by the F-BM includes at least a BFR ID collected by the first ASBR in the first AS.

[0006] A route notification method, applied to a network device in a second autonomous system (AS), wherein the network device is a second autonomous system border router (ASBR), and the second ASBR connects to a first ASBR in a first AS, comprising: receiving a route update UPDATE message notified from a first ASBR in a first AS, the UPDATE message being added with a network layer reachability information (NLRI) and a bit-indexed explicit replication path attribute (BIER Path Attribute), the NLRI including at least a first BFR prefix in a first SD of the first ASBR, and the BIER Path Attribute including at least a BFR ID collected by the first ASBR in the first AS; The method includes a step of notifying the NLRI and BIER Path Attribute in the second AS, so that any one of the BFRs that has received the NLRI and BIER Path Attribute in the second AS adds a corresponding bit index forwarding table BIFT forwarding entry to a local BIFT.

[0007] An electronic device, the electronic device including a processor and a machine-readable storage medium; the machine-readable storage medium stores machine-executable instructions executable by the processor; The processor is used to execute machine-executable instructions to perform the steps of the above-described methods. Effect of the Invention

[0008] According to the above technical solutions of the present invention, in this embodiment, the first ASBR in the first AS adds the NLRI and the newly added BIER Path Attribute (including at least the BFR ID collected by the first ASBR in the first AS) to an UPDATE message and notifies the second AS, thereby realizing the exchange of BIER information within an autonomous system between ASes in a cross-AS BIER scenario, and realizing BIER route notification between ASes in a cross-AS BIER scenario. [Brief description of the drawings]

[0009] [Figure 1] 1 is a flowchart of a method provided in an embodiment of the present invention. [Diagram 2] 1 is a schematic diagram of the format of an EBGP UPDATE message provided in an embodiment of the present invention. [Diagram 3] 1 is a structural schematic diagram of a BIER Path Attribute provided in an embodiment of the present invention. [Figure 4] FIG. 2 is a structural schematic diagram of a first TLV provided in an embodiment of the present invention; [Diagram 5]FIG. 2 is a structural schematic diagram of a second TLV provided in an embodiment of the present invention; [Figure 6] 4 is a flowchart of a second method provided in an embodiment of the present invention. [Figure 7] FIG. 2 is a network diagram of an embodiment of route advertisement by EBGP provided in an embodiment of the present invention. [Figure 8] 11 is a flowchart of a third method provided in an embodiment of the present invention. [Figure 9] 1 is a schematic diagram of an application network provided in an embodiment of the present invention; [Figure 10] 2 is a schematic diagram of packet forwarding provided in an embodiment of the present invention; [Figure 11] FIG. 2 is a structural diagram of a first device provided in an embodiment of the present invention. [Figure 12] FIG. 2 is a structural diagram of a second device provided in an embodiment of the present invention. [Figure 13] FIG. 11 is a structural diagram of a third device provided in an embodiment of the present invention. [Figure 14] FIG. 2 is a hardware structural diagram of the device provided in an embodiment of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, exemplary embodiments will be described in detail, as illustrated in the drawings. Where the following description refers to the drawings, the same reference numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. On the contrary, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.

[0011] The terms used in the present invention are for the purpose of describing particular embodiments only and are not intended to limit the present invention. As used in the present invention and the appended claims, the singular forms "a," "the," and "said" are intended to include the plural forms unless the context clearly dictates otherwise.

[0012] In order to enable those skilled in the art to better understand the technical solutions provided in the embodiments of the present invention, and to make the above-mentioned objectives, features and advantages of the embodiments of the present invention clearer and easier to understand, the following first describes technical terms related to the embodiments of the present invention.

[0013] SD (Sub-Domain) represents a BIER sub-domain. At least one BIER sub-domain exists in one BIER domain. In the BIER domain, a BFR identifier (ID) is placed in a BFR designated in each BIER sub-domain, with the BIER sub-domain as a unit. Here, the designated BFR may be BFIR, BFER, etc., and is not specifically limited in this embodiment.

[0014] BFR-Prefix is ​​used to represent BFR, and in the same SD, different BFRs are represented by different BFR-Prefixes. In particular, when implemented, the BFR-Prefix of BFR can be represented by one IPv4 address or IPv6 address of BFR, and in this embodiment, IPv6 address is taken as an example.

[0015] The BIER encapsulation type represents the BIER encapsulation type supported by the BFR, such as MPLS type, Ethernet type, IPv6 type (denoted as BIER6).

[0016] BSL (Bit String Length) represents the length of a bit string in BIER encapsulation.

[0017] MAX SI (Set Identifier) ​​represents the maximum number of SI. SI represents the ID of the set to which the bit string in BIER encapsulation belongs. If the range of BFR ID exceeds the range that BSL can represent, it needs to be represented by multiple sets, and each set has a unique ID. For example, if the BFR ID range is 1 to 512 and the BSL is 256, it needs to be represented by two sets, and SI=0 represents 1 to 256, and SI=1 represents 257 to 512.

[0018] Based on the above description of technical terms, the method provided in the embodiment of the present invention is described below.

[0019] Referring to FIG. 1, FIG. 1 is a flow chart of a method provided in an embodiment of the present invention. The method is applied to a cross-Autonomous System (AS) BIER scenario. Each AS in the cross-AS BIER scenario deploys a BIER (an AS where a BIER is deployed is denoted as AS BIER). As an embodiment, the method can be applied to a first AS Border Router (ASBR) in a first AS in the cross-AS BIER scenario. In this embodiment, the first ASBR connects to a second ASBR in a second AS. Note that the first AS, the first ASBR, the second AS, and the second ASBR are named for ease of description, and are not intended to be limiting.

[0020] As shown in FIG. 1, the flow may include the following steps:

[0021] In step 101, the first ASBR collects the BFR IDs of each BFR in the first AS.

[0022] As one example, the BFR IDs of each BFR in the first AS collected by the first ASBR may include BFR IDs of BFRs deployed as BFIRs in the first AS and BFR IDs of BFRs deployed as BFERs in the first AS.

[0023] Optionally, the first ASBR's locally running IGP (Interior Gateway Protocol) protocol module or BIER route management module can collect the BFR ID of each BFR in this AS through the IGP protocol. After performing this step 101, the first ASBR can collect the BFR ID of each BFR in the first AS, such as the BFR ID of the BFR deployed as a BFIR in the first AS and the BFR ID of the BFR deployed as a BFER, from the locally running IGP protocol module or BIER route management module.

[0024] In step 102, the first ASBR notifies a second ASBR in the second AS of a route update (UPDATE) message, in which an NLRI and a BIER Path Attribute are added to the UPDATE message, the NLRI including at least the first BFR prefix in the first SD of the first ASBR, and the BIER Path Attribute including at least the collected BFR ID.

[0025] As described in step 102 above, the first ASBR notifies the network reachability information corresponding to the first BFR prefix in the first SD of the first ASBR by an UPDATE message. Optionally, the UPDATE message in this embodiment can be obtained by extending the External Border Gateway Protocol (EBGP), and specifically, an EBGP UPDATE message of a route attribute (Path Attribute) can be obtained by extending. Here, the newly extended Path Attribute is the above-mentioned Bit Index Explicit Replication Path Attribute (BIER Path Attribute). In this embodiment, the BIER Path Attribute can be considered as a Path Attribute newly added to the EBGP UPDATE message, and the specific position in the EBGP UPDATE message is not limited. Figure 2 lists the existing formats of the EBGP UPDATE message, and the BIER Path Attribute in this embodiment may be one Path Attribute newly added to the Path Attributes shown in Figure 2. In this embodiment, the BIER Path Attribute can adopt a TLV (Type-Length-Value) format, which will be listed and described below, but the description will be omitted here. Note that the above-mentioned first SD is named for ease of description, and can broadly refer to any one of the SDs in which the first ASBR is currently located. The first BFR prefix is ​​used to uniquely represent the first ASBR, and may be an IPv6 address or an IPv4 address, and is not specifically limited in this embodiment.

[0026] In addition to the newly added BIER Path Attribute, the UPDATE message includes Network Layer Reachability Information (NLRI) as described in step 102. In one embodiment, the NLRI includes at least a first BFR prefix and a length of the first BFR prefix. For example, the NLRI includes 2001:2:3F::1 / 128.

[0027] As described in step 102 above, the first ASBR notifies the second ASBR in the second AS of the UPDATE message, and when the second ASBR receives the UPDATE message, it continues to notify the NLRI and BIER Path Attribute added to the UPDATE message in the second AS, and thus the BFR in the second AS receives the NLRI and BIER Path Attribute notified from the second ASBR. When the BFR in the second AS receives the NLRI and BIER Path Attribute notified from the second ASBR, it adds a corresponding BIFT forwarding entry to its local BIFT. That is, finally, the UPDATE message causes the BFR in the second AS to add a corresponding BIFT forwarding entry in its local Bit Index Forwarding Table (BIFT) based on the NLRI and BIER Path Attribute added to the UPDATE message.

[0028] In one example, if the second ASBR supports BIER, the second ASBR also adds a corresponding BIFT forwarding entry to its local BIFT. Conversely, if the second ASBR does not support BIER, e.g., it supports BIER in the control plane (software upgrade is relatively easy) but does not support BIER in the forwarding plane (e.g., the hardware does not have the capability to support BIER), the second ASBR does not add a corresponding BIFT forwarding entry to its local BIFT.

[0029] In one example, the BIFT forwarding entry includes at least a forwarding bitmask (F-BM) and a BFR neighbor (BFR-NBR). The BFR neighbor is used to store the first BFR prefix. The F-BM represents a BFR ID corresponding to each BFR reachable through at least the BFR neighbor. The BFR ID represented by the F-BM includes at least the BFR ID collected by the first ASBR in the first AS.

[0030] Optionally, in this embodiment, the BFR ID can be represented by a bit mask of the SI combination corresponding to the BFR ID. For example, in the F-BM, the bit corresponding to the BFR ID corresponding to each BFR reachable via the BFR neighbor is set to a first value, for example, 1, and the remaining bits are set to a second value, for example, 0. In the F-BM, when a bit is set to a first value, for example, 1, it represents that the BFR corresponding to the BFR ID represented by the bit can be reached via the BFR neighbor. When a bit is set to 0, it represents that the BFR corresponding to the BFR ID represented by the bit cannot be reached via the BFR neighbor. Hereinafter, they will be listed and described, but the description thereof will be omitted here.

[0031] As can be seen from the flow shown in Figure 1, this embodiment realizes the exchange of BIER information between ASes in an autonomous system in a cross-AS BIER scenario, and realizes BIER route notification between ASes in a cross-AS BIER scenario.

[0032] Furthermore, based on the above description of the UPDATE message, this embodiment extends the EBGP protocol to newly add a BIER Path Attribute to the EBGP UPDATE message defined by the EBGP protocol, thereby realizing the exchange of BIER information within an autonomous system between ASes in a cross-AS BIER scenario through the existing EBGP protocol, and improving the versatility of application.

[0033] The above BIER Path Attributes are described below.

[0034] As mentioned above, the BIER Path Attribute may be a TLV structure. Figure 3 shows the structure of the BIER Path Attribute. The Type field and the Length field in the BIER Path Attribute can be set according to actual requirements. Preferably, two newly added sub-sub-TLVs, denoted as the 1st TLV and the 2nd TLV, are added to the Sub-TLVs field in the BIER Path Attribute structure shown in Figure 3.

[0035] 1) Regarding the first TLV, In this embodiment, the first TLV is used to add the BFR ID collected by the first ASBR in the first AS. Optionally, as shown in FIG. 4, the first TLV includes at least one field pair. Each field pair includes a BFR ID field and a BFR ID range field having a corresponding relationship. In this embodiment, the first TLV is added with the BFR ID collected by the first ASBR in the first AS through at least one field pair.

[0036] In each field pair, the parameter added to the BFR ID Range field is used to represent a BFR ID segment with consecutive values, and the start BFR ID of the BFR ID segment is added to the BFR ID field. If the first TLV includes two or more field pairs, the start BFR ID added to the BFR ID field in different field pairs is different. For example, if the BFR ID collected by the first ASBR in the first AS is divided into two parts, one part is 1 to 251 and the other part is 260 to 512, the first TLV may include two field pairs, one field pair includes a BFR ID field 1_1 and a BFR ID Range field 1_1, and the other field pair includes a BFR ID field 1_2 and a BFR ID Range field 1_2. The BFR ID field 1_1 is assigned with the start value 1 of the BFR ID segment with consecutive values ​​(i.e., 1 to 251), and the BFR ID Range field 1_1 is assigned with 251, which is used to represent the BFR ID field with consecutive values ​​(i.e., 1 to 251), specifically, it can represent that there are 251 BFR IDs in the BFR ID field with consecutive values ​​(i.e., 1 to 251). The BFR ID field 1_2 is assigned with the start value 260 of the BFR ID segment with consecutive values ​​(i.e., 260 to 512), and the BFR ID Range field 1_2 is assigned with 253, which is used to represent the BFR ID segment with consecutive values ​​(i.e., 260 to 512), specifically, it can represent that there are 253 BFR IDs in the BFR ID segment with consecutive values ​​(i.e., 260 to 512).

[0037] Optionally, as shown in Fig. 4, in this embodiment, the first TLV further includes a Type field and a Length field, where the Type field and the Length field can be set according to the actual situation, for example, the length of the Type field is 2 bytes, and the length of the Length field is 2 bytes, and so on, and are not specifically limited in this embodiment.

[0038] 2) Regarding the second TLV, In this embodiment, the second TLV is used to indicate the BIER encapsulation information supported by the first ASBR. Optionally, as shown in FIG. 5, the second TLV may include at least a Type field, a Length field, and a BIER encapsulation information field. Here, the Type field is used to add the BIER encapsulation type supported by the first ASBR, such as MPLS encapsulation type, BIER based on IPv6 (denoted as BIER6). Optionally, the length of the Type field may be 2 bytes. The Length field can be set according to the actual situation. The Length field is used to indicate the length (e.g., 2 bytes) of the BIER encapsulation information field. The BIER encapsulation information field is used to add the BIER encapsulation information supported by the first ASBR. As an embodiment, the BIER encapsulation information can be used to assist the second ASBR to determine the entry identifier of the BIFT forwarding entry. In one example, the BIER encapsulation information may include at least a MAX SI, a BSL, and a BIFT ID.

[0039] Here, MAX SI represents an SI corresponding to the maximum BFR ID in the first AS in which the first ASBR is located. Optionally, MAX SI may occupy 8 bits.

[0040] BSL represents the length of a bit string in BIER encapsulation supported by the first ASBR. Optionally, BSL may occupy 4 bits.

[0041] BIFT ID represents an identifier of a local BIFT, where the triplet BSL, SD, and SI corresponds to a unique BIFT identifier of the local BIFT.

[0042] Optionally, as one embodiment, the BIER Path Attribute further includes an SD allocation field shown in FIG. 3. Here, the SD allocation field includes SD allocation information. As one embodiment, the SD allocation information includes at least the first SD and the BFR ID of the first ASBR. To facilitate subsequent extension, the BIER Path Attribute may further include a Reserved field, and the description thereof is omitted.

[0043] The above is a list of BIER Path Attributes.

[0044] The flow shown in FIG. 1 above is from the perspective of a first ASBR in a first AS, and the following describes the flow of the method provided in the embodiment of the present invention from the perspective of a second ASBR in a second AS.

[0045] Referring to Figure 6, Figure 6 is a flow chart of a second method provided in an embodiment of the present invention, which is applied to a second ASBR in a second AS, where the second ASBR connects to a first ASBR in the first AS.

[0046] As shown in FIG. 6, the flow may include the following steps:

[0047] In step 601, the second ASBR receives an UPDATE message announced by the first ASBR in the first AS.

[0048] As described above, at least the NLRI and the newly added BIER Path Attribute are added to the UPDATE message, the NLRI includes at least the first BFR prefix in the first SD of the first ASBR, and the BIER Path Attribute includes at least the BFR ID collected by the first ASBR in the first AS. The BFR ID collected by the first ASBR in the first AS is as described above, and the description thereof is omitted here.

[0049] In step 602, the second ASBR advertises the NLRI and BIER Path Attribute in the second AS, so that the BFR receiving the NLRI and BIER Path Attribute in the second AS adds a corresponding BIFT forwarding entry to its local BIFT.

[0050] Optionally, as an embodiment, the second ASBR notifies the above NLRI and BIER Path Attribute in the second AS by extending the IBGP protocol. Specifically, when realized, the IBGP UPDATE message defined by the IBGP protocol is extended to add the above NLRI and BIER Path Attribute to the IBGP UPDATE message, and notifies the designated BFR (peer of the second ASBR), so that the designated BFR in the second AS adds the corresponding BIFT forwarding entry to the local BIFT. Figure 7 shows an enumerated network of an embodiment of IBGP notification. The BIFT forwarding entry will be described later, but its description is omitted here.

[0051] As mentioned above, if the second ASBR supports BIER in the control plane (making software upgrades relatively easy) but does not support BIER in the forwarding plane (e.g., the hardware does not have the capability to support BIER), the second ASBR does not add the corresponding BIFT forwarding entry to its local BIFT.

[0052] This completes the flow shown in FIG.

[0053] As can be seen from the flow shown in Figure 6, in this embodiment, the second ASBR in the second AS notifies prefix route reachability information in the external first AS within the second AS and adds the above-mentioned BIER Path Attribute, thereby realizing the exchange of BIER information within an autonomous system between ASes in a cross-AS BIER scenario, and realizing BIER route notification between ASes in a cross-AS BIER scenario.

[0054] The following describes the flow of the method provided in the embodiment of the present invention from the perspective of any one of the BFRs other than the second ASBR in the second AS.

[0055] Referring to Figure 8, Figure 8 is a flowchart of a third method provided in an embodiment of the present invention. The flow is applied to any one BFR other than the second ASBR in the second AS. As shown in Figure 8, the flow can include the following steps:

[0056] In step 801, upon receiving the notified NLRI and BIER Path Attribute, a corresponding BIFT forwarding entry is added to the local BIFT.

[0057] As an embodiment, the BIFT forwarding entry here includes at least a forwarding bitmask (F-BM) and a BFR neighbor (BFR-NBR), where the BFR neighbor is used to store the first BFR prefix, such as an IPv6 address of the first BFR, and the F-BM represents a BFR ID corresponding to each BFR reachable through at least the BFR neighbor.

[0058] Optionally, the BFR ID represented by the F-BM here includes at least each of the BFR IDs collected by the first ASBR in the first AS. Optionally, in this embodiment, the F-BM can represent the BFR ID with a bit mask of a combination of SI corresponding to the BFR ID and BFR neighbor, and specifically, when realized, for each BFR ID corresponding to a BFR that can be reached via a BFR neighbor, the bit corresponding to the BFR ID in the F-BM is set to a first value (e.g., 1), thereby indicating that the BFR corresponding to the BFR ID represented by the bit can be reached via the BFR neighbor. Meanwhile, for each BFR ID corresponding to a BFR that cannot be reached via a BFR neighbor in the F-BM, the bit corresponding to the BFR ID is set to a second value (e.g., 0), indicating that the BFR corresponding to the BFR ID represented by the bit cannot be reached via the BFR neighbor. Hereinafter, the BIFT forwarding entry will be specifically described, and its description will be omitted here.

[0059] In addition, any one of the BFRs other than the second ASBR in the second AS also notifies the NLRI and BIER Path Attribute in the same manner as the second ASBR notifies the NLRI and BIER Path Attribute.

[0060] In step 802, upon receiving an original multicast packet, forward an IPv6 packet corresponding to the original multicast packet to a target BFR, where the IPv6 packet is obtained by encapsulating BIER information and IPv6 information onto the original multicast packet, the BIER information includes at least a bit string Bitstring, a bit corresponding to a BFR ID of the target BFR in the Bitstring is set to a first value to represent forwarding, a BFR ID represented by the F-BM includes a BFR ID of the target BFR, and an outer layer IPv6 destination address in the IPv6 information is a first BFR prefix.

[0061] In one example, when any one of the BFRs receives an original multicast packet, it queries the multicast forwarding table to obtain a Bitstring corresponding to the BFER of the original multicast packet, and then encapsulates the BIER information (including at least the Bitstring) and IPv6 information into the original multicast packet.

[0062] Based on the description of step 802, when a network device in the second AS that does not support BIER receives an IPv6 packet, it can match the IPv6 packet's destination IP address (i.e., the first BFR prefix) with a normal IPv6 forwarding entry and unicast forward the packet according to IPv6. For example, when the second ASBR receives an IPv6 packet, it can unicast forward the IPv6 packet based on the outer layer IPv6 destination address in the IPv6 packet.

[0063] As can be seen from the above description, in this embodiment, it is only necessary for the equipment connected to the multicast source in the second AS to support BIER, and the fact that other network equipment in the second AS does not support BIER will not affect multicast packet forwarding, thereby facilitating a smooth upgrade of the network.

[0064] This completes the flow shown in FIG.

[0065] As can be seen from the flow shown in Figure 8, in this embodiment, any one of the BFRs other than the second ASBR in the second AS can realize packet forwarding between ASes in a cross-AS BIER scenario by learning the prefix route reachability information (to which the above-mentioned BIER Path Attribute is added) in the first AS notified from the second ASBR.

[0066] The above flow will be described below using a specific example.

[0067] Referring to FIG. 9, FIG. 9 is a schematic diagram of an application network provided in an embodiment of the present invention. In the embodiment shown in FIG. 9, take the example of ASBR902_1 in AS902 informing AS901 of the BIER route of AS902: In FIG. 9, the configuration of ASBR902_1 is as shown in Table 1.

[0068] [Table 1]

[0069] 9, ASBR 902_1 can collect the BFR ID of each BFR in AS 902 from the IGP protocol module or BIER route management module that runs locally. In one embodiment, the BFR IDs collected by ASBR 902_1 include 1 to 251 and 260 to 512.

[0070] Based on the above-mentioned BIER Path Attribute, as one embodiment, ASBR902_1 can notify AS901_1 of unicast prefix route reachability information corresponding to ASBR902_1's BFR-Prefix via an EBGP UPDATE message, and the following Table 2 lists the BIER Path Attribute and NLRI added to the EBGP UPDATE message.

[0071] [Table 2]

[0072] The ASBR 902_1 notifies the EBGP UPDATE message to the AS 901. At least the BIER Path Attribute and NLRI shown in Table 2 are added to the EBGP UPDATE message.

[0073] The ASBR 901_1 in the AS 901 receives the EBGP UPDATE message. The BIER Path Attribute and NLRI shown in Table 2 are added to the EBGP UPDATE message.

[0074] The ASBR 901_1 notifies the designated BFR (R901_2 for example) in the AS 901 of the BIER Path Attribute and NLRI shown in Table 2, which are added to the EBGP UPDATE message, via the IBGP UPDATE message. For details, please refer to the embodiment shown in FIG. 7 above.

[0075] R901_2 receives the IBGP UPDATE message and adds the corresponding BIFT forwarding entry to the local BIFT. As an embodiment, taking R901_2 as an example, R901_2 adds the corresponding BIFT forwarding entry to the local BIFT as follows: A BIFT forwarding entry is added to the BIFT having a BIFT ID of 2000, and a BIFT forwarding entry is added to the BIFT having a BIFT ID of 2001.

[0076] Here, if the BSL, SD, and SI in the BIER Path Attribute are 3, 1, and 0, respectively, the corresponding BIFT ID is determined to be 2000, and if the BSL, SD, and SI in the BIER Path Attribute are 3, 1, and 1, respectively, the corresponding BIFT ID is determined to be 2001.

[0077] Table 3 lists and indicates the addition of the corresponding BIFT forwarding entries to the local BIFT.

[0078] [Table 3]

[0079] In Table 3, when the corresponding bit on the F-BM is set to 1, it indicates that the BFR corresponding to the BFR ID represented by the bit can be reached via the BFR-NBR in Table 3. Conversely, when the corresponding bit on the F-BM is set to 0, it indicates that the BFR corresponding to the BFR ID represented by the bit cannot be reached via the BFR-NBR in Table 3. Taking the F-BM: "0000011111...111111 (251 1's)" shown in the second row of Table 3 as an example, the first "1" on the right indicates that the BFR ID is 0, and the second "1" on the right indicates that the BFR ID is 1, and so on.

[0080] In this embodiment, it is not required that all devices in AS901 support BIER. In order to fulfill the multicast packet forwarding, as one embodiment, this embodiment requires that only devices connected to the multicast source in AS901, such as R901_2, support BIER, and devices not connected to the multicast source in AS901, such as R901_3, do not support BIER.

[0081] Based on the BIFT forwarding entries established above, the packet forwarding process is described below.

[0082] Still taking R901_2 as an example, R901_2 receives the original multicast packet forwarded from all or some of the BFERs in AS902 (for convenience of explanation, we take forwarding to all BFERs in AS902 as an example). For convenience of explanation, this is denoted as packet a1 here.

[0083] R901_2 encapsulates BIER information (referred to as BIER encapsulation header) in packet a1, sets the bit corresponding to the BFR ID of each BFER in the above AS902 in the bit string (BitString) in the BIER information to 1, and encapsulates IPv6 information (referred to as IPv6 header) in the outer layer of packet a1. Here, the outer layer IPv6 destination address in the IPv6 information is set to the BFR-NBR address in the above BIFT forwarding entry (i.e., the BFR-Prefix address 2001:2:3F::1 of ASBR902_1). For convenience of explanation, the packet a1 in which the BIER information and IPv6 information are encapsulated can be referred to as packet a2. The structure of packet a2 is as shown in FIG. 10.

[0084] R901_2 forwards packet a2 in AS901.

[0085] ASBR 901_1 receives packet a2, matches it with a normal IPv6 forwarding entry based on the outer layer IPv6 destination address of packet a2, and forwards it by unicast according to IPv6.

[0086] When ASBR902_1 receives packet a2, if the outer layer IPv6 destination address of packet a2 is the BFR-Prefix address of this device, it will forward the packet according to the BIER. The BIER forwarding here means forwarding according to the existing BIER forwarding rules. Finally, the forwarding of the multicast packet is realized.

[0087] From the above forwarding process, this embodiment can require that an equipment connected to a multicast source in AS901, such as R901_2, supports BIER, but an equipment not connected to a multicast source in AS901, such as R901_3, does not support BIER.

[0088] This completes the description of the embodiment.

[0089] Referring to Fig. 11, Fig. 11 is a structural diagram of a first device provided in an embodiment of the present invention. The device corresponds to the flow shown in Fig. 1 above. The device is applied to a first ASBR in a first AS, and the first ASBR connects to a second ASBR in a second AS. As shown in Fig. 11, the device: a collection unit for collecting BFR identifiers ID of each BFR in the first AS; a first notification unit for notifying a route update UPDATE message to a second ASBR in a second AS, wherein the UPDATE message is attached with an NLRI and a BIER Path Attribute, the NLRI including at least a first BFR prefix in a first SD of the first ASBR, the BIER Path Attribute including at least a collected BFR ID, the UPDATE message is used by a BFR in the second AS to add a corresponding BIFT forwarding entry to the BIFT based on the NLRI and the BIER Path Attribute, the BIFT forwarding entry including at least a BFR neighbor and an F-BM, the BFR neighbor is used to store the first BFR prefix, and the F-BM represents a BFR ID corresponding to each BFR reachable via the BFR neighbor, where the BFR ID represented by the F-BM includes at least a BFR ID collected by the first ASBR in the first AS.

[0090] In one embodiment, the step of collecting the BFR IDs of each BFR in the first AS includes the following steps: Collecting BFR IDs of BFRs deployed as bit forwarding ingress routers BFIR in the first AS; collecting BFR IDs of BFRs deployed as bit forwarding egress routers BFER in the first AS;

[0091] In one embodiment, a first TLV is added to the BIER Path Attribute, and the first TLV includes at least one field pair, and each field pair includes a BFR ID field and a BFR ID Range field having a corresponding relationship; The first TLV includes at least one field pair that includes a BFR ID collected by the first ASBR within the first AS, where in each field pair, a parameter included in the BFR ID Range field is used to represent a BFR ID segment with consecutive values, and the BFR ID field includes the starting BFR ID of the BFR ID segment.

[0092] In one embodiment, a second TLV is further added to the BIER Path Attribute, A type field in the second TLV is used to add a BIER encapsulation type supported by the first ASBR; The second TLV further includes a BIER encapsulation information field, which is used to add BIER encapsulation information supported by the first ASBR, and the BIER encapsulation information is used to determine an entry identifier of the BIFT forwarding entry.

[0093] In one embodiment, the BIER encapsulation information described above includes at least MAX SI, which represents the SI corresponding to the maximum BFR ID in the first AS; BSL, which represents the length of the bit string in the supported BIER encapsulation; and a BIFT ID representing an identifier of the local BIFT.

[0094] As one embodiment, the above-mentioned BIER Path Attribute further includes an SD allocation field, and the SD allocation field includes SD allocation information. Here, the SD configuration information includes at least the first SD and the BFR ID of the first ASBR.

[0095] This completes the description of the structure of the device shown in FIG.

[0096] Referring to Figure 12, Figure 12 is a structural diagram of a second device provided in an embodiment of the present invention. The device is applied to a network device in a second AS. Here, when the network device is a second ASBR and the second ASBR connects to a first ASBR in a first AS, the device corresponds to the flow shown in Figure 6 above: A receiving unit for receiving a route update UPDATE message notified by a first ASBR in a first AS, the UPDATE message being added with a NLRI and a BIER Path Attribute, the NLRI including at least a first BFR prefix in a first SD of a first ASBR, and the BIER Path Attribute including at least a BFR ID collected by the first ASBR in the first AS; and a second notification unit for notifying the NLRI and BIER Path Attribute in the second AS, so that any one of the BFRs that receives the NLRI and BIER Path Attribute in the second AS adds a corresponding BIFT forwarding entry to a local bit index forwarding table BIFT.

[0097] As an embodiment, optionally, the apparatus may further include a forwarding unit.

[0098] When a forwarding unit receives an IPv6 packet corresponding to an original multicast packet, the forwarding unit is used to unicast forward the IPv6 packet according to an outer-layer IPv6 destination address in the IPv6 packet, and the IPv6 packet is obtained by encapsulating BIER information and IPv6 information on the original multicast packet, where the forwarding unit matches the outer-layer IPv6 destination address of the IPv6 packet with a normal IPv6 forwarding entry, and unicast forwards according to IPv6.

[0099] This completes the apparatus shown in FIG.

[0100] Referring to Figure 13, Figure 13 is a structural diagram of a third device provided in an embodiment of the present invention. The device is applied to a network device in a second AS. Here, if the network device is any one of the BFRs other than the second ASBR, the device corresponds to the flow shown in Figure 8 above. As shown in Figure 13, the device: an entry unit for adding a corresponding BIFT forwarding entry to a local bit index forwarding table BIFT when the second ASBR receives the NLRI and BIER Path Attribute notified in the second AS, the BIFT forwarding entry including at least a BFR neighbor and a forwarding bit mask F-BM, the BFR neighbor is used to store the first BFR prefix, the F-BM represents a BFR ID corresponding to each BFR reachable via the BFR neighbor, where each BFR reachable via the BFR neighbor is an entry unit including a BFR corresponding to a BFR ID collected by the first ASBR in the first AS; a forwarding unit for, upon receiving an original multicast packet, forwarding an IPv6 packet corresponding to the original multicast packet to a target BFR, the IPv6 packet being obtained by encapsulating BIER information and IPv6 information onto the original multicast packet, the BIER information including at least a bit string Bitstring, a bit in Bitstring corresponding to a BFR ID of a target BFR being set to a first value to represent forwarding, a BFR ID represented by the F-BM including a BFR ID of the target BFR, and an outer layer IPv6 destination address in the IPv6 information being the first BFR prefix.

[0101] This completes the structural diagram of the device shown in FIG.

[0102] The embodiment of the present invention further provides a hardware structure of the above-mentioned device. Refer to Fig. 14, which is a structural diagram of an electronic device provided in the embodiment of the present invention. As shown in Fig. 14, the hardware structure can include a processor and a machine-readable storage medium, the machine-readable storage medium stores machine-executable instructions executable by the processor, and the processor is used to execute the machine-executable instructions to implement the method disclosed in the above embodiment of the present invention.

[0103] Based on a similar idea to the above method, an embodiment of the present invention further provides a machine-readable storage medium, which stores some computer instructions, and when the computer instructions are executed by a processor, the method disclosed in the above embodiment of the present invention is implemented.

[0104] Exemplarily, the machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, etc. For example, the machine-readable storage medium may be a RAM (random access memory), a volatile memory, a non-volatile memory, a flash memory, a storage drive (e.g., a hard disk drive), a solid-state drive, any type of storage disk (e.g., an optical disk, a DVD, etc.), or a similar storage medium, or a combination thereof.

[0105] The system, device, module or unit described in the above embodiments may be specifically realized by a computer chip or entity, or may be realized by a product having some function. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a mobile phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an e-mail sending and receiving device, a game machine, a tablet PC, a wearable device, or any combination of these devices.

[0106] For convenience of description, the above-mentioned device will be described as being divided into units according to their functions. Of course, when implementing the present invention, the functions of each unit can be realized by the same or multiple pieces of software and / or hardware.

[0107] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, a system, or a computer program product. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied in one or more computer usable storage mediums (including, but not limited to, magnetic disk storage devices, CD-ROMs, optical storage devices, etc.) having computer usable program code therein.

[0108] The present invention will be described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be realized by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device to generate a machine, and the instructions executed by the processor of the general purpose computer or other programmable data processing device generate an apparatus for implementing the function specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams.

[0109] Furthermore, these computer program instructions may be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specified manner, where the instructions stored in the computer-readable memory generate an article of manufacture that includes an instruction apparatus that implements the functions specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams.

[0110] These computer program instructions may be loaded into a computer or other programmable data processing device and a series of operational steps executed on the computer or other programmable device to generate a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams.

[0111] The above description is merely an embodiment of the present invention, and is not intended to limit the present invention. Various modifications and variations of the present invention are possible for those skilled in the art. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included within the scope of the claims of the present invention.

[0112] The above description is merely a preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included within the protection scope of the present invention.

Claims

1. 1. A route advertisement method, the method being applied to a first Autonomous System Border Router (ASBR) in a first Autonomous System (AS), the first ASBR connecting to a second ASBR in a second AS; Collecting BFR identifiers ID of each bit forwarding router BFR in the first AS, comprising: collecting BFR IDs of BFRs deployed as bit forwarding ingress routers BFIR in the first AS; and collecting BFR IDs of BFRs deployed as bit forwarding egress routers BFER in the first AS; notifying the second ASBR in the second AS of a route update UPDATE message, wherein the UPDATE message is added with a network layer reachability information NLRI and a bit-index explicit replication path attribute BIER Path Attribute, the NLRI including at least a first BFR prefix in a first sub-domain SD of the first ASBR, the BIER Path Attribute including at least BFR IDs of BFIRs and BFERs collected in the first AS, and the UPDATE message is sent to the second ASBR in the second AS by the BFR in the second AS after the NLRI and the BIER Path Attribute are added. a NLRI and a BIER Path Attribute are used to add a corresponding bit index forwarding table BIFT forwarding entry to a local BIFT based on the NLRI and the BIFT forwarding entry includes at least a BFR neighbor and a forwarding bit mask F-BM, the BFR neighbor is used to store the first BFR prefix, and the F-BM represents a BFR ID corresponding to each BFR reachable through the BFR neighbor, where the BFR ID represented by the F-BM includes at least a BFR ID collected by the first AS in the first AS, and the NLRI and the BIER Path Attribute are notified in a second AS, so that any one BFR that receives the NLRI and the BIER Path Attribute in the second AS adds a corresponding bit index forwarding table BIFT forwarding entry to a local BIFT; when an IPv6 packet corresponding to the original multicast packet is received by a second ASBR in a second AS that does not support BIER, the IPv6 packet is unicast forwarded based on an outer-layer IPv6 destination address in the IPv6 packet, the IPv6 packet being obtained by encapsulating BIER information and IPv6 information on the original multicast packet. A route notification method comprising:

2. A first TLV is added to the BIER Path Attribute, the first TLV includes at least one field pair, and each field pair includes a BFR ID field and a BFR ID range field having a corresponding relationship; In the first TLV, at least one field pair is added with a BFR ID collected by the first ASBR in the first AS, where in each field pair, a parameter added to a BFR ID Range field is used to represent a BFR ID segment with a consecutive value, and a starting BFR ID of the BFR ID segment is added to the BFR ID field.

2. The method of claim 1 .

3. A second TLV is further added to the BIER Path Attribute, A type field in the second TLV is used to add a BIER encapsulation type supported by the first ASBR; The second TLV further includes a BIER encapsulation information field, the BIER encapsulation information field is used to add BIER encapsulation information supported by the first ASBR, and the BIER encapsulation information is used to determine an entry identifier of the BIFT forwarding entry.

2. The method of claim 1 .

4. An SD location field is further added to the BIER Path Attribute, and SD location information is added to the SD location field, Here, the SD allocation information includes at least the first SD and a BFR ID of the first ASBR. The method according to any one of claims 1 to 3.

5. A route advertisement method, the method being applied to a network device in a second autonomous system (AS), If the network device is a second Autonomous System Border Router (ASBR), and the second ASBR connects to a first ASBR in a first AS, receiving a route update UPDATE message notified from a first ASBR in a first AS, the UPDATE message being added with a network layer reachability information (NLRI) and a bit-index explicit replication path attribute (BIER Path Attribute), the NLRI including at least a first BFR prefix in a first SD of the first ASBR, the BIER Path Attribute including at least a BFR ID of a BFR deployed as a bit forwarding ingress router (BFIR) in the first AS and a BFR ID of a BFR deployed as a bit forwarding egress router (BFER) in the first AS, collected by the first ASBR in the first AS; By notifying the NLRI and the BIER Path Attribute in a second AS, any one of the BFRs that receives the NLRI and the BIER Path Attribute in the second AS adds a corresponding bit index forwarding table BIFT forwarding entry to a local BIFT; and when a second ASBR that does not support BIER receives an IPv6 packet corresponding to the original multicast packet, unicast forwarding the IPv6 packet based on an outer-layer IPv6 destination address in the IPv6 packet, the IPv6 packet being obtained by encapsulating BIER information and IPv6 information on the original multicast packet. A route notification method comprising:

6. If the network device is any one of the BFRs other than the second ASBR, the method further comprises: Upon receiving the NLRI and BIER Path Attribute notified in the second AS from the second ASBR, adding a corresponding bit index forwarding table BIFT forwarding entry to a local BIFT, the BIFT forwarding entry including at least a BFR neighbor and a forwarding bit mask F-BM, the BFR neighbor is used to store the first BFR prefix, and the F-BM represents a BFR ID corresponding to each BFR reachable via the BFR neighbor, where each BFR reachable by the BFR neighbor includes a BFR corresponding to a BFR ID collected by the first ASBR in the first AS; 6. The method of claim 5 .

7. The method further comprises: Upon receiving an original multicast packet, forwarding an IPv6 packet corresponding to the original multicast packet to a target BFR, the IPv6 packet being obtained by encapsulating BIER information and IPv6 information on the original multicast packet, the BIER information including at least a bit string Bitstring, a bit in Bitstring corresponding to a BFR ID of a target BFR being set to a first value to indicate forwarding, a BFR ID represented by the F-BM including a BFR ID of the target BFR, and an outer layer IPv6 destination address in the IPv6 information being the first BFR prefix; 7. The method of claim 6.

8. An electronic device, the electronic device including a processor and a machine-readable storage medium; the machine-readable storage medium stores machine-executable instructions executable by the processor; The processor is adapted to execute machine-executable instructions to perform the steps of the method of any one of claims 1 to 7.

1. An electronic device comprising:

Citation Information

Patent Citations

  • Multicast forwarding method and device and BFR

    CN109756425A

  • Method for transmitting, receiving, and apparatus for BIER information

    JP2018530268A

  • Multicast data transmission method, related apparatus and system

    WO2019214589A1

  • Method, apparatus and system for establishing bier forwarding table entry

    WO2021063232A1