-
公开(公告)号:US20240243989A1
公开(公告)日:2024-07-18
申请号:US18001746
申请日:2021-06-23
Applicant: New H3C Technologies Co., Ltd.
Inventor: Xiangqing CHANG , Mengxiao CHEN , Zhaoyan LEI , Tao LIN , Hao LI
Abstract: A method and apparatus for generating a forwarding path, a network device and a storage medium, related to the technical field of network communications, are provided. The method comprises: obtaining topology information of first network nodes supporting a target path calculation algorithm; performing, using the target path calculation algorithm, path calculation based on the topology information of the first network nodes to generate a first forwarding path; obtaining a second forwarding path from the source node to the tail node when there is a path interruption in the first forwarding path; determining, from the second forwarding path, first network nodes communicated with second network nodes to obtain node pairs; updating a next hop device of the first node in each node pair on the second forwarding path as the second node in the node pair to obtain a forwarding path communicated from the source node to the tail node, the second node is located behind the first node in each node pair in a direction of the second forwarding path. A communicated forwarding path can still be generated in case that logical topology changes.
-
公开(公告)号:US20240106740A1
公开(公告)日:2024-03-28
申请号:US18001943
申请日:2021-06-29
Applicant: New H3C Technologies Co., Ltd.
Inventor: Xiangqing CHANG , Zhaoyan LEI , Tao LIN , Juan QIN
CPC classification number: H04L45/34 , H04L63/08 , H04L63/123 , H04L69/22
Abstract: Disclosed is a method and an apparatus for packet forwarding, which relate to the network technology field and are applied to a network node. The method comprises: obtaining an SRV6 packet; if a function field in a target SID contains a security authentication instruction, obtaining a target argument based on an operation indicated by the security authentication instruction, and performing security authentication processing on the SRv6 packet based on the target argument; wherein, the target SID is an SID, corresponding to the network node, in a segment list carried by a header of the SRv6 packet, and the target argument is: an argument for the security authentication instruction recorded in the header; and forwarding the processed SRv6 packet to a next-hop device. By applying the solution for packet forwarding according to examples of the present disclosure, the security in forwarding the SRv6 packet along the SRv6 forwarding path can be improved.
-