BIER packet forwarding method, device, apparatus, and storage medium
AssigneeZte Corporation
InventorShaofu Peng
Life of this patent
Estimating the term…
Abstract
A BIER packet forwarding method is applied to a packet sending node and includes: setting node information of a BIER forwarding neighboring node in a BIFT forwarding entry; in a case of determining according to the node information that the BIER forwarding neighboring node has a capability of processing a target packet format, encapsulating a BIER packet according to the target packet format; and sending an encapsulated BIER packet to the BIER forwarding neighboring node.
Claims12
A Bit Indexed Explicit Replication (BIER) packet forwarding method, applied to a packet sending node, comprising:
- setting node information of a BIER forwarding neighboring node in a Bit Index Forwarding Table (BIFT) forwarding entry;
- in a case of determining according to the node information that the BIER forwarding neighboring node has a capability of processing a target packet format, encapsulating a BIER packet according to the target packet format;
- and
- sending an encapsulated BIER packet to the BIER forwarding neighboring node;
- wherein in the case of determining according to the node information that the BIER forwarding neighboring node has the capability of processing the target packet format, encapsulating the BIER packet according to the target packet format comprises:
- in a case where the node information comprises a packet format identifier corresponding to a non-Multiprotocol Label Switching (MPLS) BIER packet, determining that the BIER forwarding neighboring node has the capability of processing the target packet format;
- and
- acquiring a BIER non-MPLS Generic Label (BNMGL) in the node information, and encapsulating the BNMGL and a BIER packet payload in a non-MPLS BIER packet format as an MPLS packet.
A Bit Indexed Explicit Replication (BIER) packet forwarding method, applied to a packet forwarding node, comprising:
- receiving a BIER packet sent by a packet sending node;
- searching for, according to a BIER non-Multiprotocol Label Switching (MPLS) Generic Label (BNMGL) in the BIER packet, a BNMGL incoming label map entry, and in a case of determining according to a search result that the packet forwarding node has a capability of processing a target packet format, parsing the BIER packet to acquire target node information;
- and
- forwarding the BIER packet according to the target node information;
- wherein in the case of determining according to the search result that the packet forwarding node has the capability of processing the target packet format, parsing the BIER packet to acquire the target node information comprises:
- in a case where the BNMGL incoming label map entry is found according to the BNMGL in the BIER packet, determining that the packet forwarding node has the capability of processing the target packet format existing;
- and
- removing the BNMGL in the BIER packet, extracting a BIER packet header in a non-MPLS BIER packet format, acquiring, according to a BIFT identifier in the BIER packet header, <Sub-Domain (SD), BitString Length (BSL), Set Identifier (SI) > corresponding to the BIFT identifier, and parsing a BitString in the BIER packet header according to the <SD, BSL, SI> to acquire the target node information.
A device, comprising:
- at least one processor;
- and
- a memory configured to store at least one program;
- wherein the at least one program, when executed by the at least one processor, causes the at least one processor to implement:
- setting node information of a BIER forwarding neighboring node in a Bit Index Forwarding Table (BIFT) forwarding entry;
- in a case of determining according to the node information that the BIER forwarding neighboring node has a capability of processing a target packet format, encapsulating a BIER packet according to the target packet format;
- and
- sending an encapsulated BIER packet to the BIER forwarding neighboring node;
- wherein in the case of determining according to the node information that the BIER forwarding neighboring node has the capability of processing the target packet format, encapsulating the BIER packet according to the target packet format comprises:
- in a case where the node information comprises a packet format identifier corresponding to a non-Multiprotocol Label Switching (MPLS) BIER packet, determining that the BIER forwarding neighboring node has the capability of processing the target packet format;
- and
- acquiring a BIER non-MPLS Generic Label (BNMGL) in the node information, and encapsulating the BNMGL and a BIER packet payload in a non-MPLS BIER packet format as an MPLS packet.
Dependencies are inferred from the claim text.