-
公开(公告)号:US20210377173A1
公开(公告)日:2021-12-02
申请号:US17386954
申请日:2021-07-28
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yongkang ZHANG , Shixing LIU , Xinhai XU
IPC: H04L12/741 , H04L12/721 , H04L12/717 , H04L12/751
Abstract: A data forwarding method and a related apparatus. The method includes: a head node obtains to-be-forwarded data; obtains a first segment identifier (SID) list corresponding to the to-be-forwarded data, where the first SID list is generated based on SIDs of a part of nodes in a target forwarding path; encapsulates, in front of the to-be-forwarded data, a packet header including the first SID list, to obtain a to-be-forwarded packet; and sends the to-be-forwarded packet based on the first SID list, where the target forwarding path includes M nodes, the first SID list is generated based on first N nodes in the M nodes, the first SID list is replaced with a second SID list at an intermediate node, and the second SID list is generated based on an Xth node to a Yth node in the M nodes.
-
2.
公开(公告)号:US20210320863A1
公开(公告)日:2021-10-14
申请号:US17358220
申请日:2021-06-25
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yinben XIA , Shixing LIU
IPC: H04L12/717 , H04L12/741 , H04L12/733 , H04L12/721 , H04L29/12
Abstract: Embodiments of this application disclose a packet processing method, apparatus, and device, and a packet forwarding method, apparatus, and device, to improve packet forwarding efficiency, save storage space of a network device, and expand a network scale. The packet processing method in the embodiments of this application includes: obtaining a packet including a destination address; obtaining outbound interface information of a network device on a forwarding path based on the destination address of the packet, where the forwarding path is a path for forwarding the packet from a source device to a destination device corresponding to the destination address; and encapsulating a packet header for the packet, where the packet header includes the outbound interface information of the network device that forwards the packet on the forwarding path.
-